LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-06-2009, 09:17 AM   #1
rames2075
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Rep: Reputation: 0
how to know which software is installed from source


if we install software from rpm we can check using rpm command(rpm -qa | grep -i package),what about if we install software from source how can we check whether we installed software or not.
 
Old 03-06-2009, 09:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you can't. if you want to install in a way that you can check, there are tools like checkinstall, but after the event it's impossible other than by guesswork and such.
 
Old 03-06-2009, 09:34 AM   #3
rames2075
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
what an immediate reply!! thanks for your timely response.thanks acid
 
Old 03-06-2009, 10:49 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by rames2075 View Post
if we install software from rpm we can check using rpm command(rpm -qa | grep -i package),what about if we install software from source how can we check whether we installed software or not.
In almost every case the executable that is produced by compiling from source is put in /usr/local/bin.
Browsing that folder should give you a pretty good idea of what has been compiled. It won't be complete because you can compile libraries of various kinds that don't go into /usr/local/bin but if you're really curious you can browse around the other /usr/local folders.
Cheers,
jdk
 
Old 03-06-2009, 05:33 PM   #5
T74marcell
Member
 
Registered: Mar 2009
Posts: 102

Rep: Reputation: 18
The advantage of packaging systems is that they maintain a database of installed tools. When compiling from source you have to keep track of information yourself.

The configure file usually allows to define a custom install path. Usually /usr/local or /opt are commonly used for this. Keeping all your own compilations in place gives some kind of a poor man's database with a single ls command.

Arch Linux

Last edited by T74marcell; 03-14-2009 at 02:04 AM.
 
Old 03-06-2009, 05:40 PM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
The only good "database" that would help you is to save the build tree for everything you install manually in a single location, for example $HOME/build or whatever. That way you always know what do you installed by hand, and more important, you can always make uninstall using that same tree, or a similar thing.

If you weren't careful enough to do that on first time then there's no way to know what did you install by hand in the past, as someone else said above.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
I installed Wine and configure this at Debian 4.0 r1.I installed windows software hassancemk Linux - Software 2 04-02-2008 12:28 AM
LXer: OpenLogic Announces Free Software to Inventory Installed Open Source Software LXer Syndicated Linux News 0 05-01-2007 02:01 AM
LXer: Red Hat to set up open-source software store: source LXer Syndicated Linux News 0 03-09-2007 03:16 PM
compiling software from source...how do i delete the folder w/ source? webazoid Linux - Software 2 07-01-2004 10:09 PM
Best way to remove software installed from source Axion Linux - Software 6 02-29-2004 09:49 AM


All times are GMT -5. The time now is 01:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration