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.

Why everyone recommends using ppa?

For example...

Why not just:

sudo apt-get install grub-customizer

and why: Something like this...

sudo add-apt-repository ppa:xyz/grub-customizer
sudo apt-get update sudo
apt-get install grub-customizer

EDIT:Ok then how to remove ppa thats added before? is there any remove-like command?

Thanks

share|improve this question
1  
You can remove a PPA from the command line by typing sudo add-apt-repository --remove ppa:nameof/ppa. If you have installed a package from that ppa already and want to completely reverse the installation, ppa-purge is the option to go with. See here for more information: webupd8.org/2012/02/how-to-use-launchpad-ppa-add-remove.html –  Glutanimate Sep 16 '12 at 14:59
    
Nice. Thought the way I described in my answer was the only one. You never stop learning :-) –  André Stannek Sep 16 '12 at 15:11
    
Thanks guis....! –  Sam Sep 16 '12 at 15:21
add comment

2 Answers

up vote 6 down vote accepted

There are various reason why to use a ppa. Sometimes they offer newer version of packages than there are in the normal repositories. But mostly you will use a ppa for packages that aren't in the normal repositories at all. E.g. I can't find the grub-customizer in the normal repositories. I guess thats why someone recommended that ppa to you. Important is that you have to do the add-apt-repository only once. After that the packages from that ppa are available and updated the same way as the other ones.

EDIT

If you add a ppa a file is added to the folder /etc/apt/sources.list.d/. If you want to remove a ppa just delete that file (with sudo rm) and run sudo apt-get update. The packages you have installed using this ppa are not removed if you remove a ppa.

share|improve this answer
    
Thanks dude that's helpful info...:) –  Sam Sep 16 '12 at 14:49
add comment

PPA stands for Personal Package Archive. When you install a PPA to your system with the way you described above you actually tell your system to monitor a personal archive that has nothing to do with the official ubuntu sources. These PPAs can be created at the website https://launchpad.net

PPAs are recommended many times because they may contain the latest available software for a program while this latest version isn't on the software sources. Take for example the Gimp PPA at launchpad. It contains the single window version while it isn't still available through the official sources.

Be careful! Anybody can upload PPAs and they are completely untested! You have to be careful while you are installing PPAs because they don't necessarily contain tested software as the official sources do and may harm your computer. So, install only well known official and tested PPAs!

share|improve this answer
    
Thanks dude that's helpful info...:) –  Sam Sep 16 '12 at 14:49
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.