1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Discuss in my forum




Packaging Tools

There are many tools written specifically for packaging on Debian-based systems. Many of them are not essential to creating packages but are very helpful and often automate repetitive tasks. Their man and info pages are good sources of information. However, the following is a list of packages that are deemed necessary to begin packaging:

  • build-essential

    is a metapackage that depends on libc6-dev, gcc, g++, make, and dpkg-dev. One package that you might not be familiar with is dpkg-dev. It contains tools such as dpkg-buildpackage and dpkg-source that are used to create, unpack, and build source and binary packages.

  • devscripts

    contains many scripts that make the packager's maintenance work much easier. Some of the more commonly used are debdiff, dch, debuild, and debsign.

  • debhelper and dh-make

    are scripts that automate common packaging tasks. dh-make can be used to do the initial "debianization" and provides many example files.

  • diff and patch

    are used to create and apply patches, respectively. They are used extensively in packaging because it is easier, cleaner, and more efficient to represent small changes as patches rather than to have multiple copies of a file.

  • gnupg

    is a complete and free replacement for PGP used to digitally sign files (including packages).

  • fakeroot

    simulates running a command with root privileges. This is useful for creating binary packages as a regular user.

  • lintian and linda

    dissect Debian packages and report bugs and Policy violations. They contain automated checks for many aspects of Debian Policy as well as for common errors.

  • pbuilder

    constructs a chroot system and builds a package inside the chroot. It is an ideal system to use to check that a package has correct build dependencies and to build clean packages to be tested and distributed.

* License

* Ubuntu Packaging Guide Index

  1. About.com
  2. Technology
  3. Linux
  4. Linux Distributions
  5. Popular Linux Distros
  6. Ubuntu
  7. Ubuntu Packaging Guide
  8. Ubuntu Packaging Guide - Packaging Tools

©2014 About.com. All rights reserved.