Differences between revisions 5 and 6
Revision 5 as of 2008-02-02 00:24:46
Size: 1296
Editor: PeMac
Revision 6 as of 2008-02-02 00:25:56
Size: 1294
Editor: PeMac
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 • Version • Version
Line 9: Line 9:
 • Binary • Binary

Debian source control file – .dsc. This file contains a series of fields, identified and separated just like the fields in the control file of a binary package. The fields are listed below:

• Source

• Version

• Maintainer

• Binary

• Architecture

• Build-Depends et al. (source package interrelationships)

• Standards-Version

• Files

The source package control file is generated by dpkg-source when it builds the source archive.

Sources are normally not installed. You can only install them if you know the package name. When installing the sources of a debian package, a package ending on .dsc (description) is downloaded along with an original ["tar ball"] and a debian specific ["diff"] (compressed). The .dsc will contain the name of the package, both, in its filename as well as content (after the Source: keyword).

To unpack a source package it is typically invoked with

["dpkg-source"] -x .../path/to/filename.dsc

with the filename.tar.gzand filename.diff.gz(if applicable) in the same directory. It unpacks into package-version, and if applicable package-version.orig, in the current directory.