About add-apt-repository

I was trying to install latest greatest package from a Personal Package Archives (PPA) in an Ubuntu Server installation where the system complained that add-apt-repository command is missing. Did some googling around.

What is add-apt-repository?
"add-apt-repository is a script which adds an external APT repository to either /etc/apt/sources.list or a file in /etc/apt/sources.list.d/."
-- $ man add-apt-repository
Where is add-apt-repository?
$ sudo apt-get install apt-file
$ sudo apt-file update
$ sudo apt-file search add-apt-repository
python-software-properties: /usr/bin/add-apt-repository
python-software-properties: /usr/share/man/man1/add-apt-repository.1.gz

How to install it?
$ sudo apt-get install python-software-properties
$ man add-apt-repository

No comments:

Post a Comment