Difference between revisions of "System Maintenance"
Package Cache to include Pamac
imported>Cscs (Pacman Cache Maintenance) |
imported>Cscs (Package Cache to include Pamac) |
||
Line 65: | Line 65: | ||
You can also use Pacman to remove orphans as described in [[Pacman_Overview#Viewing_and_Removing_Orphans|this guide]] | You can also use Pacman to remove orphans as described in [[Pacman_Overview#Viewing_and_Removing_Orphans|this guide]] | ||
== | ==Package Cache== | ||
By default pacman | By default both pamac and pacman keep a cache of downloaded packages on the system. This can be helpful if you need to copy or downgrade a package.<br /> | ||
But the cache can grow to include dozens of each package resulting in gigabytes of space. | But the cache can grow to include dozens of each package resulting in gigabytes of space. | ||
To remove all but the last 3 versions of a package in the cache: | To remove all but the last 3 versions of a package in the cache using paccache or pamac: | ||
paccache -rvk3 | paccache -rvk3 | ||
pamac clean --keep 3 | |||
==Pacnew and Pacsave files== | ==Pacnew and Pacsave files== |