LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-18-2010, 09:23 AM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
'apt-get' help


Hi everybody!
How do I know all the files that some package uses? And how do I know all the packages that some package uses as dependencies?
With 'apt-get' command.
 
Old 07-18-2010, 09:26 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Take a look at
http://www.debian.org/doc/manuals/ap...tml#s-apt-file
 
Old 07-18-2010, 09:56 AM   #3
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Original Poster
Rep: Reputation: Disabled
So 'apt-file list firefox' shows all th files of 'firefox' package? It shows
Code:
[name-of-the-package]: [file]
?
 
Old 07-18-2010, 09:58 AM   #4
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Original Poster
Rep: Reputation: Disabled
if it shows
Code:
firefox-3.0-gnome-support: /usr/share/doc/firefox-3.0-gnome-support/changelog.Debian.gz
that means this file is not for 'firefox' package, but for 'firefox-3.0-gnome-support' package?
 
Old 07-18-2010, 10:58 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
http://linux.die.net/man/8/apt-cache

apt-cache depends firefox

dpkg -L firefox ( to list all files ) or :
http://packages.ubuntu.com/lucid/i386/firefox/filelist

... And may be it's also easier to see all dependencies
on the Ubuntu "package search site" :
http://packages.ubuntu.com/lucid/firefox

http://packages.ubuntu.com/lucid/
 
1 members found this post helpful.
Old 07-19-2010, 02:10 AM   #6
arunmagar
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
And how do I know all the packages that some package uses as dependencies?
With 'apt-get' command.


Hi,

I did not understand your question?
But I know one command through that we can install dependency packages for required package
suppose we have to install nautilus package and we don't have proper dependency for that.then we can use following commnad

$ sudo apt-get build-dep nautilus



From man page of apt-get ---
build-dep causes apt-get to install/remove packages in an attempt to satisfy the build dependencies for a source package.
 
  


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
I bricked my NAS? :( aptitude, apt-get, apt-cache segfaults immediately omegaworks Linux - Server 5 11-07-2009 08:21 AM
LXer: Create a Local Ubuntu Repository using Apt-Mirror and Apt-Cacher LXer Syndicated Linux News 0 08-04-2009 10:13 PM
apt pinning /etc/apt/apt.conf parent's_basement Debian 5 10-26-2008 05:50 PM
Howabout apt-get update ; apt-get upgrade -f -y --force-yes in the crontab every week frenchn00b Debian 1 04-05-2008 07:47 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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