Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 11-17-2010, 05:24 AM   #1
LQ Newbie
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
Smile Where can I find the dependent information like that in the control file of .deb file

Hi all,

As I know, .deb package usually includes a control file. Take libfreetype6_2.3.9-5ubuntu0.4_i386.deb for example, its control file includes the following content:


Package: libfreetype6

Source: freetype

Version: 2.3.9-5ubuntu0.4

Architecture: i386

Maintainer: Ubuntu Core Developers

Installed-Size: 704

Depends: libc6 (>= 2.4), zlib1g (>= 1:1.1.4)

Conflicts: freetype, xpdf-reader (<< 1.00-4)

Section: libs



Question 1:

I want to know how to find the information like " Depends: libc6 (>= 2.4), zlib1g (>= 1:1.1.4) " myself. From the configure file, Makefile, README or something else?

Question 2:

Does there exist the tool generating the control file automatically?

I'm so grateful for your answer.
Old 11-17-2010, 05:46 AM   #2
Registered: May 2005
Posts: 36

Rep: Reputation: 6

Here is a site that will give you tons of information on debian packages (.deb files)

Also, if your using apt you can see what dependencies a package needs with apt-rdepends.

To install apt-rdepends
sudo apt-get install apt-rdepends
Using apt-rdepends to list dependancies for a particular package
apt-rdepends [options] [pkgs ...]
For more info on apt-rdepends check out this site:

To generate control files for Debian packages use dpkg-gencontrol
This site goes in-depth on control files

Old 11-17-2010, 10:17 AM   #3
Senior Member
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 55
Actually, to list the entire control file type:

dpkg -p <package>
This will work even when the package isn't installed.


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 can I run this .deb file: install_flash_player_10_linux.deb abefroman Linux - Desktop 1 11-04-2009 11:02 AM
LM Sensors Help, Can't access procfs/sysfs file Unable to find i2c bus information; Whiskers Linux - Software 16 11-03-2008 05:58 PM
How to find out indone information and datablocks information in a file system chaitanya1982 Linux - Newbie 1 09-24-2008 02:58 AM
Where can find the file containg the information of the printer driver Naveen Sriram Linux - Software 1 09-24-2004 06:05 AM
How to convert .deb file to .tar file on redhat? zhu_liheng Linux - Newbie 1 01-15-2004 09:11 PM

All times are GMT -5. The time now is 09:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration