Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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"
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.
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!
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.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.