APT: Difference between revisions

From SprezzOSWiki
No edit summary
No edit summary
Line 1: Line 1:
The Advanced Packaging Tool and its various frontends form the package management core of Debian and Debian-derived distributions such as SprezzOS.
==Relevant man pages==
* <tt>deb(5)</tt> -- The deb binary package format, since Debian 0.93. Older versions are documented in <tt>deb-old(5)</tt>.
* <tt>deb-version(5)</tt> -- Version number semantics.
===Working with the database===
* <tt>apt-get(8)</tt> -- command line interactive package tool
* <tt>dpkg(1)</tt> -- command line local package database management
* <tt>aptitude(8)</tt> -- modern ncurses interactive package tool.
* <tt>dselect(1)</tt> -- horrible old ncurses interactive package tool. Avoid at all costs.
* <tt>apt-cache(8)</tt>, <tt>dpkg-query(1)</tt> -- query the database
===Creating packages===
* <tt>deb-control(5)</tt> -- The <tt>control</tt> files required to generate binary packages from source.
** A given source package maps to a single control file, in which it is described.
** A given source package can yield one or more binary packages. Each will have an entry in the control file.
* <tt>dch(1)</tt>, <tt>debchange(1)</tt> -- Tools for managing <tt>changelog</tt> files.
===Working with debs===
* <tt>dpkg-deb(1)</tt> -- Unpacks, packs, dumps information about local .deb files.
[[CATEGORY: SprezzOS Manual]]
[[CATEGORY: SprezzOS Manual]]
[[CATEGORY: Glossaried]]
[[CATEGORY: Glossaried]]

Revision as of 02:17, 4 December 2012

The Advanced Packaging Tool and its various frontends form the package management core of Debian and Debian-derived distributions such as SprezzOS.

Relevant man pages

  • deb(5) -- The deb binary package format, since Debian 0.93. Older versions are documented in deb-old(5).
  • deb-version(5) -- Version number semantics.

Working with the database

  • apt-get(8) -- command line interactive package tool
  • dpkg(1) -- command line local package database management
  • aptitude(8) -- modern ncurses interactive package tool.
  • dselect(1) -- horrible old ncurses interactive package tool. Avoid at all costs.
  • apt-cache(8), dpkg-query(1) -- query the database

Creating packages

  • deb-control(5) -- The control files required to generate binary packages from source.
    • A given source package maps to a single control file, in which it is described.
    • A given source package can yield one or more binary packages. Each will have an entry in the control file.
  • dch(1), debchange(1) -- Tools for managing changelog files.

Working with debs

  • dpkg-deb(1) -- Unpacks, packs, dumps information about local .deb files.