Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Creating Debian packages

A talk to be given at the [Perth Linux Users' Group][PLUG] on 9 Oct 2018.

[PLUG]: http://www.plug.org.au/

Blurb

Once upon a time, Debian was a GNU/Linux distribution that was mainly for hobbyists. It always existed in the shadow of commercial distributions such as Red Hat, and their derivatives. Then Canonical used it to create Ubuntu, and the world changed. (In the interim though, there were a lot of businesses relying on Debian as a stable, low-TCO server OS with good security support.)

If you are running Debian on a personal host or in production, you might have wondered how Debian packages work and whether you have a use case for which they could make your life simpler. This talk will attempt to shed light on these questions.

Topics covered:

  • .deb package format
  • Source Packages
  • Creating .deb files

It is even possible to host your own package archive on an HTTP or FTP server, with secure downloads provided by Debian's package signing mechanism.

Please note that this talk will not cover becoming a Debian maintainer/developer, which is usually what is required to upload new/changed packages to the official Debian package archives.

Outline

  1. Principles
  2. Package format
  3. Intro to Debian packages
  4. Dependencies
  5. Patches (Quilt)
  6. Package signing
  7. Source Packages
  8. Old -- upstream tarball + diff
  9. New -- upstream tarball + Debian tarball
  10. Native -- upstream tarball with debian subdirectory
  11. .dsc file
  12. Creating .deb files
  13. debian subdirectory
    1. Debian changelog
    2. control
    3. rules
    4. compat
    5. copyright
  14. Debhelper
    1. Automatic inclusions
    2. Minimal rules file
  15. Preparation
    1. build-essential
  16. Build process
    1. dpkg-buildpackage
  17. Archives

Presenter bio

Alastair is a Software Engineer and system administrator by trade. He has a BSc in Computer Science from Curtin University.

His computer-related interests lie in various areas within his trade; suffice to say that he is a "geek of many colours". :) Alastair is a die-hard FOSS user and Linux fan.

He is also a freelancer with his own business. Warpspace IT is a consultancy with a fairly broad focus on the technical side of IT.

Slides

presentation.odp

About

A talk to be given at the Perth Linux Users' Group on 9 Oct 2018

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors