Saturday, December 22, 2018

ppa - How can I figure out the add-apt-repository command by looking at a launchpad project?


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: https://launchpad.net/cardapio ??


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


Thanks!



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.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...