LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-16-2008, 08:44 AM   #1
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Rep: Reputation: 41
Question To check installed applications ?


Hi All,

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?

Thank You all in advance...

Kapil Bajpai
 
Old 12-16-2008, 08:59 AM   #2
uks
Member
 
Registered: Jul 2007
Posts: 72

Rep: Reputation: 16
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

--Ukesh Upendran

Last edited by uks; 02-28-2010 at 05:44 AM.
 
Old 12-16-2008, 09:15 AM   #3
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Original Poster
Rep: Reputation: 41
Question

Hi UKS,

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 ...

Thank You again,
Kapil.
 
Old 12-16-2008, 01:07 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Making a list with install date, the newest at line 1 :
( rpm packages only )

'rpm -qa -last > last-packages.txt'

Alfabetic 'rpm -qa -last | sort > last-packages-sort.txt'
....
 
Old 12-16-2008, 01:22 PM   #5
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Original Poster
Rep: Reputation: 41
Thumbs up

Hi there,

Thank you for the reply...I tried and I think now it is manageable.

thank you again.
 
Old 12-17-2008, 04:06 AM   #6
uks
Member
 
Registered: Jul 2007
Posts: 72

Rep: Reputation: 16
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
 
Old 12-17-2008, 09:20 AM   #7
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Original Poster
Rep: Reputation: 41
Question

Quote:
Originally Posted by uks View Post
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....

thank You,
Kapil.
 
Old 12-17-2008, 10:06 AM   #8
David_g17
LQ Newbie
 
Registered: Nov 2003
Posts: 29

Rep: Reputation: 15
try this:
[saji@anthurium ~]$ rpm -qa | grep pring

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>"

Last edited by David_g17; 12-17-2008 at 10:13 AM.
 
Old 12-17-2008, 11:41 AM   #9
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Original Poster
Rep: Reputation: 41
Question

Quote:
Originally Posted by David_g17 View Post
try this:
[saji@anthurium ~]$ rpm -qa | grep pring

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 ??

Thank you,
Kapil.
 
Old 12-17-2008, 12:42 PM   #10
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 317
Blog Entries: 1

Rep: Reputation: 35
you can also use
system-config-packages
 
Old 12-18-2008, 11:49 AM   #11
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by hasanatizaz View Post
you can also use
system-config-packages
Hi Hasan,

system-config-packages gives "unknown eror" box in rhel5 environment.
Do you have any other option to check this?

Thank You
 
Old 12-18-2008, 01:58 PM   #12
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
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.
 
Old 12-19-2008, 01:54 AM   #13
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 317
Blog Entries: 1

Rep: Reputation: 35
by default in rhel5 its installed.
to verify go to applications and look for Add/Remove Software.
 
  


Reply

Tags
addremove, programs



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 to check memory usage on running process/applications rickylim Linux - General 17 05-08-2013 09:09 PM
How to check uptime of all applications running in solris server rajaniyer123 Solaris / OpenSolaris 1 10-12-2007 11:37 PM
Where are the installed applications? shadow_rr SUSE / openSUSE 1 11-24-2006 01:30 PM
List of installed applications kumarnarain Linux - Software 2 08-14-2006 10:40 AM
how can I check wich applications are allready installed ? djemmers Linux - Newbie 1 10-18-2005 03:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:42 PM.

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