LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-30-2003, 12:09 PM   #1
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Rep: Reputation: 32
Question remove programs under RH7


Probably a simple question...

How do I go about removing programs etc from a RH7 installation. I know how to remove RPM files, using the RPM manager, which is fine, but if for example, I wish to remove other stuff.

Thanks
 
Old 01-30-2003, 12:12 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
everything is installed from rpm files on redhat. you jsut want to find what package it is in (rpm -qf /the/file) what are these "other" things? you just want to delete files? "rm"
 
Old 01-30-2003, 12:48 PM   #3
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Original Poster
Rep: Reputation: 32
Unhappy example...

Ok, I installed Mozilla, which I'm not too keen on and would like to remove. I did not install this using an RPM but rather a makefile or similar.

I also have a few other things that I installed, like Yahoo IM, Unreal Tournament, again both of these were not installed using the RPM method.
 
Old 01-30-2003, 12:49 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ok, so you go into the source directory that you compiled it in and run "make uninstall" if that doesn't work you have to manually delete the files.
 
Old 01-30-2003, 12:51 PM   #5
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Original Poster
Rep: Reputation: 32
If I install some applications to see if I like them, like StarOffice, possible a couple of other browsers, then I need to know how to remove them properly.

thanks...
 
Old 01-30-2003, 12:53 PM   #6
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I'm sorry plisken. I would really like to help you but I won't have anything to do with uninstalling Mozilla. What don't you like about it? I think its a great browser!
 
Old 01-30-2003, 12:59 PM   #7
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Original Poster
Rep: Reputation: 32
OK, right, could not think of any other applications at that time, and used it as an example...

If you know what i mean....

Truth is that my Linux machine is connected to an old/small monitor and everything looks pretty crap anyway.

I am trying to move more and more towards Linux, installing more and more applications is the only way I can do this, but need to know how to completely remove them if they don't turn out to be suitable.
 
Old 01-30-2003, 01:02 PM   #8
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Original Poster
Rep: Reputation: 32
regarding manually removing files...

Is there not a system wide registry or similar, like that of Win*

If not then, why do a "make uninstall"?

It's not only software, I'm concernded about here, another example being that I no longer require the USB ports and want them removed (not physically), how would I stop the USB files/drivers being loaded and indeed remove them from the drive?
 
Old 01-30-2003, 01:06 PM   #9
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Well, as acid_kewpie said, uninstalling rpm's is a lot cleaner then un-installing source. If you need to install something try and use it in rpm so that if you have to unintall it is much better. Example:

Say you want to uninstall the wine rpm package(I chose this because I think this package stinks)

First find out the package name by doing

rpm -qa | grep wine

You'll probably get output like this:

wine-20020605-2
wine-devel-20020605-2

So to uninstall wine-20020605-02 you would use the -e option to ERASE the rpm package

rpm -e wine-20020605-2

As long as other packages don't have dependincies on the package you are trying to uninstall everything will go smoothly.
 
Old 01-30-2003, 01:12 PM   #10
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Original Poster
Rep: Reputation: 32
I know I can treat RPM's in this way and it is clear from what I have seen in this forum and by your posts that this is the proper and best way to do it, but if the program was not initially installed in RPM form, as is the case with most of the things I have downloaded and installed.
 
Old 01-30-2003, 01:14 PM   #11
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
make uninstall or delete the files manually as our linux god acid_kewpie said. Its a pain in the arse but thats just the way it is.
 
Old 01-30-2003, 01:20 PM   #12
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Original Poster
Rep: Reputation: 32
Talking

Sounds good to me, so simply removing the complete folder and any sub folders will do it?

I was just worried that there may have been some form of registry or other issues that I had to concern myself with...

Thanks for all the replies...
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to remove compiled programs? piggysmile Linux - Software 2 03-22-2005 05:25 AM
how do i remove programs? Lleb_KCir Linux - Software 12 05-27-2004 06:18 AM
Programs in RH7.2 no longer in RH8 jkpalmer52 Linux - Newbie 10 11-14-2003 10:42 AM
Remove Programs RedHatMN Linux - Newbie 1 11-30-2001 10:02 AM
Remove Programs RedHatMN Linux - Software 2 11-30-2001 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:36 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
Open Source Consulting | Domain Registration