Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

To install programs from launchpad, you can add a repository to the software sources list...

I know how to look at a launchpad page and add the repository & public key through the "Software Sources" GUI page, but I'd rather use the add-apt-repository command as this finds the key for me.. and I'm too lazy to grab it from the launchpad page, save it, then import it.

My problem is that I have no idea how to figure out the right command for a particular project??

For instance, Cardapio uses the command:

sudo add-apt-repository ppa:cardapio-team/unstable

But I can't see cardapio-team/unstable written on the launchpad page: ??

is it possible, or is this address completely separate to launchpad?


share|improve this question
up vote 7 down vote accepted

PPAs in Launchpad are connected to People/Teams, rather than projects. Your best bet is to click on the "Maintainer" for the project ("Cardapio Team" in this case):

From there, follow the link on under "Personal Package Archives" on their profile page. There may be multiple options here, you'll just have to use your best guess based on their names.

The name of the PPA will be on this page:

However, this is not guaranteed to work, as the developers can use any PPA they want for their project. It could be ppa:someunrelatedteam/foobar for all you know. There is no way to know for sure from the Launchpad project.

Alternatively, googling "[project name] PPA" tends to give good results.

share|improve this answer
Thanks! Am I the only one who finds Launchpad confusing? – tommed Oct 15 '10 at 21:48
@tommed: PPAs were added relatively recently, and are still being tweaked. I agree that some aspects of PPAs are confusing, but for the most part I find Launchpad much easier to navigate than most project hosting sites. But that's just me, I suppose. – Matthew Pirocchi Oct 15 '10 at 21:53

If you are having a hard time figuring out the correct add-apt-repository command to run, someone has created a script called ppasearch to make this task easier.

An explanation of how to use this script is available on the 'What are PPAs and how do I use them?' community wiki.

ppasearch screenshot

share|improve this answer
This is wonderful! – Matthew Pirocchi Oct 15 '10 at 22:00
This ppa (ppa:wrinkliez/ppasearch) doesn't seem to contain ppasearch for maverick. It only has packages for Karmic and Lucid. – Matthew Pirocchi Oct 15 '10 at 22:06
Matthew, that is correct. However, you can manually download and install the deb for lucid (…) on maverick. That is what I did, and it appears to be working fine. – nhandler Oct 15 '10 at 22:10
It's too easy; it should show more info about the PPAs it finds... – JanC Oct 15 '10 at 22:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.