In this video I cover a quick and easy method of removing Snap from an installation of Ubuntu 22.04 LTS and replacing it with Flatpak.
This will be accomplished using a simple bash script that will remove all traces of Snaps from your system, and then install Flatpak and the Flathub repository.
https://github.com/MasterGeekMX/snap-to-flatpak#snap-to-flatpak
Step 1. Snap Removal & Flatpak Installation.
First, download the script by clicking on the Release tab on the right-hand side of the Github page, and download the snap-to-flatpak.sh file.
Once downloaded, right click on the file, choose properties and under the Permissions tab, tick the Allow executing file as a program box.
Next, open a Terminal window in the directory with the script and type the following.
./snap-to-flatpak.sh
This will start the script, and from here it should be a matter of following and confirming the prompts that appear.
First it will ask you to confirm the action and list the currently installed Snaps to be removed, and then confirmation to remove the Snap directories.
Once Snap is removed it will install Flatpak.
After the script has finished, restart your system.
Step 2. Flatpak Management.
Now when you log in, you will find that the Ubuntu Software Store has been replaced with the Gnome Software Store, which is how you will be managing Flatpaks going forward.
Reinstall Snap.
If you ever want to reinstall Snap onto your system, run the following Terminal commands in sequence.
sudo apt update && sudo apt upgrade
sudo apt install snapd
sudo apt install snap-store
#snap #ubuntu #flatpak
Social Media Links
Discord - https://discord.gg/3SxGk3WG2D
Facebook - https://www.facebook.com/Intelligent-Gaming-101640054531594
Mastodon - https://mastodon.social/@Intelligentgaming
Reddit - https://www.reddit.com/r/IntelligentGaming2020/
Twitter - https://twitter.com/inspectorgecko
66 Comments