You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



How to uninstall software

Author (Read 23854 times)

0 Members and 1 Guest are viewing this topic.

Re: How to uninstall software
« Reply #5 on: August 21, 2014, 10:30:19 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Reputation: 305
    • View Profile
    • Try to Grow

  • Kernel: 4.x
Thank You misko_2083
 

Re: How to uninstall software
« Reply #4 on: August 16, 2014, 07:36:51 AM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Another excellent post misko_2083  --  great job!
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: How to uninstall software
« Reply #3 on: August 15, 2014, 09:48:25 PM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 857
    Posts
  • Reputation: 186
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
Hi Misko. Great info. Thanks.
 

Re: How to uninstall software
« Reply #2 on: August 15, 2014, 04:59:22 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Another champion post :) Remember to click 'Thanks' for misko.
 

How to uninstall software
« Reply #1 on: August 15, 2014, 12:35:25 PM »
 

anon222

  • Muted
  • Gold Level Poster
  • *
  • 688
    Posts
  • Reputation: 192
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
Uninstalling software with synaptic package manager:
1. Open synaptic package manager
With menu (Install/Remove Software) or with this terminal command:
Code: [Select]
sudo synaptic2. 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.linuxliteos.com/forums/index.php?topic=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: [Select]
sudo apt-get remove package_name2. To remove package along with all configuration files, enter:
Code: [Select]
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: [Select]
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: [Select]
software-properties-gtk --open-tab=1Now 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:
Code: [Select]
sudo add-apt-repository --remove ppa:owner/ppaOptionally, you can delete the .list files from /etc/apt/sources.list.d directory. Not recommended for beginers!
Code: [Select]
ls /etc/apt/sources.list.dThen when you have noted the name of that PPA (e.g. targetppa.list), you can enter:
Code: [Select]
sudo rm -i /etc/apt/sources.list.d/targetppa.list
To find out the PPA to which a package belongs to, enter:
Code: [Select]
apt-cache policy package_nameFor example:
Code: [Select]
apt-cache policy umplayerOutput
-------------------------------------------------------------------------------------------------------------------
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: [Select]
sudo apt-get install ppa-purgePurging 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.
Code: [Select]
sudo ppa-purge ppa:owner/ppaYou can downgrade/remove all the packages from a repository with this command:
Code: [Select]
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: [Select]
make uninstallor
Code: [Select]
sudo make uninstallIf 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:
Code: [Select]
sudo apt-get install checkinstallInstead of
Code: [Select]
sudo make installyou will use
Code: [Select]
sudo checkinstallThe installed package can then also easily be removed via Synaptic or via Terminal.
« Last Edit: August 19, 2014, 08:29:56 PM by misko_2083 »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section