Monday, October 12, 2009

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

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