Saturday, March 16, 2019

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?



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

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...