Build Debian packages and offer them in PPAs

Into Your Own PPA

You need a PPA for Kup before you can use the next tool: The URL<Launchpad-ID>/+activate-ppa leads directly to the dialog where you can create a new PPA. Enter a name and description for the PPA and wait for confirmation from the server. The end of the process involves uploading your file with dput, which supports PPAs on Ubuntu systems. The general form is:

dput ppa:<Launchpad-ID>/<Name>

In the example here, my Launchpad ID is martin-loschwitz and the name of the PPA is kup, so the command I enter on the local system is:

# dput ppa:martin-loschwitz/kup

If you have successfully uploaded your file, you will receive email after a few seconds. Completed .deb packages should be available in your PPA directory a few minutes later (Figure 6).

Figure 6: The end of the story: Ready-to-use Debian packages on offer for download via a link in Launchpad.


The approach presented here might not turn you into a package pro, but it will solve the problem of getting newer versions of programs often not available in Ubuntu. The overhead when updating from one version to another is usually significantly lower than for the example I used in this article.


  1. Launchpad:
  2. "Kup" by Ferdinand Thommes, Linux Pro Magazine, issue 178, September 2015, pg. 44,
  3. Kup on
  4. openSUSE Build Service for Kup:
  5. Kup v0.6.0 source:
  6. Ubuntu package directory:
  7. "Protect Your Documents with GPG" by Juliet Kemp, Linux Pro Magazine, issue 137, April 2012, pg. 40,

The Author

Martin Gerhard Loschwitz works as a cloud architect at SysEleven in Berlin. He is also an official member of the Debian project and has been a Debian developer for more than 12 years.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Packages in systemd

    You might need to tweak your Debian or Ubuntu packages to get them to work with systemd.

  • Launchpad PPA: Canonical's Developer Service Launched

    Canonical, the company behind the Ubuntu Linux distribution has just launched its "Launchpad Personal Package Archive Service" for developers on the Canonical "Launchpad" platform.

  • Dgit

    Dgit combines the Debian archive with a Git repository, giving package maintainers some totally new options for managing Debian source packages.

  • Command Line – Package Management

    When human error stumps the Debian package manager, familiar tools like apt-get, aptitude, and dpkg can help restore functionality.

  • Flatpak and Snap

    The new container-inspired package formats Flatpak and Snap have landed in the territory occupied by conventional Linux package systems such as RPM and Dpkg.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More