Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it safe to delete the PPA after successful installation of the package? For example: Yesterday, I put a PPA in the list cause of the Trackpad function. Now, it works, but will it work when I delete it?

In my understanding PPAs are just the sources for the packages and after installation there is no need for them, is this right?

share|improve this question
up vote 11 down vote accepted

Adding a PPA to our sources give us the advantage to install newer application versions that did not yet find their way into the official repositories.

However by doing so we may also introduce instabilities from not yet fully tested releases.

In case we keep the PPA active this will also automatically install any software upgrade that was provides from this PPA. By this new bugs may be introduced. It is therefore good practice to inactivate a PPA after we had successfully installed a package we are happy with.

This can be done by just unticking a PPA from Software & Updates. By this we can easily activate it again in case we want to upgrade later:

enter image description here

Only if we are sure that we always want a fresh new release of any package, and the PPA will not provide updates for other packages we may keep it active.

Few PPAs will also provide security updates. In this case we also may want to keep the PPA active. However in general having packages from a PPA is not without risk.

share|improve this answer
But some of those updates will be security updates. Aren't we disabling them by doing this? – VarunAgw Jan 6 at 16:17
@VarunAgw: well, with a PPA that solely depends on the maintainers. There is no additional security team who checks the contents of a PPA anyway. – Takkat Jan 6 at 16:22
I mean the cases where maintainer update the PPA with security updates himself. Some maintainers are very active and keep pushing updates regularly – VarunAgw Jan 6 at 16:36

If you delete the PPA then you'll still able to use the application normally since the PPA is just a software resource nothing more.Read More

But, you may use the PPA for next release, updates ,security , bug fix, patches, etc...

So, it's better not to delete the PPA if you want to be up to date with these software

share|improve this answer
Thank you for the detailed answer. Can I delete the Sources? I seriously can't work with them. – cmyk Jan 6 at 8:44
What do you mean by sources? The source code? if you mean source code, sure you can delete but you may need it if you want to remove the app later – Maythux Jan 6 at 8:45
Is it not possible to purge the app without the Sourcecode? – cmyk Jan 6 at 8:47
No, unless you know where all files related to this packegs are so you can remove manually but this would be exhausting and unreliable – Maythux Jan 6 at 8:49
Very ver helpful. Thank you :) – cmyk Jan 6 at 9:30

Is it safe to delete the PPA after successful installation of the package?

Depending on what you consider "safe". Yes, you can delete any software repository from your sources.list you wouldn't notice. But, you also will be unable to upgrade the packages from that repository, which may offer bugfixes or security patches.

It is recommended that unless you have a very good reason, you keep the repositories on your sources.list (apt 1.1.10+ changes the strategy to update package lists, which improves performance) and allow upgrades. If you want to keep a package on a specific version, you may instead prevent upgrades of that specific package until you are ready to upgrade it, without affecting other packages that the repository provides.

Note that it is normally unnecessary to remove a line of the sources.list since you can comment it out (# at the start of the line), which prevents you from forgetting from what repository you installed a specific package.

PPA's maintainers are known for not following the packaging guide thoughtfully which may cause problems. If you are able to get the package through Ubuntu's own repositories, you are less risky of running into problems.

share|improve this answer

Your Answer


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.