What is Ubuntu Snap?
Ubuntu Created Snap which Developers Can Apps in Store Snap Upload and publish.
Users Can Apps with A Snap Command Download and Installed.
The Problem using of Snap
A Flaw That Snap has When Install App a Loop on Service Systemd Created. It Puts Pressure When booting on SSD. This Will Causes Ubuntu to not run.
Many Ubuntu Linux users they experienced this problem. better to try Linux Mint.
Remove Snap Ubuntu
if you are using Ubuntu Linux, you can remove snap.
A File .sh create. Enter the following Commands into the file and run the file.
sudo touch snapremover.sh
sudo chmod +x snapremover.sh
sudo ./snapremover.sh
Commands:
#!/bin/bash
# List installed snap packages
snap list
# Remove installed snap packages (optional)
sudo snap remove chromium snap-store
# Stop snapd service
#!/bin/bash
# List installed snap packages
snap list
# Remove installed snap packages (optional)
sudo snap remove chromium snap-store
# Stop snapd service
sudo systemctl stop snapd
# Add services to sop
sudo systemctl mask snapd.aa-prompt-listener.service
sudo systemctl mask snapd.mounts-pre.target
sudo systemctl mask snapd.snap-repair.service
sudo systemctl mask snapd.apparmor.service
sudo systemctl mask snapd.mounts.target
sudo systemctl mask snapd.snap-repair.timer
sudo systemctl mask snapd.autoimport.service
sudo systemctl mask snapd.recovery-chooser-trigger.service
sudo systemctl mask snapd.socket
sudo systemctl mask snapd.core-fixup.service
sudo systemctl mask snapd.seeded.service
sudo systemctl mask snapd.system-shutdown.service
sudo systemctl mask snapd.failure.service
sudo systemctl mask snapd.service
# Uninstall snapd using apt
sudo apt remove --purge --assume-yes snapd gnome-software-plugin-snap
# Remove user snap directory
rm -rf ~/snap/
# Remove cache directory for snapd
sudo rm -rf /var/cache/snapd/
# Uninstall snapd using apt
sudo apt remove --purge --assume-yes snapd gnome-software-plugin-snap
sudo apt autoremove
# Uninstall snapd using dnf (for Fedora) or yum (for RHEL, CentOS)
#sudo dnf remove --assumeyes snapd gnome-software-plugin-snap || sudo yum remove --assumeyes snapd gnome-software-plugin-snap
# Uninstall snapd using pacman
#sudo pacman -Rns --noconfirm snapd
# Remove user snap directory
rm -rf ~/snap/
rm -rf /snap
# Remove cache directory for snapd
sudo rm -rf /var/lib/snapd
sudo rm -rf /var/cache/snapd
Top comments (0)