Resolve “sudo: add-apt-repository: command not found”

Having a minimal Ubuntu installation, add-apt-repository is not available. The solution is to install python-software-properties:

sudo apt-get install python-software-properties
About these ads

3 Responses to Resolve “sudo: add-apt-repository: command not found”

  1. Jay says:

    I installed a clean 12.10 Server without any server packages installed, and even installing python-software-properties gave a command not found error when trying to do ‘add-apt-repository’.

    The solution turned out to be that I had to also install ‘software-properties-common’.

  2. Jeremy says:

    Thank you Jay that did the trick for, i had tried ‘python-software-properties’ because that’s what other people were saying to do, but your reply helped me! Thanks very much!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: