Arch is a rolling release system and has rapid package turnover, so users have to take some time to do system maintenance.
Check that Pipewire is installed correctly:
pactl info | grep PipeBefore updating a system that has not been updated for more than a month, first of all update keyring
pacman -Sy archlinux-keyringPacman 6.0 introduced the option to download packages in parallel. ParallelDownloads under [options] needs to be set to a positive integer in /etc/pacman.conf to use this feature (e.g., 5). Packages will otherwise be downloaded sequentially if this option is unset.
Visit the Mirrors article for steps on taking full advantage of using the fastest and most up to date mirrors of the official repositories. As explained in the article, a particularly good advice is to routinely check the Mirror Status page for a list of mirrors that have been recently synced. This can be automated with Reflector.
You can use /usr/bin/rankmirrors from pacman-contrib
rankmirrors -n 0 ~/.config/pacman/ru-secure.mirrorlist | sudo tee /etc/pacman.d/mirrorlistPacman stores its downloaded packages in /var/cache/pacman/pkg/ and does not remove the old or uninstalled versions automatically.
This has some advantages:
- It allows to downgrade a package without the need to retrieve the previous version through other means, such as the Arch Linux Archive.
- A package that has been uninstalled can easily be reinstalled directly from the cache directory, not requiring a new download from the repository.
However, it is necessary to deliberately clean up the cache periodically to prevent the directory to grow indefinitely in size.
The paccache(8) script, provided within the pacman-contrib package, deletes all cached versions of installed and uninstalled packages, except for the most recent three, by default:
paccache -rEnable and start paccache.timer to discard unused packages weekly.
pacman -Sy pacman-contrib
systemctl enable --now paccache.timerTo remove all the cached packages that are not currently installed, and the unused sync database, execute:
pacman -ScTo remove all files from the cache, use the clean switch twice, this is the most aggressive approach and will leave nothing in the cache directory:
pacman -Sccpacman -Qdtq | pacman -Rns -A firewall can provide an extra layer of protection on top of the Linux networking stack. It is highly recommended to set up some form of firewall.
See Category:Firewalls for available guides.