LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 08-21-2002, 12:05 AM   #1
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 468

Rep: Reputation: 30
Unhappy How to find if a program is installed or not?


I have difficulties sometimes figuring out if a program/product/
package is installed or not. Is there a standard way of finding
that out? I know in M$ Windows you can alwys look for some
.exe to run. But not sure in Linux. Only thing that I have been
is doing so far is to find out what all are the executable files
using 'ls -l'. Often times it gets very annoying.
Some of the products I am keen to see if they are installed are
are:
Apache
Python
Perl
Wine
Oss drivers
etc.

Any thoughts on this?
 
Old 08-21-2002, 12:35 AM   #2
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
whereis programname
or
locate programname
or
ls /usr/bin/*programname*
or (only for rpm-installed programs)
rpm -qa | grep programname

Last edited by rverlander; 08-22-2002 at 10:27 PM.
 
Old 08-21-2002, 11:58 AM   #3
ryandelany
Member
 
Registered: Dec 2001
Location: Orange County, CA
Distribution: RedHat 7.2, 7.3, 8.0
Posts: 66

Rep: Reputation: 15
You need to run updatedb before you use the locate command if you haven't done so already. The slocate.db is built by running updatedb, and this is what locate uses to find things.

rpm -qa | grep <programname> is usually the best way to find things that are already installed...assuming, like rverlander said, it was installed using rpm.

Ryan
 
Old 08-22-2002, 12:35 AM   #4
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 468

Original Poster
Rep: Reputation: 30
So, if I installed a program using .tar.gz, will it not be list as installed
in rpm?
If not, is there a way to connect rpm database with other installa-
tions?
And, most importantly, how DO I UNINSTALL PROGRAMS?
 
Old 08-22-2002, 05:25 PM   #5
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
1. Nope, it only will if u make your own RPM
2. Go to source build directory and type:
Quote:
make uninstall
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ok, i installed the program...now what? sfzombie13 Linux - Newbie 7 08-11-2005 08:50 PM
installed new program but cant find it stumblefingers Linux - Newbie 5 05-11-2004 01:52 AM
installed program via source, how can i find the executable? guest Linux - Newbie 3 05-04-2004 02:44 AM
Where does installed program go? bngrhl Linux - Newbie 2 05-02-2004 06:55 PM
how can I understand whether a program installed or not installed? emin Linux - Newbie 2 10-13-2002 11:29 AM


All times are GMT -5. The time now is 03:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration