29 Oct
2006
29 Oct
'06
10:21
On Sunday 29 October 2006 11:09, Istvan Gabor wrote:
Hello all:
I've installed openoffice 2.0.4 from the openoffice site. Now I have several packages called openoffice.org-xxxxx-2.0.4- 5. How could I remove all these packages using "rpm -e" on the command line in one command? I don't want to run "rpm -e" individually for every package.
First, test with -q to make sure you only match the packages you want to uninstall, with rpm -qa openoffice.org-\*-2.0.4-5 or something. Modify the expression until you see all the packages, and only the packages, that you want to uninstall. Once it's correct, you do rpm -e $(rpm -qa openoffice.org-\*-2.0.4-5) or whatever you found was the correct expression