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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 24 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
    
This doesn't prove anything: e.g. /usr/bin/xzcat is a symlink to xz, but works quite differently. – Ruslan Feb 20 at 6:16

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.