Uninstalling preinstalled applications

Relay the input of sudo apt remove --dry-run gnome-calendar

1 Like
The following packages were installed automatically and are no longer required:
  adwaita-qt bind9-dnsutils busybox-static command-not-found friendly-recovery
  ftp hdparm info iputils-tracepath irqbalance libaribb24-0
  libbasicusageenvironment1 libcddb2 libdvbpsi10 libebml4v5 libgck-1-0:i386
  libgcr-base-3-1:i386 libgroupsock8 libixml10 liblivemedia77 libmad0
  libmatroska6v5 libopenmpt-modplug1 libplacebo7 libprotobuf-lite17
  libproxy-tools libqt5x11extras5 libresid-builder0c2a libsecret-1-0:i386
  libsidplay2 libspatialaudio0 libssh2-1 libudisks2-0:i386 libupnp13
  libusageenvironment3 libvlc-bin libvlc5 libvlccore9 lshw ltrace mtr-tiny
  nano python3-commandnotfound python3-gdbm strace tcpdump telnet time vlc-bin
  vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify vlc-plugin-qt
  vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output
  vlc-plugin-video-splitter vlc-plugin-visualization zorin-os-census
  zorin-os-overlay
Use "sudo apt autoremove" to remove them.
The following packages will be REMOVED:
  gnome-calendar
0 updated, 0 installed, 1 to be removed, and 43 not updated.
Remv gnome-calendar [3.38.2-1+zorin1]

Now that I uninstalled both VLC Media Player and Rhythmbox with Terminal I think that it's safe to uninstall programs until I limit to the software uninstallation and never run sudo apt autoremove since most of the dependencies are necessary for the system. Also because at the end of the output the target of the uninstallation is the program and maybe some of its components and not even dependencies by default. But I see VLC Media Players stuff on the dependencies :unamused:, is this stuff that's on VLC Media Player folder that's still somewhere or they are on another place?

You can attempt to find them by either navigating to root in nautilus/thunar or the terminal and use the search bar or find in the terminal to look for the parent folder containing vlc*.

This will most likely be in /usr/bin, /usr/share/bin, /usr/lib, /usr/share/lib, or could even be in ~/.config/vlc... it is tough to consider all the places a developer may place files.

Once found you can remove the parent directory of those binaries/libraries or the individual files.

2 Likes

I think it's safe (@Aravisian @337harvey confirm please) for you to run

sudo apt remove --purge vlc*
2 Likes

Search results in Home:


Search results in Computer:
Files Workload GIF
Note that I stopped the search after 1 minute of search still going on. I really need Bleachbit or Ubuntu Cleaner or I'll face an apparently endless manual cleaning for every uninstallation.

I thought he already had...

Luca, please run

sudo apt install bind9-dnsutils busybox-static command-not-found friendly-recovery ftp hdparm info iputils-tracepath irqbalance libaribb24-0 libbasicusageenvironment1 libcddb2 libdvbpsi10 libebml4v5 libgck-1-0:i386 libgcr-base-3-1:i386 libgroupsock8 libixml10 liblivemedia77 libmad0 libmatroska6v5 libopenmpt-modplug1 libplacebo7 libprotobuf-lite17 libproxy-tools libqt5x11extras5 libresid-builder0c2a libsecret-1-0:i386 libsidplay2 libspatialaudio0 libssh2-1 libudisks2-0:i386 libupnp13 libusageenvironment3 libvlc-bin libvlc5 libvlccore9 lshw ltrace mtr-tiny nano python3-commandnotfound python3-gdbm strace tcpdump telnet time zorin-os-census zorin-os-overlay

That will preserve those packages and set them to manually installed so you will have no need to worry about running or not running autoremove in future.
Partly because Bleachbit and UbuntuCleaner both run autoremove as part of the cleaning process.

3 Likes

Perfect.
After, Luca, run sudo apt autoremove without pressing Y and post what it is trying to remove

1 Like

I didn't enter purge command. I entered your command and installed the packages, here's what appeared after their installation:

The following packages were installed automatically and are no longer required:
  adwaita-qt vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify
  vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output
  vlc-plugin-video-splitter vlc-plugin-visualization
Use "sudo apt autoremove" to remove them.
0 updated, 0 installed, 0 to remove, and 43 not updated.

So now don't I need Bleachbit or Ubuntu Cleaner at all anymore or I can install one anyway to clean uninstallation residuals?

It is a personal choice for you to make.
You can run sudo apt clean && sudo apt autoremove
Or install Bleachbit or UbuntuCleaner.
Or you can use Synaptic package manager.

1 Like

@Aravisian isn't adwaita qt a needed package?

1 Like

It isn't since Luca removed the Qt apps that would have used it.
Adwaita-qt is an adaptation of Adwaita(gtk theme) for use in KDE.

2 Likes

I use Ubuntu Cleaner to free up more space when installing Zorin updates ..... you taught me that trick more than a year ago when my Zorin downloads claimed not enough space and wouldn't continue to download ..... works great ..... :+1:

1 Like

Perfect. I didn't know that.
If Luca reinstalls a qt package, will it download automatically?

1 Like

Always read the small print, and keep your paws away from that attractive "Y" key when running autoremeove until you know what you will loose.
Note Bleachbit uses these clean up commands behind the scenes, so do check what it is doing.
You don't want the baby going out with the bathwater.

2 Likes

I do not remember if it is included in automatic dependencies (I would think it is... Gnome is so very touchy about Adwaita. :roll_eyes:)
But unless Luca uses Adwaita theme, he won't notice. If he does use it, he will notice and set about adding compatibility for Adwaita theme for the Qt app - for which there are a couple existing Tutorials & Guides threads on the topic, too.

2 Likes

So on State > Not installed (residual configuration)? There I see old updates leftovers despite after certain updates Software Updater asks if remove them since they're not required anymore. Seems they weren't really deleted, for example I see Signed kernel image generic and Linux kernel extra modules for version (whatever it is) on 64 bit x86 SMP that I thought they were removed once I confirmed their deletion after updating them.

I can only question how confident you are that you deleted the files or whether you did so as root.
Synaptic does not report files as removed that are in fact not removed.

2 Likes

All I know is that at the removal request on the Software Updater I chose to remove them since after updating them they were at 0 KB, the fact that they are still on the system is suspicious, the Software Updater request was clear, they are no longer needed.

Have you cleaned your APT Cache?

1 Like

No, all I do when I read that I can remove something once updated is accepting the request to remove them, I never do anything more because I assume that's enough.