Where is my add-apt-repository in Ubuntu Server LTS 12.04 ?

Yes, where is it ?

biafra@vm:~$ sudo add-apt-repository ppa:rwky/redis
[sudo] password for biafra: 
sudo: add-apt-repository: command not found

So, you are using the latest stable and supported LTS server distribution from Ubuntu. And it doesn’t install the package to simplify the management of PPA repositories (Personal Package Archives). The de facto Ubuntu repository for all people.

They even state that in the help text:

Read about installing

“Read about installing”

But don’t despair! They could already had installed it with one of the upgrades but… They forgot it. add-apt-repository comes with package python-software-properties

$ sudo apt-get install python-software-properties

And now at last:

biafra@vm:~$ sudo add-apt-repository ppa:rwky/redis
You are about to add the following PPA to your system:
 Redis is a in memory persistent datastore. This is package kept up
to date with the latest stable version from http://redis.io it uses
an upstart script instead of an init script which fits nicely with
the newer ubuntu distributions.

For support email admin {at} rwky {dot} net

For support in other distributions please contact me at the above
address and I'll consider other builds if there is demand.

If you like this package please consider flattring me

Sponsored by @Food_Nation http://www.food-nation.co.uk/
 More info: https://launchpad.net/~rwky/+archive/redis
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmp48ytqX/secring.gpg' created
gpg: keyring `/tmp/tmp48ytqX/pubring.gpg' created
gpg: requesting key 5862E31D from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp48ytqX/trustdb.gpg: trustdb created
gpg: key 5862E31D: public key "Launchpad PPA for Rowan" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)

I hope this will help you like it helped me!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.