Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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 can I check that how many applications are installed on RHEL5. Like in windows, we have add/Remove programs, do we have something like that in Linux as well ?
And how can I uninstall unwanted applications after searching them?
It should be as rpms most of the time since you are talking about RHEL5.
Do an rpm -qa to see all the packages that are installed
And rpm -e <packacgename> to delete
Thanks for the help..I tried that and it gave a very long list of packages. But I can't see few softwares those I have installed through the installers few days back.
Is there any way that I can customise this listing of applications, say with recently installed applications, or say with 3rd party softwares...etc ...
A suggestion since you said its a few specific software you are searching for:
club grep along with the earlier command if you know the software you are searchin for:
rpm -qa | grep perl
Hi uks,
Thanks for that extra effort for me...
I tried to get one such installed application, but unable to get that. this is what I tried :
[saji@anthurium ~]$ rpm -qa | grep GeneSpringGX10
[saji@anthurium ~]$
Then I tried the same as root as well :
[saji@anthurium /]$ rpm -qa | grep GeneSpringGX10
[saji@anthurium /]$
Could you please suggest something, as I know that I am doing something wrong here....
If there are a lot of files that fly by your eyes, pipe it to less and press the spacebar to scroll through it:
[saji@anthurium ~]$ rpm -qa | grep pring | less
(I removed the capital letters and chose the most unique string of letters. Sometimes things will install in lowercase letters.)
rpm will only list the items installed as .rpm packages. If you compiled the program from source, you'll have to find where it is installed. try this:
1.) login as root ([saji@anthurium ~]$ su - )
2.) update the location database ([saji@anthurium ~]$ updatedb)
3.) locate the file ([saji@anthurium ~]$ locate pring | less)
here is another way, if you installed it with yum:
[saji@anthurium ~]$yum list installed | less
if it's listed after the yum command, you'll have to remove it using "yum remove <package name>"
If there are a lot of files that fly by your eyes, pipe it to less and press the spacebar to scroll through it:
[saji@anthurium ~]$ rpm -qa | grep pring | less
(I removed the capital letters and chose the most unique string of letters. Sometimes things will install in lowercase letters.)
rpm will only list the items installed as .rpm packages. If you compiled the program from source, you'll have to find where it is installed. try this:
1.) login as root ([saji@anthurium ~]$ su - )
2.) update the location database ([saji@anthurium ~]$ updatedb)
3.) locate the file ([saji@anthurium ~]$ locate pring | less)
here is another way, if you installed it with yum:
[saji@anthurium ~]$yum list installed | less
if it's listed after the yum command, you'll have to remove it using "yum remove <package name>"
Hi David,
Thanks for the information..It is really a great help..
[saji@anthurium ~]$ rpm -qa | grep pring didn't worked for me..
I tried updating database and locating pring with less option and got hell lot of files..Now, I will try to gather the required information from this..it seems that is not installed through rpm or Yum..
Is there any way that we can check whether application is installed through rpm..or Yum..or from source installers ??
Yum is just a front end for rpm, it adds dependency resolution. Anything installed with yum will appear in the rpm database. If you compiled from source without building an rpm(and installing said rpm) it will not show up in the rpm database. This makes it very difficult to find and can make it very difficult to remove (cleanly). While it is a PITA I would suggest always building an rpm (and installing it) rather than installing straight from source, this of course assumes a pre-built rpm is not available.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.