What's the best practice for uninstalling software I installed myself?  [Solved]

Message
Author
cbiweb
Posts: 46
Joined: Sun May 15, 2022 6:23 pm

What's the best practice for uninstalling software I installed myself?

#1 Post by cbiweb »

Software that's not in the packager manager, that I had to manually install, what's the procedure to uninstall it?

I'm not seeing any type of uninstall options, so do I simply delete the folders that contain the app?

User avatar
pianokeyjoe
Posts: 420
Joined: Thu Jan 31, 2019 11:08 am

Re: What's the best practice for uninstalling software I installed myself?

#2 Post by pianokeyjoe »

cbiweb wrote: Thu May 19, 2022 10:57 am Software that's not in the packager manager, that I had to manually install, what's the procedure to uninstall it?

I'm not seeing any type of uninstall options, so do I simply delete the folders that contain the app?
The best way to install or uninstall software is synaptic package manager(especially for uninstalling software!!). If you only want to install software you have the choice of MX package manager AND synaptic Package manager. If you are more DOS/command line saavy, then apt command is best for installing and removing software. Simply deleting the app folders will break your system.

IF the software you install is a FLATPAK or SNAP or APPIMAGE then usually those you just delete the app and folder and related files, like in Ubuntu. BUT, may be best to use MXpackage manager under flatpak tab to install and remove the software. Linux is not MacOS classic where you can just delete an app by deleting the app folder and related library files.
Pianokeyjoe
Intel i5 3.10ghz ,8GB ram, Intel onboard everything, 500GB HDD, MX-LINUX 19.3 :penguin:

Outlander
Posts: 33
Joined: Thu May 12, 2022 9:44 pm

Re: What's the best practice for uninstalling software I installed myself?

#3 Post by Outlander »

When it comes to using apt on the command line, I think it's best to use "apt autoremove" as that will also remove orphaned packages that were pulled as dependencies during install. Be careful when running this, though, as it may remove some recommended packages that you want.

User avatar
j2mcgreg
Global Moderator
Posts: 7133
Joined: Tue Oct 23, 2007 12:04 pm

Re: What's the best practice for uninstalling software I installed myself?

#4 Post by j2mcgreg »

cbiweb wrote: Thu May 19, 2022 10:57 am Software that's not in the packager manager, that I had to manually install, what's the procedure to uninstall it?

I'm not seeing any type of uninstall options, so do I simply delete the folders that contain the app?
Probably

Code: Select all

apt remove package-name
But read this first to be sure:
https://dannyda.com/2021/08/19/whats-th ... linux-etc/
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

cbiweb
Posts: 46
Joined: Sun May 15, 2022 6:23 pm

Re: What's the best practice for uninstalling software I installed myself?

#5 Post by cbiweb »

pianokeyjoe wrote: Thu May 19, 2022 11:45 am
cbiweb wrote: Thu May 19, 2022 10:57 am Software that's not in the packager manager, that I had to manually install, what's the procedure to uninstall it?

I'm not seeing any type of uninstall options, so do I simply delete the folders that contain the app?
The best way to install or uninstall software is synaptic package manager(especially for uninstalling software!!). If you only want to install software you have the choice of MX package manager AND synaptic Package manager. If you are more DOS/command line saavy, then apt command is best for installing and removing software. Simply deleting the app folders will break your system.

IF the software you install is a FLATPAK or SNAP or APPIMAGE then usually those you just delete the app and folder and related files, like in Ubuntu. BUT, may be best to use MXpackage manager under flatpak tab to install and remove the software. Linux is not MacOS classic where you can just delete an app by deleting the app folder and related library files.
Even though the very first words of my post was "Software that's not in the packager manager...". :rolleyes:

User avatar
timkb4cq
Developer
Posts: 3620
Joined: Wed Jul 12, 2006 4:05 pm

Re: What's the best practice for uninstalling software I installed myself?  [Solved]

#6 Post by timkb4cq »

It depends on how you installed the particular software.
If you compiled it yourself (./configure && make && make install) then you can try returning to the build folder & running make uninstall. Not all programs include an uninstall make option but it's worth a try.
If you just unpacked a tarball to a location, you can go delete all those files.
If it's some other way, please give details.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
towwire
Posts: 688
Joined: Fri Oct 15, 2010 12:15 pm

Re: What's the best practice for uninstalling software I installed myself?

#7 Post by towwire »

You used a deb to install it, then it will be in Synatpic where you can uninstall or the CLI.

Code: Select all

apt remove package-name
It is easier to fight for one's principles then to live up to them.

cbiweb
Posts: 46
Joined: Sun May 15, 2022 6:23 pm

Re: What's the best practice for uninstalling software I installed myself?

#8 Post by cbiweb »

timkb4cq wrote: Thu May 19, 2022 12:44 pm If you just unpacked a tarball to a location, you can go delete all those files.
That's what I did. So cool, I can just delete them. Thanks!

To Everyone: please be patient with me as I get to know how Linux works, and especially the terminology! I just came from Windows a few days ago.
My long-time Linux user brother just explained to me the difference between "installed" and "unpacked". So now I know, lol.

User avatar
towwire
Posts: 688
Joined: Fri Oct 15, 2010 12:15 pm

Re: What's the best practice for uninstalling software I installed myself?

#9 Post by towwire »

cbiweb wrote: Thu May 19, 2022 1:00 pm
timkb4cq wrote: Thu May 19, 2022 12:44 pm If you just unpacked a tarball to a location, you can go delete all those files.
That's what I did. So cool, I can just delete them. Thanks!

To Everyone: please be patient with me as I get to know how Linux works, and especially the terminology! I just came from Windows a few days ago.
My long-time Linux user brother just explained to me the difference between "installed" and "unpacked". So now I know, lol.
There one other idem to know and that is even an unpacked program you run can add config files to your home folder (hidden). They need to be deleted manually too.
It is easier to fight for one's principles then to live up to them.

cbiweb
Posts: 46
Joined: Sun May 15, 2022 6:23 pm

Re: What's the best practice for uninstalling software I installed myself?

#10 Post by cbiweb »

towwire wrote: Thu May 19, 2022 1:11 pm ...even an unpacked program you run can add config files to your home folder (hidden). They need to be deleted manually too.
Good to know. Thanks!

Locked

Return to “Software / Configuration”