What Is An Ubuntu PPA & Why Would I Want To Use One? [Technology Explained]

Ads by Google

boxes   What Is An Ubuntu PPA & Why Would I Want To Use One? [Technology Explained]Part of the appeal of Ubuntu is its six-month release cycle. Every six months a new version of the free operating system is released into the wild, complete with updates for all of your favorite software. This is great, but can be a trifle disappointing from time to time. For example, if a new version of your favorite software comes out you may have to wait until the next version of Ubuntu comes out to try it.

The solution to this is the PPA. This is a repository, provided by Canonical (the company behind Ubuntu), that allows developers and enthusiasts to offer up-to-date versions of software to all Ubuntu users. Originally PPAs were limited to programmers and testers, but Canonical opened PPAs to everyone in late 2007.


I constantly mention PPAs in my Ubuntu articles because for the newest software, installing a PPA is the simplest way to get everything working. But what is a PPA and why would you want to use one?

What’s A PPA?

Those new to Ubuntu, and to Linux in general, find themselves lost in an array of initial-isms and acronyms that make little sense to the first-time user. This can make Ubuntu feel like a very unfriendly place, but don’t panic: it’s all easy to understand.

Ads by Google

Installing software on Ubuntu is different than on Mac or Windows; some might say better. Rather than going to the web to download a package, it’s usually a better bet to check the Ubuntu Software Center for any program you might want to install. This software is stored in a repository, which is a collection of software Ubuntu can download quickly and easily.

ubuntu1010 softwarecenter   What Is An Ubuntu PPA & Why Would I Want To Use One? [Technology Explained]

Repositories are a more trustworthy way to download software than grabbing EXE files from random websites. Since everything in the default repositories is reviewed by the Ubuntu team before it goes out, you know everything there is completely safe for your system.

That doesn’t mean there aren’t downsides, though. Users typically have to wait for a new version of Ubuntu to try out new software. So if Firefox updates, you might not get to play with the new version until the next Ubuntu release comes out.

This is where PPAs come in. A PPA, or Personal Package Archive, is a collection of software not included in Ubuntu by default. Typically these repositories focus on a single program, but they can include more depending on the person maintaining them. A PPA might focus on an unreleased piece of software, such as Hotot, the best Linux Twitter client out there. It also might include updates for software already in Ubuntu, such as Firefox.

Whatever the case, PPAs provide updates for your favorite software at a much quicker rate than Ubuntu itself. This is great, because you can decide which software you want to keep up to date and leave the rest to Ubuntu.

Once you install new software, updates will come to you through the Ubuntu Update Manager:

ppa update   What Is An Ubuntu PPA & Why Would I Want To Use One? [Technology Explained]

This is fantastic, because it means all of your updates come through a single interface. No Windows-style popups from every single program you’ve installed!

How To Add A PPA

So you’ve found a program you want to install, but the “Download” link leads you to a confusing site you don’t understand:

ppa site   What Is An Ubuntu PPA & Why Would I Want To Use One? [Technology Explained]

Don’t panic; adding a PPA is easy, but you will need to use the command line a little.

Find the terminal in “Applications”, “Accessories”, “Terminal“. Now you just need to type “sudo add-apt-repository” followed by the name of your PPA. Then all you need to do is update your package manager and install the program you’re looking for. For example, here are the steps required to install Hotot:

sudo add-apt-repository ppa:hotot-team
sudo apt-get update
sudo apt-get install hotot

That’s it; you’re done. You can now enjoy your new software, or the latest version of an already-loved piece of software.

Conclusion

Ubuntu’s six-month release cycle isn’t perfect, but I personally perfer it to Windows-style releases. With PPAs Ubuntu users can have access to bleeding-edge software. Adding too many PPAs may result in an unstable system, but one or two usually doesn’t hurt anything.

What are your favorite PPAs? Share them in the comment below. Also feel free to discuss the merits of Ubuntu’s release cycle, or to troll me for not writing about Fedora or Linux Mint more often.

Ads by Google
Check out more about:

16 Comments - Write a Comment

Reply

Mordalo

I use the PPAs for VirtualBox, Ubuntu Tweak and XBMC. Makes installing and upgrading MUCH easier.

Reply

Dan

I like the idea of PPAs but I’m also looking into “rolling release” distros like Linux Mint Debian Edition. Once LMDE matures into a really usable desktop product (still has quite a few bugs), I’ll ditch the 6 month distro cycles.

Reply

Arch

Try arch linux. http://www.archlinux.org

Reply

Rain

Never thought I’d really gain too much from having the latest bleading edge software (security updates aside), till vim 7.3 came out with blowfish encryption.

Reply

anand warik

Is PPA, same as adding address of the repository in the “Software Sources>Third-Party Software”. If so how can you get an address since when i accessed Hotot, It says that there is no packages available in Ubuntu repository nor has a deb file for install.

jhpot

Yeah, PPA is a certain kind of software source. If you’re looking for the Hotot PPA, it’s easy to add from the command line:

sudo add-apt-repository ppa:hotot-team
sudo apt-get update
sudo apt-get install hotot

Reply

jhpot

Yeah, PPA is a certain kind of software source. If you’re looking for the Hotot PPA, it’s easy to add from the command line:

sudo add-apt-repository ppa:hotot-team
sudo apt-get update
sudo apt-get install hotot

Reply

anand warik

@jhpot
I tried that command earlier but it didn’t work then so i tried it again here are the results:

sudo add-apt-repository ppa:hotot-team
sudo: add-apt-repository: command not found

I thought one needs to give complete address of the repository, but here is a problem with command. May be one requires some other dependencies installed so that your command works.

Because of this article today i added a PPA of planetFX. I could do it because of the instructions there. I came across PublicKey. What is it? Why it asked me to remove immediately after its job was done?.

Reply

anand warik

@jhpot
I tried that command earlier but it didn’t work then so i tried it again here are the results:

sudo add-apt-repository ppa:hotot-team
sudo: add-apt-repository: command not found

I thought one needs to give complete address of the repository, but here is a problem with command. May be one requires some other dependencies installed so that your command works.

Because of this article today i added a PPA of planetFX. I could do it because of the instructions there. I came across PublicKey. What is it? Why it asked me to remove immediately after its job was done?.

jhpot

What version of Ubuntu are you using? The command “apt-add-repository” won’t work on older versions, so you’ll have to add it all manually. Even if you do, there’s no guarantee Hotot will work. The “Software Sources” tool will work, and then you’ll have to add the key. Here’s a video for that:

http://blog.launchpad.net/ppa/adding-a-ppas-key-to-ubuntu

anand warik

version 8.04. I tried the “Software Sources” it doesn’t allow me to add PPA. It does allow me to write the APT line but doesn’t allow it to go further and add one.
As i said before I recently added a planetFX PPA though command line but in Software Sources I can’t see it although I can see the PublicKey of the application under the Authentication tab.

jhpot

If you’re using 8.04 you should seriously consider upgrading sometime soon, particularly if you want to try bleeding-edge stuff like Hotot. It’s not that you have to, it’s just that using the latest software works better on a newer version of Ubuntu. And it’s easier.

Reply

jhpot

What version of Ubuntu are you using? The command “apt-add-repository” won’t work on older versions, so you’ll have to add it all manually. Even if you do, there’s no guarantee Hotot will work. The “Software Sources” tool will work, and then you’ll have to add the key. Here’s a video for that:

http://blog.launchpad.net/ppa/

Reply

anand warik

version 8.04. I tried the “Software Sources” it doesn’t allow me to add PPA. It does allow me to write the APT line but doesn’t allow it to go further and add one.
As i said before I recently added a planetFX PPA though command line but in Software Sources I can’t see it although I can see the PublicKey of the application under the Authentication tab.

Reply

ugg slippers

Good share,you article very great, very usefull for us…thank you

Your comment