![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
stylesen's blog
add-apt-repository is a command which allows us to add a new repository link to the apt sources ie., /etc/apt/sources.lst file. This is very handy in order to add PPA archives. The advantage of using this command is, it will automatically import the gpg public key of the repository and registers it.
In Ubuntu version 12.10 ie., Quantal this command is not part of 'python-software-properties' package, like the previous ubuntu versions, but available in 'software-properties-common'. In order to install add-apt-repository in 12.10, we must install the package 'software-properties-common' as follows:
$ sudo aptitude install software-properties-common
To find in which package the command we are looking for exists the following will be of help:
$ sudo apt-file update
$ sudo apt-file search add-apt-repository
NOTE: The above commands assume 'apt-file' is already installed in your system.
https://webcache.googleusercontent.com/search?hl=ru&biw=&bih=&q=cache:I9vCHZSDlgwJ:http://www.stylesen.org/blog/stylesen%2Bhttp://www.stylesen.org/blog/stylesen&gbv=2&gs_l=heirloom-hp.3...1131.1131.0.3161.1.1.0.0.0.0.143.143.0j1.1.0...0.0...1c.1.cq1nDXsIMj8&ct=clnk