LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-01-2005, 10:21 AM   #1
longnam
Member
 
Registered: Mar 2005
Posts: 69

Rep: Reputation: 15
howto search contents of the packages


Hi there,

I'm a newbie here, can someone point me to the right direction on howto search for contents in a package ?? For instant, when i do an installation and there are some missing lib ..etc . How do I search for its package ?? if i don't know which package the lib belong to ? I have notice that Debian
has a very nice search database where you can do that.

thanks much
 
Old 04-01-2005, 10:26 AM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
I guess you use Slackware. If so I think www.linuxpackages.net is the site for you.
 
Old 04-01-2005, 10:33 AM   #3
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
Re: howto search contents of the packages

Quote:
Originally posted by longnam
I have notice that Debian
has a very nice search database where you can do that.

thanks much
you mean like this?:

http://www.slackware.com/pb/

 
Old 04-01-2005, 10:34 AM   #4
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
There is a file in the root directory of the slack cd called MANIFEST.bz2. It cantains a list of every single file that packages install.

You can do some shell magic with bzip, cat, grep, whatever, and pipes to do it however you want.
 
Old 04-01-2005, 10:51 AM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Also Slackware package system keeps info of it's packages at /var/log/packages, so you can see the installed packages there and the files they insitalls inside each file in there. It also uses /var/log/scripts which are install scripts of packages that needed it, sometime usefull to see there because they show symlinks made during installation.
I use a simple command to see which pkg installed a file which is: grep -liI "glibc" /var/log/packages/* && grep -liI "glibc" /var/log/scripts/*
When looking for glibc..

However I'm getting used like Genesee to search for this stuff on slackware.com/pb because it may be a package I don't have installed which of course won't be in /var/log/packages...
 
  


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
how to search files with specific contents ? sachinh Linux - Security 4 07-22-2004 08:00 AM
Java: Getting the contents of a search dialog box in text editor i am making ludeKing Programming 4 04-23-2004 08:46 PM
Contents/Packages on Mndrake 10 bongski55 Mandriva 6 04-07-2004 12:38 AM
Can't get intallpkg to display contents of slack-desc in custom packages. jtX Slackware 4 03-16-2004 02:22 PM
search all book *contents* @ amazon.com jimveta General 2 10-24-2003 12:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:13 PM.

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