Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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) –  Naruto Nov 28 '11 at 23:02
add comment

2 Answers

up vote 14 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
add comment

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
add comment

Your Answer

 
discard

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.