In ubuntu, PPA represents a non-stable version to be released, and many PPA sources are usually added if you try to release it.
For more information about PPA, see https://help.launchpad.net/Packaging/PPA
Two commands are introduced to add and delete PPA sources.
Add a PPA Source
Sudo add-Apt-repository PPA: User/PPA-name
For example, add Cairo-dock to weekly update source.
Sudo add-Apt-repository PPA: Cairo-dock-team/weekly/Ubuntu
Delete a ppa Source
1. Source Directory: CD/etc/APT/sources. List. d/
2. You can check the source file and delete it.
Instance: the installation of the PPA is incorrect, so that each update source will be loaded and cannot be downloaded,
For example, the following error occurs when executing the following command: sudo apt-Get update:
Error http://ppa.launchpad.net lucid/main packages 404 not found
W: cannot download http://ppa.launchpad.net/wengxt/fctix-nightly/ubuntu/dists/lucid/main/binary-i386/Packages.gz 404 not found
Just delete it according to the above method.
Http://lightdm.lofter.com/post/459eb_6951a
It is very easy to add PPA for Versions later than ubuntu9.10 and 9.10. You only need one command:
Sudo add-Apt-repository PPA: User/PPA-name
Replace PPA: User/PPA-name with the name to be added.
Take Ubuntu-tweak as an example:
First, go to the home page of ubuntu PPA:
Https://launchpad.net/ubuntu/+ppas
Search for tweak. The first one is:
Open the PPA and find the PPA name, that is, the selected part in the figure:
Replace the PPA: User/PPA-name in the original command with the selected part.
Run the following command:
Sudo add-Apt-repository PPA: tualatrix/next
Sudo apt-Get update
Sudo apt-Get install Ubuntu-tweak
You can start to install Ubuntu-tweak.
Ubuntu add PPA2011-12-251 heat