How to add ppa repositories? [duplicate]


This question already has an answer here:

How can PPAs be removed? 24 answers How can I fix a 404 Error when using a PPA or updating my package lists? 6 answers

You can easily remove software repositories from the "Ubuntu Software Center"

Open "Ubuntu Software Center"
- Edit Menu
--- Select "Software Sources...", enter your password
----- Select tab "Other Software"

From the "Other Software" tab you can add or remove repositories.

Or from the terminal -

sudo add-apt-repository -r ppa:

Or, edit the /etc/apt/sources.list to find your ppa there, and remove from there manually (or automatically).

Or, remove the ppa file from /etc/apt/sources.list.d in newer versions of Ubuntu.

You can use PPa Purge:

PPA Purge can remove a PPA and downgrade all the packages you've installed from that PPA to the official version in the Ubuntu...

0 0

Question: I added a third-party PPA repository on my Ubuntu box some time ago. How can I remove the PPA repository?

A Personal Package Archives (PPA) is a Ubuntu way to allow independent developers and contributors to build and distribute any custom packages as a third-party APT repository via Launchpad. If you are a Ubuntu user, chances are that you have added some popular third-party PPA repositories to your Ubuntu system. If you want to remove any pre-configured PPA repository, here is how to do it.

Suppose you have a third-party PPA repository named "ppa:webapps/preview" added on your Ubuntu system, as follows.

$ sudo add-apt-repository ppa:webapps/preview

If you want to delete a PPA repository alone, run the following command.

$ sudo add-apt-repository --remove ppa:someppa/ppa

Note that the above command does not touch any packages installed or upgraded from the PPA itself.

If you want to delete a PPA repository as well as...

0 0

Ubuntu based Linux distributions rely on a program called APT to handle package management. Using the command “apt-get”, you can install, remove and update other programs. The packages installed with APT are determined by software repositories, and while every Linux distribution has default repositories, you can also add or remove third-party sources.

To add a Personal Package Archive (PPA) to your Ubuntu server or virtual private server (VPS), run this command:

sudo add-apt-repository [ppa name]

For example, if the PPA is ppa:server/school, you would type:

sudo add-apt-repository pp:server/school

The output will look like this:

tavis@serverschool:~$ sudo add-apt-repository ppa:server/school

[sudo] password for tavis:

Server school is a fake program I made up for the purposes of this article

More info:

Press [ENTER] to continue or ctrl-c to cancel adding it

…followed by gpg...

0 0

This question already has an answer here:

I installed most software from the terminal. I saw that with some programs people give commands like this for example:

sudo apt-add-repository ppa:jfi/ppa sudo apt-get update sudo apt-get install psensor

But some just give commands like this:

sudo apt-get install psensor

If that is the case, and I want to add repository (so that program receives updates more quickly, if I understood it right), how do I know what comes after ppa:? How can I find that out?

From Launchpad:

Personal Package Archives (PPA) allow users to upload Ubuntu source packages to be built and published as an apt repository by Launchpad

Launchpad is a website developed and maintained by creators of Ubuntu that allows users to develop and maintain open-source software.

If you have found a nice PPA and you want to add it to your repository, this is the general format:

sudo add-apt-repository ppa:user/ppa-name


0 0


A Personal Package Archive (PPA) is a software repository for uploading source packages to be built and published as an APT repository. It is provided by Canonical (the company behind Ubuntu) and allows developers and enthusiasts to offer up-to-date versions of software to all Ubuntu users.

Use in MX Linux

Our policy is that we discourage installing Ubuntu packages on MX Linux as it can (and has) caused problems. However, MX Packagers can examine the components of the ppa to see if all their dependencies appear to be met, to look for anywhere Ubuntu and Debian have different names or locations for the libraries, and hunt for anything systemd related. So it would be prudent to ask them about particular repositories you are thinking of adding.


The open source video transcoder Handbrake releases nightly builds, and an interested user might want to get those through the standard package management system instead of downloading...

0 0

How to install Y PPA Manager in Ubuntu Linux. Using Y PPA Manager on Ubuntu, add PPA manually, delete PPA ( remove repository in Ubuntu). Using PPA Manager, one can add Ubuntu PPAs graphically with Y PPA Manager. Not only this users can easily remove Ubuntu PPAs or Purge Ubuntu PPAs with Y PPA Manager.

Install Y PPA Manager

Y PPA Manager is a powerful PPA Manager tool. It features “Add PPA”, “Remove PPA” and “Purge PPA.” It can also be used to search all the available PPAs installed on the system. In short, Y PPA Manager is a powerful and must-have tool to workon PPAs in Ubuntu Linux.

Y PPA Manager can be installed on Ubuntu Linux Systems, via Wget Terminal command:

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

Once installed, open Y PPA manager from Ubuntu Dash or Terminal.

Using Y PPA Manager

Open PPA Manager and you will see a list...

0 0

I (thought that I) needed to add a ppa repo to a crunchbang, (debian) install:
(N.B. "raring" is the ubuntu version that matched the version of debian that I was using) so I did:

sudo su - # you can call the file anything that you want, but it has to end with .list to be a valid for apt-get echo 'deb raring main'>> /etc/apt/sources.list.d/boot-repair.list # get the keys for that repo so that apt can verify the signed .deb files wget apt-key add Release.gpg #gpg --search-keys 60D8DA0B apt-get update

Most of this is explained on the boot-repair page, (though in the end testdisk and then Gparted were what I actually needed to restore a lost partition and a corrupted MBR.) This probably isn't The Debian way (TM) but it worked for me.

Some debian repos are the "old style" and then you only need a line like:

0 0

Question: I configured so many third-party repositories and PPAs on my Ubuntu system that I lost their count. How can I get a list of all repositories and PPAs configured on my Ubuntu?

To view all available repositories and PPAs configured on Ubuntu, you can use apt-cache command. This command is typically used to query local APT package cache to obtain various package/repository related meta data.

In particular, used with policy option, apt-cache command retrieves priorities associated with each repository resource. From its output, you can infer a list of all available repositories and PPAs.

For example:

$ apt-cache policy

The above output shows a list of repository sources and their priorities (first column). This output lists duplicate sources (e.g., for 32-bit and 64-bit packages).

To discount the duplicates and get a more human-readable list of repositories, you can refine the above output as follows.

$ apt-cache...

0 0


To get a list of packages available in a PPA / repository enabled on your system (if the repository is disabled or not added on your system, it won't show up here), firstly install Synaptic if you haven't already:

sudo apt-get install synaptic

(or install

Synaptic GTK3


Then open Synaptic, select "Origin" on the bottom left, then select a PPA or repository on the left and it should list all packages in that PPA / repository for your Ubuntu version, both installed and not installed:

In the latest Synaptic built with GTK3, there are two entries for each PPA here, one that uses "/now" at the end, which displays the packages you've installed from a repository and another one which displays all the packages available in that repository.

Important: if the exact same package (including the package version) exists in two or more PPAs / repositories, it will only be listed for one repository entry in Synaptic. That's why I've added...

0 0