Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Difference between add-apt-repository & apt-add-repository ?

share|improve this question
first time to know that there is a apt-add-repository command i always see it add-apt-repository, it is good as i always use command in the form of sudo apt-get update and sudo apt-get upgrade and apt-add-repository has the same form (Good) – Black Block Nov 28 '11 at 23:02

2 Answers 2

up vote 21 down vote accepted

They're the same command, someone just added the inverse because people kept mixing the command up and typing it wrong.

share|improve this answer

An easy way to find this out would have been:

minibun:~> ls -l `which apt-add-repository`
lrwxrwxrwx 1 root root 18 2011-08-26 15:36 /usr/bin/apt-add-repository -> add-apt-repository

You can see that apt-add-repository is simply a symlink to add-apt-repository :)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.