42

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?

4
  • 2
    Can you not uninstall it and then install it via apt ?
    – M. Becerra
    May 23, 2018 at 12:37
  • 1
    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 May 23, 2018 at 15:18
  • 1
    Yes, but hten I still get to see it in terminal.
    – sup
    May 23, 2018 at 17:25
  • 4
    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, 2018 at 8:19

3 Answers 3

41

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
12
  • 1
    @sup I'm not sure I understand May 23, 2018 at 16:23
  • 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, 2018 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 Jun 5, 2018 at 15:00
  • 3
    Kudo for mentioning which gnome default comes as snap, thanks. Nov 15, 2018 at 9:48
  • 1
    This is insane. I was wondering why calculator suddenly takes so long to load. This will probably make me get rid of ubuntu.
    – dbrank0
    May 14, 2020 at 10:21
32

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
  • 2
    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, 2018 at 13:31
3

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .