How to create a Debian package?


Bad style:

To build a binary package create a directory with a DEBIAN directory and all files of the package as seen from the root directory. Now create the file DEBIAN/md5sums with MD5 sums for all files in question (except DEBIAN directory and please remove the leading /), if you include config files please name them in DEBIAN/conffiles. Finally create a control file to DEBIAN describing the package. Please look at other packages how these files look like (or the official Debian wiki).

Finally run move one directory up and run
dpkg -b target package_version.subversion_amd64.deb
(assuming the directory is named target).

DocumentationForm edit

Title How to create a Debian package
Description This pages links to tutorials on how to build Debian packages.
Tags debian package build
Category Admin, Developer
Topic revision: r5 - 10 Feb 2012, ArthurVarkentin
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback