LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-09-2009, 04:30 PM   #1
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Rep: Reputation: 41
Question checking package details


Hello Everyone,

what could be the way to check which package is required for any file to get executed. Say we have /etc/file1, so how to check which package is necessary for this file to get executed ?

Thank You all,
kapil.
 
Old 01-09-2009, 04:37 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
Quote:
Originally Posted by kapilbajpai88 View Post
Hello Everyone,

what could be the way to check which package is required for any file to get executed. Say we have /etc/file1, so how to check which package is necessary for this file to get executed ?

Thank You all,
kapil.
There's really nothing that is going to display what "package" is required. You can see what libraries are required by doing an "ldd filename". For scripts you typically can see what they are calling by doing a "head -1 filename". Hope that helps, your question is a bit vague.
 
  


Reply

Tags
package


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
package management and dependency checking BCarey Slackware 10 01-04-2009 07:00 AM
SLED10 license & package details needed shamrock_uk Suse/Novell 2 07-18-2006 02:03 PM
checking if a package is used by other apps pbhj Linux - General 4 06-18-2005 10:27 PM
How to use MD5 checksum for checking package? hus Linux - Newbie 3 01-24-2005 09:38 AM
Checking the version of a package _maco_ Linux - Newbie 4 02-04-2004 05:37 PM


All times are GMT -5. The time now is 11:48 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