I recently installed about 20 different icon and theme packages from Arch repository. After testing them I decided to remove most of them. However, it took me at least 15 minutes to find the exact spelling of the packages I installed and where I got them from. Something that would take me less than a minute on any other OS now became a major pain. Is there an easier way to uninstall packages in Arch Linux? Or a GUI alternative? Especially when you don't remember the package name or how you installed it.
Yes.
Linux has a lot of options, for Arch you are using pacman; (the following code is an example only)
pacman -Rs '.*icon.*'
pacman -Rs $(history | grep icon | perl -pe 's/.* //g')
pacman -Qs '.*icon.*'
will list installed packages with icon in the namepacman -Qo path/to/file
will tell you what package a file (like a menu item belongs to)If a good installer or package manager was not used one can't expect the system to offer an uninstall option.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments