More pacman options

This commit is contained in:
lhark 2021-08-27 20:18:24 +02:00
parent f2e0d8dd93
commit ace145a64d

4
how_to
View file

@ -118,7 +118,9 @@ pacman :
-Sc Clean packages cache
-Rns <> Remove program, its unused dependencies, and config files
-Qi <> Package information
-Fo <file> Which package the file belongs to
-Ql <> List files owned by package
-Qo <file> Which package the file belongs to
-Qs <> Search install packages
Recover installed packages from /var/log/pacman.log
(awk '$3 ~ /installed/{print $4}' /var/log/pacman.log | sort | uniq; sed -En 's@.*/home/lhark/aur/(.*)/.*@\1@p' /var/log/pacman.log) | sort | uniq -u > package-list