You can do this manually or with unsnap (more at the end).
Why?Here is a nice article. On the other hand, worth to say that Flatpak and GNOME are developed mainly by Red Hat/Fedora (might imply conflict of interest with Canonical), and have its problems too.
How:
Remove Snap
Probably for people who just hope Canonical give up with Snap/snapcraft (at least for Desktop):
sudo snap remove snap-store # And anything you don't use of snap list
sudo apt purge gnome-software-plugin-snap
sudo apt install gnome-software-plugin-flatpak
Install Flatpak on Ubuntu 18.10 or later (check here for older versions).
sudo apt install flatpak
Install the Software Flatpak plugin: The Flatpak plugin for the Software app makes it possible to install apps without needing the command line. To install, run:
sudo apt install gnome-software-plugin-flatpak
Add the Flathub repository: Flathub is the best place to get Flatpak apps. To enable it, run:
flatpak list: List all installed applications and runtimes.
flatpak update: Update all installed applications and runtimes.
flatpak remove name: Remove an installed application. --unused also remove unused refs on the system.
flatpak info name: Show information about an installed application.
unsnap
Ex snap developer Alan Pope had developed unsnap (currently on pre-alpha status) to Quickly migrate from using snap packages to flatpaks:
Quickly and easily migrate from using snap for applications to flatpak. unsnap runs as a two-stage process. unsnap itself generates the scripts to do the actual migration. This enables users to view and/or edit the scripts prior to execution to validate or tweak them.
Homebrew: The missing package manager for macOS (or Linux).
PyPI: The Python Package Index (PyPI) is a repository of software for the Python programming language. pip: A tool for installing and managing Python packages.
You can do this manually or with unsnap (more at the end).
Why? Here is a nice article. On the other hand, worth to say that Flatpak and GNOME are developed mainly by Red Hat/Fedora (might imply conflict of interest with Canonical), and have its problems too.
How:
Remove Snap
Probably for people who just hope Canonical give up with Snap/snapcraft (at least for Desktop):
If you are unsure about removing snap completely, you can at least reduce it at its minimum: remove snap-store, remove snap plugin from GNOME Software; and of course remove any snap also available as flatpak, like Ungoogled Chromium 1.
Worth to mention that "it's possible to remove all the snaps, and remove snapd... the desktop will function fine" Alan Pope (former snap developer; see unsnap below).
gnome-...
snaps are just backends for GTK snap apps.Sources:
Install Flatpak
Install Flatpak on Ubuntu 18.10 or later (check here for older versions).
Install the Software Flatpak plugin: The Flatpak plugin for the Software app makes it possible to install apps without needing the command line. To install, run:
Add the Flathub repository: Flathub is the best place to get Flatpak apps. To enable it, run:
Add
--user
if you'll install per-user apps.Restart your system (
reboot
).To adjust flatpak permissions check Flatseal (
flatpak install flatseal
).Common commands
Using
flatpak install/uninstall nameOfTheApp
usually is enough. It will search and suggest alternatives.flatpak run name
: Run an installed application.flatpak install remote name
: Install an application from a remote source.--user
will install per-user. Examples:flatpak list
: List all installed applications and runtimes.flatpak update
: Update all installed applications and runtimes.flatpak remove name
: Remove an installed application.--unused
also remove unused refs on the system.flatpak info name
: Show information about an installed application.unsnap
Ex snap developer Alan Pope had developed unsnap (currently on pre-alpha status) to Quickly migrate from using snap packages to flatpaks:
Related
pip
: A tool for installing and managing Python packages.Thanks to doug. It feels so clean now, all snap removed.