LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-08-2006, 01:54 PM   #1
farpoint
Member
 
Registered: Sep 2004
Location: France
Distribution: Debian Sarge, Etch. FC1,2,3,4,5. Slackware 10.0. Gentoo. Kubuntu.
Posts: 193

Rep: Reputation: 30
Command for where the individual files are for a deb package


Hi. Using rpm, on Fedora for instance, I can use.
rpm -q -l <filename> to see the location of all the files for a specific package. Is there a similar command I can use to see where a specific deb packages files have been installed?

Nigel. aka farpoint.
 
Old 06-09-2006, 02:44 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
You have several methods available:
Code:
dlocate <package>  <- what I use in general, very fast
dpkg -L <package>
If the package is not installed but you still want to know which files it contains:
Code:
apt-file list <package>
I think apt-file is not standard, you have to install it. You also have to update its database by
Code:
apt-file update
 
Old 06-09-2006, 06:29 AM   #3
farpoint
Member
 
Registered: Sep 2004
Location: France
Distribution: Debian Sarge, Etch. FC1,2,3,4,5. Slackware 10.0. Gentoo. Kubuntu.
Posts: 193

Original Poster
Rep: Reputation: 30
Hi. Thanks for that. It's just what I was looking for. I installed apt-file as well, but havn't tried it yet, as apt-file update is DL'ing 8+MB of data. (on dialup)

Nigel.
 
  


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
Possible to build deb package from source files? davidas Debian 9 12-09-2006 06:27 PM
Passwording individual files SuSE05 Linux - Software 4 04-20-2005 06:14 AM
Portage: Updating individual package and dependencies in Gentoo vharishankar Linux - Distributions 2 03-29-2005 04:26 AM
Howto on making .deb package files preben Debian 1 08-21-2003 07:53 AM
Command for .deb files plexter Linux - Newbie 2 06-26-2003 09:39 PM

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

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