161

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?

Luis Alvarado
  • 211,503
  • in the latest version of synaptic you can add ppa's directly in the software sources instead of a deb line – Dirk Hartzer Waldeck Aug 02 '11 at 12:39
  • 1
  • @Doug's answer is correct for Ubuntu 16.04
  • @fossfreedom's answer is correct for Ubuntu 14.04 On Ubuntu 16.04 the right package is indeed software-properties-common, as shown by: $ type add-apt-repository add-apt-repository is hashed (/usr/bin/add-apt-repository) $ apt-file search /usr/bin/add-apt-repository software-properties-common: /usr/bin/add-apt-repository on previous versions it can be found indeed on python-software-properties ---
  • UPDATE: I comment it here, because I couldn't add it as a comment!

    – azbarcea Aug 03 '16 at 03:09
  • apt-add-repository works right out of the box. – Atif Aug 19 '16 at 00:40