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. |
Greetings,
Here is a site that will give you tons of information on debian packages (.deb files) http://www.debian.org/doc/FAQ/ch-pkg_basics.en.html Also, if your using apt you can see what dependencies a package needs with apt-rdepends. To install apt-rdepends Code:
sudo apt-get install apt-rdepends Code:
apt-rdepends [options] [pkgs ...] http://www.debianadmin.com/recursive...-rdepends.html To generate control files for Debian packages use dpkg-gencontrol This site goes in-depth on control files http://www.debian.org/doc/debian-pol...rolfields.html --Nick |
Actually, to list the entire control file type:
Code:
dpkg -p <package> |
All times are GMT -5. The time now is 01:57 AM. |