Differences between revisions 65 and 67 (spanning 2 versions)
Revision 65 as of 2019-08-17 13:14:29
Size: 8499
Comment:
Revision 67 as of 2019-08-24 19:16:45
Size: 7404
Editor: HenriLeFoll
Comment: transfert package to intro
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
<<BR>>
||<tablestyle="width: 100%; text-align: center; border: 0px hidden"> {{http://www.debian.org/logos/openlogo-nd-50.png}} {{http://www.debian.org/Pics/debian.png}}||
||<style="border: 0px hidden">~+{{attachment:Portal/IDB/logo_portal.png}} Welcome to [[Debian]] '''packaging portal'''+~||
----
{{attachment:Portal/IDB/icon-template-32x32.png}} This portal talk about ''' information relevant to developers wishing to package software for Debian.'''.

Debian packages are maintained by a community of Debian Developers and volunteers. <<BR>>
If you were looking for '''information on installing and removing packages from your Debian system''',<<BR>>
see the [[PackageManagement|package management]] pages instead.
Line 5: Line 14:
Debian packages are maintained by a community of Debian Developers and volunteers. This page contains information relevant to developers wishing to package software for Debian.

If you were looking for information on installing and removing packages from your Debian system, see the [[PackageManagement|package management]] pages instead.
Line 10: Line 15:

== What is a "package"? ==

A Debian package is a collection of files that allow for applications or libraries to be distributed via the Debian package management system. The aim of packaging is to allow the automation of installing, upgrading, configuring, and removing computer programs for Debian in a consistent manner.

A Debian package consists of one source package component and one or more binary package components. Debian Policy requires that these package files are built with a particular structure and format but there are many methods of arriving at these files.

{{{#!wiki warning
Only packages that are compliant with Debian policy will be accepted into the archive. Manually constructed binary packages (.deb) that are not built from a source package will never be accepted.
}}}

Source packages not only contain the upstream source distribution and options for the Debian package build system but also lists of run-time dependencies and conflicting packages, a machine-readable description of copyright and license information, initial configurations, etc.

While the goal of packaging is to produce these files, for the most part, you will be working with the unpacked source in a directory. The source package (.dsc) and binary packages (.deb) will be built for you by tools such as dpkg-buildpackage.

You can read more about the anatomy of [[DebianPackage|binary packages]] or [[SourcePackage|source packages]] on their wiki pages.

== Introduction to Debian Packaging ==
Line 36: Line 23:
}}}
Line 37: Line 25:
}}} == Introduction to Debian Packaging ==
Line 110: Line 98:
 * [[Repackaging]] - Collecting information about repackaging  * [[Repacking]] - Collecting information about repacking
 * AutomakeTransition
 * PackageConfigUpgrade : propose a new way to smoothly handle configuration upgrades during package upgrades
 * DataPackages
Line 118: Line 109:

== Ot
her Information ==

=
== External useful links ===
<<Anchor(links)>>
== External links ==
Line 138: Line 127:
 * AutomakeTransition
 * PackageConfigUpgrade : propose a new way to smoothly handle configuration upgrades during package upgrades
 * DataPackages
Line 143: Line 129:
CategoryPortal

Translation(s): English - Italiano - Svenska - Русский

http://www.debian.org/logos/openlogo-nd-50.png http://www.debian.org/Pics/debian.png

Portal/IDB/logo_portal.png Welcome to Debian packaging portal


Portal/IDB/icon-template-32x32.png This portal talk about information relevant to developers wishing to package software for Debian..

Debian packages are maintained by a community of Debian Developers and volunteers.
If you were looking for information on installing and removing packages from your Debian system,
see the package management pages instead.


If you're just starting out with Debian packaging, please read the official documentation first:

Introduction to Debian Packaging

To get a good grounding in Debian packaging:

Now that you have seen the basics, it is highly recommended that you read some real stuff:

Then, if you are looking for answers, you can come back here or read:

What not to do:

  • There are no shortcuts to learning good packaging practices. Avoid equivs which is only useful for building trivial metapackages and does not teach you anything about packaging.

Packaging Procedures

Types / Formats

Tools

Advanced Procedures

Useful Pages

Training Sessions

From Debian Women

DebianWomen organise interesting training sessions.

See also:


CategoryPackaging CategoryPortal