Tuesday, December 8, 2015

How to add and remove PPA repository on Lubuntu


Besides install and uninstall program/software, you can also add and remove repository on lubuntu/ubuntu operating system. 

And sometimes the program that we need is available on PPA (Personal Package Archive). So in this article i will show you how to add and remove PPA repository on lubuntu

How to add launchpad PPA repository on lubuntu
You probably already done this couple of times now, specially if you following this blog from the beginning. To add PPA repository (or other repository) you can use the add-apt-repository command.

sudo add-apt-repository ppa:[name-of-the-ppa-repo]

for example:

sudo add-apt-repository ppa:gambas-team/gambas3

sudo add-apt-repository ppa:gezakovacs/ppa

Don't forget after adding new repository to the list, you need to run apt-get update before you can so that the list of software packages is up to date.

sudo apt-get update

How to remove launchpad PPA repository on lubuntu
You know how to add PPA repo, but i'm pretty sure you don't know how to remove it. To remove PPA repository simply add --remove parameter with the same command as you add the PPA repository.

sudo add-apt-repository --remove ppa:[name-of-the-ppa-repo]

for example:

sudo add-apt-repository --remove ppa:gambas-team/gambas3

sudo add-apt-repository --remove ppa:gezakovacs/ppa


Note that removing PPA repository from the list doesn't mean the software that's related to that repo is uninstall/removed. You still need to uninstall manually the software using apt-get purge command, like this:

sudo apt-get purge [name-of-the-program]

for example:

sudo apt-get purge gambas3


~ have a nice day ~

No comments:

Post a Comment