Is it needed to do anything else besides "sudo pacman -Syu" on a regular basis for your system to remain healthy?

Hello!

Is it needed to do anything else besides “sudo pacman -Syu” on a regular basis for your system to remain healthy? Perhaps there are some other commands I should run or need to install some apps for keeping the system working?

Thank you in advance :slight_smile:

You should read this:

https://wiki.archlinux.org/title/System_maintenance

  • Yay if you have installed AUR packages.
  • paccache to keep the cache manageable sudo paccache -rk3 will leave the 3 most recent versions of packages in your cache.
  • Backups. Can never have too many of them.
  • localepurge to remove unwanted languages (surprisingly large amount of disk space freed up)

That is off the top of my head, if I think of anything else…

1 Like

Hey. Thank you! Your post was very helpful.

I have a few AUR packages installed. What should I do with yay? That’s the only part of your post that confuses me a bit :slight_smile:

yay <press enter> 

that is all you need, does everything inc pacman repos.

Also - off top of head - so check:

sudo paccache -ruk0

Gets rid of all packages that are no longer installed, stuff installed, then uninstalled leaves packages in the cache, which can build up.

Edit paccache commands are lower case r not R

In addition to the great advice above, I’d use command

eos-update --yay

instead of plain

yay

because eos-update can handle some problematic cases that plain yay does not. Otherwise they do about the same thing.

2 Likes