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.

From a user's point of view, they seem equivalent. Some programs can be installed via apt-get install after adding a link to the sources.list.

Others have to be installed by adding a ppa though command line, and as far as I can see, this method doesn't create an entry in the sources.list.

So there must be a technical difference? And, if at all, what is the difference between a PPA and a repository?

share|improve this question
add comment

2 Answers

up vote 6 down vote accepted

Adding via PPA does add a list. file in /etc/apt/sources.list.d, which is sourced by apt so there is a repository there.

The convenience that add-apt-repository provides is that it not only adds the source, it adds the GPG key of the repository so you don't have to do that manually.

share|improve this answer
    
So the only real difference is that adding via PPA adds an entry in form of a file in /etc/apt/sources.list.d, while adding a repository manually usually works by manipulating the /etc/sources.list as a file? That means that repository-links are saved in those two, different locations? –  Konstantin Sep 30 '12 at 0:34
    
Yep, that's it! –  Jorge Castro Sep 30 '12 at 12:10
add comment

Adding a PPA through command line does create an entry.

Command line:

sudo add-apt-repository ppa:webupd8team/jupiter
sudo apt-get update
sudo apt-get install jupiter

After adding the repository it shows up in Ubuntu Software Center:

enter image description here

share|improve this answer
    
I am testing 12.10 but this is the same for any older version that I know of (well maybe not Breezy ;) ) –  Rinzwind Sep 29 '12 at 22:44
    
Thank you for your effort! I was using the terminal and didn't discover any entry in the /etc/sources.list - file. It seems this is because the entries are made in separate files under /etc/sources.list.d/ –  Konstantin Sep 30 '12 at 0:39
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.