28

So, thanks to this bug: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1575053 I would rather not use Snap packages. The only one that I really use is Calculator but I would like to replace all of them with a deb version. How would I go about it?

  • 2
    Can you not uninstall it and then install it via apt ? – M. Becerra May 23 '18 at 12:37
  • you can just hide the ~/snap folder following this answer. If you want to stop using the whole Snapd ecosystem you may try my answer down below – Eskander Bejaoui May 23 '18 at 15:18
  • 1
    Yes, but hten I still get to see it in terminal. – sup May 23 '18 at 17:25
  • 3
    A couple of other shortcomings that make the snap apps a downgrade from a UX perspective over their traditional APT counterparts (that were stock in 17.10): 1. They're noticeably slower to launch (even on a 1 year old flagship laptop) 2. They don't adjust to system-wide themeing Hopefully these shortcomings will be resolved soon but until then Eskander's solution is a very nice and easy fix. – sxc731 Aug 22 '18 at 8:19
24

This answer is for Ubuntu 18.04 LTS. The version 16.04 LTS came with the deb version by default and not the snap version.

The Graphical way

Click on the Ubuntu Software icon and search for gnome-calc:

enter image description here

To verify which is which, click on each one in turn. When you click on the installed version and scroll down you will see:

enter image description here

Note the Snap Store at the bottom

When you click on the second one and scroll down you will see:

enter image description here

Now you can click on Remove button for the snap version to remove it. Similarly click on the Install button to install the deb version. In both cases you will be asked for the password.

The command line way

Open a terminal by entering Ctrl+Alt+T and enter to following to remove the snap version:

sudo snap remove gnome-calculator

and enter the following to install the deb version:

sudo apt install gnome-calculator

You will be prompted for your password. Unlike the graphical method, you will not see any ***** and the cursor will not move when you type your password. This is normal.

Hope this helps

  • 1
    Also, note that removing Snap packages are usually safe since snaps supplies its own libraries in their install. (much like Windows program installation and its .db files) – Aryo Adhi May 23 '18 at 13:31
29

Snap packages installed by default in Ubuntu 18.04 LTS are:

  • gnome-calculator
  • gnome-characters
  • gnome-logs
  • gnome-system-monitor

Which can be found using the command sudo snap list. To remove default Snap apps use:

sudo snap remove gnome-calculator gnome-characters gnome-logs gnome-system-monitor

Then install their .deb counterparts with:

sudo apt install gnome-calculator gnome-characters gnome-logs gnome-system-monitor

Additionaly, you can uninstall the whole Snapd ecosystem from your computer with:

sudo apt purge snapd squashfs-tools gnome-software-plugin-snap
  • Gnoem characters says sudo snap remove gnome-calculator gnome-characters gnome-logs gnome-system-monitor – sup May 23 '18 at 16:17
  • @sup I'm not sure I understand – Eskander Bejaoui May 23 '18 at 16:23
  • No, of course not, wrong paste, sorry, I meant: sudo apt install gnome-characters givesPackage gnome-characters is not available, but is referred to by another package. – sup May 23 '18 at 17:18
  • 1
    (i) You're linking to 28-1804, are you certain it's the same? (ii) Your list came across as exhaustive, yet I find that package and core installed, which I did not add -- I installed barebones version of the latest Ubuntu LTS. Were they both preinstalled? – FooBar Jun 5 '18 at 14:40
  • 1
    Yep not the same, I linked a newer one but same concept. And core is part of Snapd, which gets deleted along with it – Eskander Bejaoui Jun 5 '18 at 15:00
1

This will remove all snap packages except core and core18 in one command

sudo snap remove `sudo snap list | cut -d " " -f 1 | tail -n 2 | grep -v 'core' | tr '\n' ' '`

To finish purging do like mentioned above:

sudo apt -y purge snapd gnome-software-plugin-snap

I'm assuming you might seen squashfs-tools in another package

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.