Difference between “ppa-purge” and “add-apt-repository -r”?


For what I understand, the difference is what they do after removing the PPA.

ppa-purge - Disables a PPA and reverts to the official packages if applicable. For example, if I added the xorg-edgers PPA and installed the Nvidia drivers, if I do a ppa-purge on said PPA, it would not only disable the xorg-edgers PPA but also revert the NVIDIA drivers from the one in the PPA to the official ones found on the official Ubuntu repositories.

add-apt-repository -r - Will only remove the said PPA. Will not revert any packages.

The case scenarios might be:

When you want to keep a package from a PPA but want to remove the actual PPA. For example, if you wanted to add the Ubuntu Tweak Package from a PPA but then wanted to remove the PPA, you would use add-apt-repository which will leave Ubuntu Tweak installed.

When you want to go back to an official package and stop using a PPA that has updated/experimental packages (Like Kernel version packages, Proprietary...

0 0

Hello Linux Geeksters. As you may know, both ppa-purge and add-apt-repository -r are used for removing added PPAs, but the the two behave different.

In this article I will show you the difference between the ppa-purge and add-apt-repository -r commands. This guide works Ubuntu, Linux Mint, Elementary OS and all their derivative systems that know how to handle PPAs.

The “add-apt-repository -r” command disables some repository, but does not do anything with the packages installed from it

While add-apt-repository adds PPAs to the system, add-apt-repository -r disables the PPA from /etc/apt/sources.list or /etc/apt/sources.list.d/* but does not do anything with the packages installed from the PPA.

Usage example:

How to enable the “ppa:test/ppa” PPA (and update the local repository index, in order to apply the changes):

$ sudo add-apt-repository ppa:test/ppa
$ sudo apt-get update

How to disable the “ppa:test/ppa” PPA...

0 0

Brief: This article explains the difference between apt and apt-get commands of Linux. It also lists some of the most commonly used apt commands that replace the older apt-get commands.

One of the noticeable new features of Ubuntu 16.04 was the ‘introduction’ of apt command. The reality is that the first stable version of apt was released in the year 2014 but people started noticing it in 2016 with the release of Ubuntu 16.04.

It became common to see apt install package instead of the usual apt-get install package. Eventually, many other distributions followed Ubuntu’s footsteps and started to encourage users to use apt instead of apt-get.

You might be wondering what’s the difference between apt-get and apt? And if they have a similar command structure, what was the need for the new apt command? You might also be thinking if apt is better than apt-get? Should you be using the new apt command or stick with the good old apt-get commands?

I’ll explain all...

0 0

You probably know that starting with Ubuntu Karmic, you can add a Launchpad PPA using a simple command:

sudo add-apt-repository ppa:THE_PPA

Where "THE_PPA" is the Personal Package Archive you want to add, for instance ubuntu-mozilla-daily, etc.

To remove a PPA via the command line, you can use the same "add-apt-repository" command with the "-r" parameter, which will remove the PPA:

sudo add-apt-repository -r ppa:/

For instance, to remove the ubuntu-mozilla-daily PPA, use:

sudo add-apt-repository -r ppa:ubuntu-mozilla-daily/ppa
This only removes the PPA, which means you'll no longer receive updates from that PPA, but it doesn't affect the packages installed from that PPA.

If you want to remove the PPA but also downgrade all the packages installed from that PPA, you can use PPA Purge.

PPA Purge is available in the official Ubuntu repositories to so install it, use the following command:
sudo apt-get install ppa-purge


0 0
They do completely different things.

apt-get remove will un-install a package but leave all of it's configuration files in place. If you re-install the package later all your settings will still be intact.

apt-get purge does the same as above but also removes all of the configuration files.

apt-get autoremove is used without specifying a package. It removes any packages on your system that are no longer needed. As an example if I install package A, it might install packages B and C as dependencies. Simply un-installing package A doesn't automatically un-install packages B and C as well, they are left installed. apt-get autoremove searches your system for packages that have been installed as dependencies but are no longer used and removes them.

This is one of the reasons that I use the aptitude command instead of apt-get, it automatically takes care of this for you whenever you un-install...

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

I added a ppa repository. You can add any to reproduce this problem.

I then tried to remove it with 'add-apt-repository -r'. no such option.

abaddon vinnie # sudo add-apt-repository -r ppa:noobslab/apps-dependencies
Usage: add-apt-repository [options] repository

add-apt-repository: error: no such option: -r
abaddon vinnie # man add-apt-repository | grep -i remove
or /etc/apt/sources.list.d or removes an existing one
removes an already existing repository.
-r, --remove Remove the specified repository
abaddon vinnie # ppa-purge ppa:noobslab/apps-dependencies
ppa-purge: command not found
abaddon vinnie # apt-get install ppa-purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ppa-purge
abaddon vinnie # apt-cache search ppa-purge
abaddon vinnie # uname -a
Linux abaddon.vchapman.info 3.11-2-amd64 #1 SMP Debian 3.11.8-1...

0 0

Ubuntu 16.04 is out now, and it’s packed with exciting new changes. You have snap packages, BSD’s popular file system – ZFS – and other things. One thing you might not have heard about, as little things tend to get lost in the fray, is Apt.

What’s Apt? It’s a new package manager for Ubuntu that is poised to take over for “Apt-get.” It’s built to be more efficient, more secure, and more user friendly. So what is Canonical thinking by introducing Apt? Are there any real differences between Apt and Apt-get? Let’s find out!

Apt was introduced in 16.04 to simplify the package manager and to merge multiple commands into one single command. The functions from “apt-get” have been taken and have been created to function in similar ways in Apt.

Despite the fact that these new Apt commands are created to function similar to the old Apt-get commands, these new commands are not calling the old ones. They’re completely new – fresh commands to interact with...

0 0

If you want to undo add-apt-repository, having used a format like e.g.

sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"

Use the output displayed by the following command to find the repository you want to delete

grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/*

Example output:

/etc/apt/sources.list:#deb cdrom:[Linux Mint 17.3 _Rosa_ - Release amd64 20151128]/ trusty contrib main non-free /etc/apt/sources.list.d/additional-repositories.list:deb [arch=amd64] https://download.docker.com/linux/ubuntu trusty stable ...

In this example /etc/apt/sources.list.d/additional-repositories.list would have the repository to undo/remove. Edit the file and remove its...

0 0

Ubuntu vs Linux

Are you a Windows or a MAC person?

This question is often asked among personal computer users. Both are tremendously popular Operating Systems (OS), but true techies have knowledge of other systems, or at least take other systems into consideration. Linux is a less known operating system, but nevertheless threatens Windows and MAC manufacturers, mainly because they are free.

Linux is actually a generic name used to refer Unix-like operating systems. However, it is distinct due to its use of the ‘Linux Kernel’, which was originated by Linus Torvalds in 1991. Linux is the foremost example of an ‘open source software’. The programming or source code is freely used, modified and redistributed.

Linux systems can be installed in various computer hardware, such as smartphones, laptops, PDA, and so forth. The use of Linux is very prevalent in servers. It is even reported that in 2008, at least 60 percent of web servers worldwide was run on Linux...

0 0

Main Difference

From user’s point of view, there isn’t much difference in these tools. The RPM and DEB formats are both just archive files, with some metadata attached to them. They are both equally arcane, have hardcoded install paths and only differ in subtle details. DEB files are installation files for Debian based distributions. RPM files are installation files for Red Hat based distributions. Ubuntu is based on Debian’s package manage based on APT and DPKG. Red Hat, CentOS and Fedora are based on the old Red Hat Linux package management system, RPM.


DEB is the extension of the Debian software package format and the most often used name for such binary packages. DEB was developed by Bedian


It is a package management system. The name RPM variously refers to the .rpm file format, files in this format, software packaged in such files, and the package manager itself. RPM was intended primarily for Linux distributions; the file format...

0 0
0 0

In this tutorial we will see the commands used in the Ubuntu terminal to remove / purge PPAs installed from unofficial sources using this command:

sudo add-apt-repository ppa:[PPA]

Method 1

Let's suppose we have installed a PPA with this command:

sudo apt-add-repository ppa:user/repos

To delete this PPA, we need to use this command:

sudo apt-add-repository -r ppa:user/repos

Then update your rpository list with this command:

sudo apt-get update

Method 2

This method consists of using the "ppa-purge" command line utility for removing PPAs. You can install it with this command:

sudo apt-get install ppa-purge

Then remove any PPA with following command:

sudo ppa-purge ppa:user/repos

Then do an update with the following command:

sudo apt-get update


0 0

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

PPA is a unique software repository intended for non standard software/updates; it helps you to share out software and updates directly to Ubuntu users.

All you need to do is create your source package, upload it and Launchpad will build binaries and then host them in your own apt repository. This makes it is easy for Ubuntu users to install your packages in the same way they install standard Ubuntu packages, and importantly, they will automatically get updates once you make them available.

In this article, we will show you various ways of adding or removing a PPA to or from software sources respectively in Ubuntu Linux and it’s derivatives such as Linux Mint, Lubuntu, Kubuntu etc.

Add PPA via GUI Using Software Sources

In Ubuntu search for “Software & Updates” and in Linux Mint, search for “Software Sources”...

0 0

aptitude remebers which packages you deliberately installed and which have been automatically installed to satisfy dependencies. Upon removal of a package aptitude will remove those automatically installed packages to keep your system tidy. apt-get isn't that smart.

aptitude will quickly become an indispensable tool once you use different repositories with different versions of a package. Imagine you are working with backports.org or inofficial repositories like debian-multimedia.org. Then aptitude will show (at the bottom of the details page of a certain package) the available version number and allow you to select one.

If you get into a situation where programs conflict due to such usage of inofficial repositories you will see a "Broken: ..." display on the top. You can type l~b (limit / flag / broken) and just get a list of packages that conflict with each other. Makes it much easier to resolve the conflict manually.

Futhermore you can use "l" to limit the...

0 0

Have you ever upgraded an application via PPA that makes trouble? For example, upgrading Firefox that causes add-ons incompatibility and you want to have your "old" version back? If so, you are in the right place. Today, I'd like to write a post intended for newbie in Linux on how to use PPA Purge. What is PPA Purge? It's an application which lets you to downgrade your installed application to its "original" version from Ubuntu repository. It is like a first-aid-kit when you are going mad encountering many problems after upgrading application from PPA Launchpad.

Installing on Ubuntu
PPA Purge is available in official Ubuntu repository, so you can install it by typing the following command:

sudo apt-get install ppa-purge How To Use PPA Purge

For example, you've upgraded Mozilla Thunderbird from PPA with this command:

sudo add-apt-repository ppa:mozillateam/thunderbird-next

To downgrade Mozilla Thunderbird from the above PPA, you should run this...

0 0

Provided by:



ppa-purge - disables a PPA and reverts to official packages


ppa-purge [-h | [-d ] [-s ] [-p ] ]>]


This script provides a bash shell script capable of automatically downgrading all packages in a given PPA back to the ubuntu versions. You have to run it using root privileges because of the package manager.


-h Display usage help. -p PPA name Name of the PPA to be reset, the default value is ppa. -s PPA host Address of the repository server, the default value is ppa.launchpad.net.


This manual page is Copyright 2010 Lorenzo De Liso . Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software...
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


When a user is first introduced to Linux, they might be told they’re using Linux, but they’ll quickly learn that it’s called something else. Yes, Ubuntu, Fedora, Linux Mint, Debian, openSUSE, and so many others are all variants of Linux, or “Linux distributions”. That’s cool and all, but if you give it a little thought, you’ll be asking yourself why there are so many different distributions in existence, especially if they’re all Linux anyway.

Windows has multiple editions, but they aren’t marketed as entirely separate operating systems, Mac OS X only has a single variant (at least for the desktop). So why are there so many different Linux distributions?

The Linux Kernel

Since all Linux distributions are still considered to be Linux, that means there’s at least something that they have in common, and that would be the Linux kernel. This piece of software is the core of the operating system – it bridges conventional software that...

0 0

ver time I have added way too many PPAs using the add-apt-repository command on Ubuntu Linux 16.04 LTS server for testing purpose. How can I delete or remove those PPAs? Is there a command to list all PPAs?

Yes, you can delete or remove a PPA. You must have root privileges to achieve this task.

What is a PPA?

A PPA is an acronym for Personal Package Archive. It is nothing but pre-built binary software repository for apt packages. The author uploads source code and packages are built online using Launchpad.

How to list all installed PPAs

Type the following command:
$ grep ^ /etc/apt/sources.list.d/*
Sample outputs:

How to delete/remove PPAs

The syntax is:
sudo add-apt-repository --remove ppa:name/here
To remove PPA named ppa:gluster/glusterfs-3.9. However, before removing PPA delete all packages installed from the same PPA using apt-get command/apt command:
$ apt-get --purge remove...

0 0

- a place where something is stored, sure, but it is rooted in the word depose, so the depositor is giving it over. What is returned is something that is contractually equivalent to what was deposited... deposit a $100 bill, get a $100 back, but probably not that exact same $100 bill or it could 5 x $20's, 10 x$10's, etc... In the case of a run on the bank, you may not get it back at all... again it is the contractual agreement that determine liability of the depository.

repository - a place where something is stored, but generally that exact item or likeness (in the digital world) is returned. A warehouse is a repository. In the case where the warehouse burns down, the caretaker of the reposited items is on the hook for the value of the items.



0 0
Key difference: The major difference that comes up while discussing Windows and Linux is the fact that Windows is a commercial operating system, while Linux is an open source operating system.

Windows and Linux are both types of operating systems. An operating system is a collection of software that manages computer hardware resources. It also provides common services for computer programs. The operating system is a vital part of the computer system software, without which the application programs will not function.

The major difference that comes up while discussing Windows and Linux is the fact that Windows is a commercial operating system, while Linux is an open source operating system. Essentially this means that Windows costs a lot of money while, Linux is free.

Windows is a graphical interface operating system developed, marketed, and sold by Microsoft. It was first launched on November 20, 1985 as an add-on to MS-DOS due to the growing interest in...

0 0