Ubuntu – How to add a PPA on a server


The server version of Ubuntu does not have the add-apt-repository command. How can I add a Personal Package Archive (PPA) to the server without this command?

Best Answer

You can simply add the add-apt-repository command. In 13.10 and later, you also need to run this command:

sudo apt-get install software-properties-common

Side note: in 11.04 they added a symlink to add-apt-repository so it can be run as apt-add-repository which totally makes more sense to me. Everything else apt starts with "apt".

NOTE: It's part of the python-software-properties package (before 13.10):

sudo apt-get install python-software-properties
Related Question