Installing Package From LaunchPad PPA in Debian

LaunchPad PPA allows you to upload Ubuntu source packages to be built and published as an apt repository by Launchpad. Ubuntu accepts adding of Launchpad PPAs easily and install any package you want. But here in Debian, it’s not so. I figure out a way to download package from PPAs in Debian and receive updates when they have.

In this post I’ll be using the Numix Icon Theme package to demonstrate, I use this icon theme but downloaded via Git and I don’t receive updates unless I go and reclone same directory in git. Now I have their PPA, I added successfully to apt sources and now I can install directly from apt and update when there is 🙂

  • Visit the PPA Archive, in Numix its here https://launchpad.net/~numix/+archive/ubuntu/ppa
  • Look for the heading Adding this PPA to your system and toggle down Technical details about this PPA
  • Select Utopic (14.10) which is compactible to Debian, which will make it look like
    deb http://ppa.launchpad.net/numix/ppa/ubuntu utopic main 
    deb-src http://ppa.launchpad.net/numix/ppa/ubuntu utopic main 
  • Now create a source file in /etc/apt/sources.list.d
    $ sudo echo 'deb http://ppa.launchpad.net/numix/ppa/ubuntu utopic main' > /etc/apt/sources.list.d/numix.list
  • Adding the repository key so as to use it safely, below the repository listed is the signing key of the repository which looks like 1024R/0F164EEB, the characters after the backward slash is the key, so we do:
    $ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0F164EEB
  • Run
    $ sudo apt-get update
    $ sudo apt-get install numix-icon-theme

It’s all done 🙂