pkgcacheclean is an application to clean the pacman package cache on Arch Linux.
$ pkgcacheclean [options] [preserve_number]
For installed packages, preserve_number
is the number of files (versions) per package to be preserved on the pacman cache. For uninstalled packages all files (versions) are deleted. The default number is 2.
Use the --help
switch for a list of options, or see the manpage.
-
Runtime requirements:
- glibc
- pacman (libalpm)
-
Build requirements:
- a working C compiler
- make
- the runtime requirements
Building is done through make. A simple installation procedure would be:
$ make
$ sudo make install
The provided Makefile supports the common DESTDIR
, PREFIX
, BINDIR
, and MANDIR
variables. For more details see the INSTALL file.
On Arch Linux you can easly install it with makepkg.
pkgcacheclean is currently maintained by Daniel Bermond.
The application was originally designed by Yungu Zhu (Auguste Pop).
-
The original (and old) Arch Linux forum topic posted by Auguste can be seen here. Please do not reply to this thread since it is very old.
GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
For details see the file COPYING or visit: http://www.gnu.org/licenses/