Differences between revisions 111 and 112
Revision 111 as of 2022-01-14 12:36:37
Size: 11069
Editor: ?leandrocunha
Comment:
Revision 112 as of 2022-01-14 12:53:55
Size: 11175
Editor: ?leandrocunha
Comment: add cowbuilder
Deletions are marked like this. Additions are marked like this.
Line 90: Line 90:
* [[Packaging/sbuild]] to clean build tool and to install with apt use command `apt install sbuild`. * [[Packaging/sbuild]] clean build tool and to install with apt use command `apt install sbuild`.
Line 94: Line 94:
* [[UsingQuilt]] to patches management to install `apt install quilt`. * [[UsingQuilt]] patches management to install `apt install quilt`.
Line 96: Line 96:
* [[PackagingWithGit]] to Git management packaging to install `apt install git-buildpackage`. * [[PackagingWithGit]] Git management packaging to install `apt install git-buildpackage`.
Line 98: Line 98:
* [[piuparts]] to .deb package installation, upgrading, and removal testing tool to install `apt install piuparts`. * [[piuparts]] .deb package installation, upgrading, and removal testing tool to install `apt install piuparts`.
Line 100: Line 100:
* [[Lintian]] to comprehensive package checker for Debian packages to install `apt install lintian`. * [[Lintian]] comprehensive package checker for Debian packages to install `apt install lintian`.
Line 104: Line 104:
* [[https://people.debian.org/~eriberto/README.package-tests.html|Autopkgtest - to executes tests found in Debian source packages]] to install `apt install autopkgtest`. * [[https://people.debian.org/~eriberto/README.package-tests.html|Autopkgtest - executes tests found in Debian source packages]] to install `apt install autopkgtest`.
Line 108: Line 108:
* [[https://packages.debian.org/sid/dh-make|dh-make to converts source archives into Debian package source]] to install `apt install dh-make`. * [[https://packages.debian.org/sid/dh-make|dh-make converts source archives into Debian package source]] to install `apt install dh-make`.

* [[cowbuilder]] really handy to build your project for many distributions at once and to install `apt install cowbuilder`.

Translation(s): English - Español - Português (Brasil) - Italiano - Svenska - Русский


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

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


Portal/IDB/icon-template-32x32.png This portal is about 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 package management page.

Debian packages are maintained by a community of Debian Developers and volunteers.

If you're just starting out with Debian packaging, please read the official documentation first:
Guide for Debian Maintainers -- describes the building of a Debian package with many examples
Debian Packaging Tutorial -- slides-based overview of Debian packaging
Debian Policy -- guiding rules
Developers Reference -- advanced guide etc.
Introduction for maintainers: How will my package get into Debian?


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

Tools suggestion to create an environment to packaging

To create a packaging environment, you will need to study and install the following tools:

* Packaging/sbuild clean build tool and to install with apt use command apt install sbuild.

The sbuild is used in the Debian build service (buildd).

* UsingQuilt patches management to install apt install quilt.

* PackagingWithGit Git management packaging to install apt install git-buildpackage.

* piuparts .deb package installation, upgrading, and removal testing tool to install apt install piuparts.

* Lintian comprehensive package checker for Debian packages to install apt install lintian.

* Devscripts - scripts to make the life of a Debian Package maintainer easier to install apt install devscripts.

* Autopkgtest - executes tests found in Debian source packages to install apt install autopkgtest.

* blhc - search for missing hardening flags to install apt install blhc. See Debian: how to use blhc to solve hardening issues when packaging.

* dh-make converts source archives into Debian package source to install apt install dh-make.

* cowbuilder really handy to build your project for many distributions at once and to install apt install cowbuilder.

Okay, now you have an environment ready to go to start the packaging Debian studies!

Advanced Procedures

Useful Pages

Training Sessions

From Debian Women

DebianWomen organise training sessions.

See also:

Wiki pages

All pages related to packaging in Debian:

  1. AdvancedBuildingTips
  2. Alioth
  3. AndroidTools
  4. AutomakeTransition
  5. AutomaticPackagingTools
  6. BuildingFormalBackports
  7. BzrBuildpackage/DesignIdeas
  8. CheckInstall
  9. ConfigPackages
  10. CopyrightReviewTools
  11. Courses2005/BuildingWithoutHelper
  12. CreatePackageFromPPA
  13. DEX
  14. DataPackages
  15. DebianAstro/AstropyPackagingTutorial/Packaging
  16. DebianAstro/AstropyPackagingTutorial/Preparation
  17. DebianDevelopment
  18. DebianMentorsFaq
  19. DebianPackageManagement
  20. DebianPackaging-FAQs
  21. DebugPackage
  22. DevelopersCorner
  23. Diagrams
  24. Distcc
  25. DpkgConffileHandling
  26. DpkgDiversions
  27. EditingBinaryPackageMetadata
  28. EmacspeakTestingGuide
  29. FTBFS
  30. FastTrack
  31. Fonts/PackagingPolicy
  32. Games
  33. Games/Sponsors/Queue
  34. GettingPorted
  35. GitPackaging
  36. GitPackagingSurvey
  37. GitPackagingSurvey/bare debian
  38. GitPackagingSurvey/bare debian monorepo
  39. GitPackagingSurvey/bare template
  40. GitPackagingSurvey/git-debcherry
  41. GitPackagingSurvey/git-debrebase
  42. GitPackagingSurvey/git-dpm
  43. GitPackagingSurvey/manually maintained applied
  44. GitPackagingSurvey/merging
  45. GitPackagingSurvey/modified orig plus further unapplied patches
  46. GitPackagingSurvey/rebasing
  47. GitPackagingSurvey/unapplied
  48. GitPackagingWorkflow
  49. GitPackagingWorkflow/DebConf11BOF
  50. GitSrc
  51. HardeningWalkthrough
  52. HowToPackageForDebian
  53. Java/Packaging
  54. Javascript/Policy
  55. Maintainers
  56. MediaWiki
  57. Mentors
  58. Mingw-W64
  59. NonMaintainerUpload
  60. PackageArchitectureAlmostAny
  61. PackageConfigUpgrade
  62. PackageTransition
  63. Packaging
  64. Packaging/BinaryPackage
  65. Packaging/HackingDependencies
  66. Packaging/Intro
  67. Packaging/Pre-Requisites
  68. Packaging/ruby-team-meta-build
  69. Packaging/sbuild
  70. PackagingFAQ
  71. PackagingWithDarcs
  72. PackagingWithDocker
  73. PackagingWithGit
  74. PbuilderTricks
  75. PkgExim4UserFAQ
  76. Projects/DebSrc3.0
  77. Python/DbgBuilds
  78. Python/LibraryStyleGuide
  79. Python/Policy
  80. RPM
  81. RenamingPackages
  82. Repackage_srcrpm
  83. Repacking
  84. ReproducibleBuilds
  85. Salsa
  86. SecurePbuilder
  87. SimpleBackportCreation
  88. SimplePackagingTutorial
  89. SoftwarePackaging
  90. SponsorChecklist
  91. SystemBuildTools
  92. Teams
  93. Teams/CUPS
  94. Teams/DebianHaskellGroup
  95. Teams/DebianMonoGroup/NewPackage
  96. Teams/DebianMozExtTeam
  97. Teams/Dpkg/Spec/DeclarativePackaging
  98. Teams/Foo2zjs
  99. Teams/MySQL
  100. Teams/MySQL/MySQL-wsrep
  101. Teams/OCamlTaskForce
  102. Teams/Printing
  103. Teams/Ruby/Packaging
  104. UntrustedDebs
  105. UsingQuilt
  106. WNPP
  107. binNMU
  108. debian/patches
  109. debian/watch
  110. piuparts
  111. pt_PT/Teams
  112. sbuild
  113. udeb


CategoryPackaging | CategoryPortal