How to remove leftovers of deleted apps in Zorin OS 18.1

Hello, some time ago I tried ClamAv and some GUIs. Also installed Mozilla's Firefox and Thunderbird.

I found that I have many leftovers I can't delete or send to Trash.

I tried Terminal but it says the apps are not installed and can't be removed or purged.

Any help will be greatly appreciated.

Thank you in advance.

For flatlaks you can use that command

flatpak uninstall --unused
flatpak uninstall --delete-data [PACKAGENAME] 

or for apt packages

sudo apt autoremove

or

sudo apt autoremove --purge

Take a look at the packages which will be removed before you confirm with yes.

With snap packages it is a bit more difficult. Perhaps those sites can help:

https://www.interserver.net/tips/kb/ubuntu-snap-package-storage-optimization-a-complete-guide/

Hi!

I am going to try those commands.

I manually deleted all the leftovers that I found in the Home folder, they were hidden files.

I can't deleted the leftovers I found in / root folder, because there is no option to do so.

What about something like Bleachbit or Ubuntu Cleaner?

Those tools also can remove remains.

If you need to delete or edit files in the root directory, you can install the nautilus admin plugin or enter

admin://

in the topbar of nautilus. Then you get root rights. Only navigate on the right side of nautilus through the folders to not loose root by clicking on your home folders.

3 Likes

I am going to try it.
Thank you for your kindness and your advice.

2 Likes

For flatpaks the app flatsweep can help to remove old files. Ubuntu cleaner and bleachbit are neither for flatpaks nor for snaps.

1 Like

Thank you for letting me know, I am going to try it.

2 Likes