Ubuntu Tip:Awesome software-properties update for PPAs in Karmic

* new helper script "add-apt-repository" that can be used to enable a repository from the commandline. Useful for e.g.'add-apt-repository ppa:gnome-desktop'

I gave it a try with `sudo add-apt-repository ppa:jpeddicord`. Not only did it add an entry to sources.list.d, it also fetched the GPG key automatically.

Out of curiosity, I opened software-properties-gtk (system > admin > software sources) and tried to add a PPA on the third-party software tab.

soft-prop-gtk-add-ppa

Using the same syntax for the add-apt-repository command, it worked. Didn't appear to grab the GPG key at first, but after restarting the interface the key was indeed there.This is awesome, and definitely lowers the barrier for adding PPAs to a system.

Credit goes here

Sponsored Link

You may also like...

4 Responses

  1. Niklas says:

    Great! Another cool feature would be if we could add a href on a repository page which was mapped to add-apt-repository, so that you click on a link like ‘apt-repo://ppa:jpeddicord/commandeer’, and the system would ask for confirmation that you really want to add this repo to your apt list, then add it.

  2. elvisd says:

    Cool. +1

  3. hessmo says:

    this is sweet. Just one more reason I am happy that ubuntu has new releases every 6 months.

  4. great posting… it was new a information for me. thanks

Leave a Reply

Your email address will not be published. Required fields are marked *