LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   checking package details (https://www.linuxquestions.org/questions/linux-newbie-8/checking-package-details-696178/)

kapilbajpai88 01-09-2009 04:30 PM

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.

rweaver 01-09-2009 04:37 PM

Quote:

Originally Posted by kapilbajpai88 (Post 3402916)
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.


All times are GMT -5. The time now is 10:45 PM.