OPERATING SYSTEMSOS Linux

Remove and Block Snap on Ubuntu

Uninstall and prevent Snap from working on Ubuntu and similar systems. Slow performance and privacy concerns are the main reasons. Here’s how you can get rid of the Canonical store, add flatpak to the software center if needed, and install Firefox using a .deb file. You’ll need to use the terminal, but the steps are easy to follow.

Chapters:
00:00 Summary
00:22 Introduction
01:24 At Your Own Risk
01:52 First Solution…Unsnap
02:26 Check Your System
03:27 Removing Snaps
05:02 Uninstalling Snapd
06:05 Install Flatpak and Integrate Flathub
07:15 Install Firefox .deb in Ubuntu
08:03 Install Firefox in Flatpak Format
08:33 Lock Snaps
09:16 The Linux Mint Ploy
10:16 Restore Snap Support
10:45 Conclusion
11:10 Outro

All commands:
snap list
flatpak –version
sudo snap remove [software]
sudo snap remove firefox
sudo snap remove gtk-common-themes
sudo snap remove gnome-3-38-2004
sudo snap remove gnome-42-2204
sudo snap remove snapd-desktop-integration
sudo snap remove snap-store
sudo snap remove core20
sudo snap remove bare
sudo snap remove snapd
sudo systemctl stop snapd
sudo systemctl disable snapd
sudo apt purge -y snapd
rm -rf /home/user/snap
sudo apt install flatpak gnome-software-plugin-flatpak
sudo apt install flatpak plasma-discover-backend-flatpak
sudo apt purge gnome-software-plugin-snap
flatpak remote-add –if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo add-apt-repository ppa:mozillateam/ppa
sudo apt install -t ‘o=LP-PPA-mozillateam’ firefox
echo ‘Unattended-Upgrade::Allowed-Origins:: “LP-PPA-mozillateam:${distro_codename}”;’ | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox
sudo nano /etc/apt/preferences.d/nosnap.pref
Package: snapd
Pin: release a=*
Pin Priority: -10
sudo rm /etc/apt/preferences.d/nosnap.pref
sudo apt install snapd
sudo snap install snap-store

Social Media:
WhatsApp
https://whatsapp.com/channel/0029Va8Yl37Dp2QCqcMRc82L
Telegram
https://t.me/joinlinux

source

ubuntu

4 thoughts on “Remove and Block Snap on Ubuntu

  • I get the hate for snap, but if I just need a single app to work without much hassle, say through WSL on windows, it just works.

  • I just use command line for software. Snap never worked for me. Straight up just stall loading.

Comments are closed.