LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 10-07-2008, 04:49 PM   #1
syntacticalerror
LQ Newbie
 
Registered: Jun 2008
Posts: 24

Rep: Reputation: 15
check packages built from source


To all,

Is there a way to determine which programs have been built from source? I guess i could just go to /bin or /usr/bin, but thats long hand.

Is there a command like "rpm -qa | grep filename" i could use for this purpose?

Thx alot
 
Old 10-08-2008, 01:58 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,369
Blog Entries: 54

Rep: Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869
No, your RPMDB covers what's installed using the package manager so the reverse, as in 'rpm -qf /path/to/something 2>&1>/dev/null||echo NO' should work. While that may work fine for binaries in $PATH dirs, be careful with things in other dirs as they may be created during for example %post install scripts.

Last edited by unSpawn; 10-08-2008 at 01:59 AM.
 
  


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
uninstalling something built from source lauram93 Linux - Software 1 10-18-2007 12:31 PM
Updating packages built from source aolong Linux - General 6 02-20-2007 05:22 AM
built source conflicts with dependencies! Goofee Linux - General 0 06-30-2003 12:52 AM
Eroaster built from source error palm1 Linux - Software 8 10-29-2002 11:19 AM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 06:03 PM


All times are GMT -5. The time now is 11:23 PM.

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