- Clean package cache: $ sudo pacman -Sc
2.Remove unused packages: $ sudo pacman -Rns $(pacman -Qdtq)
3.Fully remove a Package with unrequire dependencys $ sudo pacman -Rns PAK_NAME
- get list of package with description
for package in $(pacman -Qetq); do
description=$(expac -S '%d' $package)
echo "$package: $description"
done > explicitly_installed_packages_with_descriptions.txt
-
get pack with dependencys (as tree) $ for package in $(pacman -Qetq); do pactree $package; done
-
for check package and dependenci status of a package:
pacman -Qi PAC_NAME
- List of installed package sorted:
grep "installed" /var/log/pacman.log | awk '{print $1, $2, $4}' | grep -Ff <(pacman -Qqe) | sort