LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 10-20-2005, 05:54 AM   #1
grautu
Member
 
Registered: Jul 2005
Posts: 142

Rep: Reputation: 15
Is a specific pkg installed?


Hello!
How to know whether a certain package, say generically pkg_name (which is necessary to me) is or it is not installed? Assuming, for instance, that pkg_name should provide another program with a data base, I've run pkgtool and thereby learned, for instance, that the file /usr/doc/pkg_name/README does belong to the so called "File List". Well I did check and such a file does exist in my system: is this a reliable proof that the package pkg_name is really installed? Anyway, does it exist a best way to learn whether a certain Slackware package is installed?
Thanks!
 
Old 10-20-2005, 06:05 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
Look in /var/log/packages, there is a list of all packages you installed via installpkg command.

You can also just use "pkgtool" and view a list of the installed packages as well as a list of the files that were installed with the package (it's the same as the content of the according file in /var/log/packages).
 
Old 10-20-2005, 06:35 AM   #3
grautu
Member
 
Registered: Jul 2005
Posts: 142

Original Poster
Rep: Reputation: 15
So, what I was seeing by pkgtool is not a general list of packages, but the list of precisely installed packages! Great!
Thanks a lot!
 
  


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
How to make a specific command(s) work for specific users or group only naren_0101bits Linux - General 3 08-28-2005 05:22 PM
How to make a specific command(s) work in a specific shell only naren_0101bits Linux - Newbie 3 08-28-2005 01:24 PM
Searching a specific directory for a specific extension? RoaCh Of DisCor Linux - Newbie 3 08-13-2005 03:28 PM
Starting from 0 - pkg by pkg Lopes Linux - Newbie 2 07-02-2005 01:42 AM
PKG-CONFIG, Installed Yet Not? inescapeableus Linux - Software 2 07-25-2004 08:48 AM

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

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