LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-18-2009, 01:42 PM   #1
abti
LQ Newbie
 
Registered: Sep 2008
Location: Ohio
Distribution: RHEL6&7 (work) Fedora&Ubuntu(home)
Posts: 25
Blog Entries: 1

Rep: Reputation: 16
Uninstall Open Office 2.2 Suite from RHEL 4


How do I uninstall Open Office 2.2 Suite from RHEL 4 in one swipe? I know that I can remove each rpm individuall, but is there a better way? I want to accomplish this via command line because I would like to write a script to remove it from 400+ RHEL 4 systems.
 
Old 02-18-2009, 04:35 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,383
Blog Entries: 55

Rep: Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558
Quote:
Originally Posted by abti View Post
How do I uninstall Open Office 2.2 Suite from RHEL 4 in one swipe? I know that I can remove each rpm individuall, but is there a better way?
Even with yum doing 'yum erase ooobasis3.0-base' doesn't result in a complete uninstallation of components. Unfortunately OOo isn't in a group of it's own, nor is there one single OOo package I know that would trigger removing all components. For example for OOo-3 packages (ooobasis3.0-.*-3.0.0-9358.i586.rpm) you could try and resort to something like 'LIST=$(grep -i ooo /var/log/rpmpkgs); LIST=${LIST//.i586.rpm/}; rpm -e $LIST' ?
 
Old 02-19-2009, 06:20 AM   #3
abti
LQ Newbie
 
Registered: Sep 2008
Location: Ohio
Distribution: RHEL6&7 (work) Fedora&Ubuntu(home)
Posts: 25
Blog Entries: 1

Original Poster
Rep: Reputation: 16
I didn't think that yum is part of RHEL 4. I did a 'rpm -qa |grep -i office' and pulled up what I think are all the rpms. Could I write a script that performs rpm -e openoffice.org-* or will it croak? I'm fairly new to Linux and I don't know how to uninstall it the cleanest way with the least administrative effort.
 
Old 06-22-2009, 08:11 AM   #4
abti
LQ Newbie
 
Registered: Sep 2008
Location: Ohio
Distribution: RHEL6&7 (work) Fedora&Ubuntu(home)
Posts: 25
Blog Entries: 1

Original Poster
Rep: Reputation: 16
Talking Possible success??!!

Maybe it's too early for celebration, but I successfully* removed the OOo 2 rpms by choosing rpm -eg {list of all OOo rpms}. It removed all of them w/o any problems**. I then installed all of the OOo 3.0.1 rpms by untaring the tar ball and running rpm -ivhg *. This too worked surprisingly easily.

If I do encounter any further issues that I encounter, I'll post it here. Thanks again for your help!



*successful - meaning I have removed the rpms that are required for OOo 2 to run. My success dance may be short lived, but celebrated nonetheless.

**problems - Problems or issues may occur at a later time; I have tested for roughly three weeks and no foreseen issues.
 
Old 06-22-2009, 08:25 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,383
Blog Entries: 55

Rep: Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558
Good to see it worked. And thanks for posting your feedback.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How would I remove the Open Office suite? jacatone Linux - Software 1 08-07-2008 02:13 PM
How to upgrade RHEL 4 WS Open Office to 2.0 sfvg Red Hat 1 12-19-2005 06:50 AM
Microsoft Office documents support (what office suite is better?) whiteunicorn Linux - Enterprise 1 12-08-2004 02:30 AM
which office suite is best compatible with MS Office? weiweif Linux - Software 10 10-05-2004 10:29 PM
Is there an Office Suite for Linux that has a Network Button in the Open/Save Windows michaelh Linux - Software 1 10-29-2002 12:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration