08-15-2014, 04:35 PM
Uninstalling software with synaptic package manager:
1. Open synaptic package manager
With menu (Install/Remove Software) or with this terminal command:
2. Search for software in the search box.
3. Right click each software you want to uninstall and mark them for removal. If you want to remove the software along with configuration files mark them for complete removal.
4. After marking for removal, click on Apply to start uninstalling all the marked applications.
Uninstalling applications with Terminal:
Before you start to uninstall applications, you must find out the exact package name of the application you are about to remove.
Check this tutorial to see how to use apt-cache and aptitude to find out the exact applications's package name:
https://www.freecinema2022.gq/forums/index...opic=734.0
There are two ways to do this:
1. To remove package enter this command: (Replace package_name with the package name of the application you want to remove)
2. To remove package along with all configuration files, enter:
autoremove is used to remove packages that were automatically installed to satisfy dependencies for other packages and are now no longer needed.
How to remove PPA's:
Before you remove or disable PPA's you need to know a few things.
Make sure you only disable or remove PPA's you added, not any others that came with your distribution.
Disabling a PPA means you won't receive any updates from that PPA anymore, but it does not remove any installed / upgraded packages.
The advantage of disabling a PPA instead of removing it is that you can easily re-enable it.
If you remove them you will not receive any critical system updates and you will not be able to install any applications from that PPA.
Be careful about removing PPA's. If you remove a PPA and the application is not removed, you won't get updates for that application automatically (or at least not when you do sudo apt-get upgrade). You will not receive updates and security fixes, bug fixes, etc. You can do it, but is on your own risk.
There are two ways to do this:
1. Using the graphical user interface:
Run this command to start Software & Updates GUI
Now you can disable or remove PPA's.
To disable a PPA, uncheck the box next to the PPA you want to disable.
Remember to disable both lines: the main and the source code line.
In the same way you can also re-enable a PPA.
To remove a PPA, select the ones you want to remove and click on Remove.
2. Removing PPA from the command line:
To remove PPA's use the --remove flag, similar to how the PPA was added:
Optionally, you can delete the .list files from /etc/apt/sources.list.d directory. Not recommended for beginers!
Then when you have noted the name of that PPA (e.g. targetppa.list), you can enter:
To find out the PPA to which a package belongs to, enter:
For example:
Output
-------------------------------------------------------------------------------------------------------------------
umplayer:
Installed: 0.98-1~trusty~NoobsLab.com
Candidate: 0.98-1~trusty~NoobsLab.com
Version table:
0.98-1~trusty~NoobsLab.com 0
500 http://ppa.launchpad.net/noobslab/apps/ubuntu/ trusty/main i386 Packages
------------------------------------------------------------------------------------------------------------------
From this we can see that the ppa is ppa:noobslab/apps
If it is missing you have probably installed it using .deb method or from source or you removed/disabled the PPA.
How to purge a PPA
If it's not installed, first you must install ppa-purge.
Purging a PPA means not only to disable the PPA, but also to downgrade any packages you've upgraded from that PPA, to the version available in the official distribution's repositories.
If there are no such packages in the distribution's repositories they will be removed.
In order to purge a PPA type the folowing command, just change the owner/ppa to whatewer you need.
You can downgrade/remove all the packages from a repository with this command:
How to uninstall software you installed from source code:
cd into the directory you compiled the application an then enter:
or
If the app was installed as root.
But this will work only if the developer of the package has taken care of making a good uninstall rule.
In the future to avoid that kind of problems try to use checkinstall instead of make install when you compile an aplication whenever possible.
It will create and install a deb file that you can then uninstall using your favorite package manager.
To install checkinstall, enter:
Instead of
you will use
The installed package can then also easily be removed via Synaptic or via Terminal.
1. Open synaptic package manager
With menu (Install/Remove Software) or with this terminal command:
Code:
sudo synaptic
3. Right click each software you want to uninstall and mark them for removal. If you want to remove the software along with configuration files mark them for complete removal.
4. After marking for removal, click on Apply to start uninstalling all the marked applications.
Uninstalling applications with Terminal:
Before you start to uninstall applications, you must find out the exact package name of the application you are about to remove.
Check this tutorial to see how to use apt-cache and aptitude to find out the exact applications's package name:
https://www.freecinema2022.gq/forums/index...opic=734.0
There are two ways to do this:
1. To remove package enter this command: (Replace package_name with the package name of the application you want to remove)
Code:
sudo apt-get remove package_name
Code:
sudo apt-get purge package_name
autoremove is used to remove packages that were automatically installed to satisfy dependencies for other packages and are now no longer needed.
Code:
sudo apt-get autoremove
How to remove PPA's:
Before you remove or disable PPA's you need to know a few things.
Make sure you only disable or remove PPA's you added, not any others that came with your distribution.
Disabling a PPA means you won't receive any updates from that PPA anymore, but it does not remove any installed / upgraded packages.
The advantage of disabling a PPA instead of removing it is that you can easily re-enable it.
If you remove them you will not receive any critical system updates and you will not be able to install any applications from that PPA.
Be careful about removing PPA's. If you remove a PPA and the application is not removed, you won't get updates for that application automatically (or at least not when you do sudo apt-get upgrade). You will not receive updates and security fixes, bug fixes, etc. You can do it, but is on your own risk.
There are two ways to do this:
1. Using the graphical user interface:
Run this command to start Software & Updates GUI
Code:
software-properties-gtk --open-tab=1
To disable a PPA, uncheck the box next to the PPA you want to disable.
Remember to disable both lines: the main and the source code line.
In the same way you can also re-enable a PPA.
To remove a PPA, select the ones you want to remove and click on Remove.
2. Removing PPA from the command line:
To remove PPA's use the --remove flag, similar to how the PPA was added:
Code:
sudo add-apt-repository --remove ppa:owner/ppa
Code:
ls /etc/apt/sources.list.d
Code:
sudo rm -i /etc/apt/sources.list.d/targetppa.list
To find out the PPA to which a package belongs to, enter:
Code:
apt-cache policy package_name
Code:
apt-cache policy umplayer
-------------------------------------------------------------------------------------------------------------------
umplayer:
Installed: 0.98-1~trusty~NoobsLab.com
Candidate: 0.98-1~trusty~NoobsLab.com
Version table:
0.98-1~trusty~NoobsLab.com 0
500 http://ppa.launchpad.net/noobslab/apps/ubuntu/ trusty/main i386 Packages
------------------------------------------------------------------------------------------------------------------
From this we can see that the ppa is ppa:noobslab/apps
If it is missing you have probably installed it using .deb method or from source or you removed/disabled the PPA.
How to purge a PPA
If it's not installed, first you must install ppa-purge.
Code:
sudo apt-get install ppa-purge
If there are no such packages in the distribution's repositories they will be removed.
In order to purge a PPA type the folowing command, just change the owner/ppa to whatewer you need.
Code:
sudo ppa-purge ppa:owner/ppa
Code:
sudo ppa-purge -i ppa:owner/ppa
How to uninstall software you installed from source code:
cd into the directory you compiled the application an then enter:
Code:
make uninstall
Code:
sudo make uninstall
But this will work only if the developer of the package has taken care of making a good uninstall rule.
In the future to avoid that kind of problems try to use checkinstall instead of make install when you compile an aplication whenever possible.
It will create and install a deb file that you can then uninstall using your favorite package manager.
To install checkinstall, enter:
Code:
sudo apt-get install checkinstall
Code:
sudo make install
Code:
sudo checkinstall