How should I maintain OpenSuse Leap? OpenSuse is new for me

Hi,

Sorry for my dumb question.

I am new to OpenSuse, I am far away to be a Linux expert and I don’t intend to be. I am using my machines like every people do: browsing, watching movies, a bit of programming., etc. How should I maintain my installation? I am patching and updating my system once per week. Is this enough? Should I do more than this? What should I do?
In Debian, beside updating, I was clearing the package cache:
$ sudo apt clean
And purged the old kernels when new ones were installed.
I am using the classic ext4 partitions format as I have no knowledge about btrfs.

Once a week seems perfectly reasonable to me.

zypper clean
zypper up
1 Like

I didn’t know that is a “clean” option also in OpenSuse.
I followed this material:

https://en.opensuse.org/SDB:Zypper_usage

And I didn’t found there. I see is cleaning:
/var/cache/zypp/packages/ directory.

Is it safe to remove packages given by?
$ zypper packages --unneeded

Thank you!

Repos are individually configurable via individual .repo files in /etc/zypp/repos.d/ whether to keep installed rpms in the cache. Set to not keep, as soon as a package finishes being installed, its rpm is removed from cache.

You could take a look at, letting openSUSE to automatically patch and update your system: <https://doc.opensuse.org/documentation/leap/startup/html/book-startup/cha-onlineupdate-you.html#sec-onlineupdate-you-automatically>

Yes, I think I can do this setup being on Leap. Is safe enough to allow automatic updates.
Thank you!

As I see the option is also present in Yast. It doesn’t keep downloaded packages. Even so, I found about 200 MB in cache.Bur zypper clean does the job :).
Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.