pacman -Qu
output, but more customizable. Inspired by VerbosePkgLists
, yaourt -Qu
, and pacaur -Qu
.
Can sort, group, highlights explicitly installed packages, query AUR database...
Uses checkupdates
safe temporary database by default.
See pacpend -h
to see all the options.
Usage with checkupdates
for safe update checking. (so better used in an alias or script.)
-
Check updates:
$> checkupdates > /dev/null && pacpend
-
Check and download only updates as user:
- Setup once as root to give "download rights"
(should be mostly safe for a personal computer: pacman checksums/verfies packages before install)
$> sudo chmod a+w /var/cache/pacman/pkg
- Now, as a user you can safely check and download updates:
$> checkupdates > /dev/null; pacpend; \ fakeroot -- pacman --noconfirm -Suwb "${TMPDIR:-/tmp}/checkup-db-${USER}/"
- Setup once as root to give "download rights"
(should be mostly safe for a personal computer: pacman checksums/verfies packages before install)
-
Globally change pacpend default in your
.bashrc
/.zshrc
/...:export PACPEND='-g explicit -s name,vdiff'
-
pacpend -g none -s name,vdiff
no groups, sort by version difference/increment: -
pacpend -g explicit -s name,sizediff
group by explicitly installed or not, sort by installed size difference/increment:
- archlinux
- python3
- pyalpm: Libalpm (pacman) bindings for Python 3