608 B
608 B
Checking and cleaning packages and package cache in Parabola GNUlinux
Removing unused packages by name
Let's say you want to delete the following packages:
- zim
- mpv
- smplayer
pacman -Rs zim mpv smplayer
List all installed packages
List and redirect the output to the file "pkglist.txt"
pacman -Qqe > pkglist.txt
List all packages with size
LC_ALL=C pacman -Qi | awk '/^Name/{name=$3} /^Installed Size/{print $4$5, name}' | sort -h