LinuxQuestions.org
Help answer threads with 0 replies.
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 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: 29,415
Blog Entries: 55

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



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

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

All times are GMT -5. The time now is 07:03 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
Open Source Consulting | Domain Registration