LINUX - PPA commands

COPY OF SITE - I have an OCD thing about thinking peoples sites might be down one day, so I copy paste the material out, but I still give full credit where its due, in this case its all due to the owner of the site: INSERT-URL-HERE - In no way am I claiming this as my own information, this is just a reference to a good site that I wanted to share, plus it probably increase that sites hits - If this is something bad and you dont want me to include this, let me know my contact information is all over this blog. opps@kossboss.com will get to me.

EVERYTHING HERE IS FOR MY OWN REFERENCE
I DIDNT AUTHOR THE BELOW MATERIAL, ALL CREDIT GOES TO:
http://www.webupd8.org/2012/02/how-to-use-launchpad-ppa-add-remove.html


PPAs
####

NOT FOR DEBIAN!!

Here we are, talking about installing stuff from PPAs, but we've never posted more about the PPAs themselves. So here's a short guide on how to use a Launchpad PPA in Ubuntu.
Launchpad PPAs ("Personal Package Archive") are repositories hosted on Launchpad which you can use to install (or upgrade) packages that are not available in the official Ubuntu repositories.
The packages are built on the Launchpad servers (not on the users' computers), for the specified Ubuntu version(s). Because the packages are built against a certain Ubuntu version, it's not recommended to use them in Debian for instance (they might not be compatible and can cause conflicts).

Make sure your sudo before every command or running as root for all of this.

Missing add-apt-repository? Need the package?
apt-get install python-software-properties

===How to add?===
add-apt-repository ppa:someppa/ppa
add-apt-repository ppa:webupd8team/gnome3

Dont forget to:
apt-get update

===How to Remove?===
add-apt-repository --remove ppa:someppa/ppa
add-apt-repository --remove ppa:webupd8team/gnome3

===How to Purge?===
ppa-purge ppa:someppa/ppa
ppa-purge ppa:unity-team/staging

===The PPA .list file===
When you add a PPA, a new .list file is created under /etc/apt/sources.list.d/. The files are named based on the PPA name and your Ubuntu version, like this: "someppa-ppa-oneiric.list".

===How to disable a PPA===
Disabling a PPA means you won't receive any updates from that PPA anymore, but it does not remove any installed / upgraded packages. The advantage of disabling a PPA instead of removing it is that you can easily re-enable it.
To disable a PPA, open Software Sources (Ubuntu Software Center > Edit > Software Sources) and uncheck the box next to the PPA you want to disable. Remember to disable both lines: the main and the source code line.
In the same way you can also re-enable a PPA.

===How to purge a PPA===
Purging a PPA means not only to disable the PPA, but also to downgrade any packages you've upgraded from that PPA, to the version available in the official Ubuntu repositories.
apt-get install ppa-purge
ppa-purge ppa:someppa/ppa
ppa-purge ppa:unity-team/staging

SelectionFile type iconFile nameDescriptionSizeRevisionTimeUser
Comments