Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Uninstall Firefox from Snap Packages on Linux
- "In this video, I'll guide you on how to remove Firefox from the Snap package.
- Firstly, let's check whether Firefox is installed in the Snap Store or not.
- To do this, type the following command in the terminal:
- ```
- $ snap-store
- ```
- Wait for a few seconds and click on 'Installed'. Scroll down to locate Firefox in the list of installed Snap packages.
- Click on 'Firefox'. If Firefox is not installed on your device, you'll still see an option to uninstall Firefox from the Snap Store.
- Click on 'Uninstall', enter the password, and press 'Enter' to uninstall Firefox from the Snap Store.
- After that, close the Snap Store, and let's move over to the terminal.
- Enter the command to verify if Firefox has been installed or not.
- You can still open Firefox in Linux through the terminal, indicating that Firefox is still installed within our Snap packages.
- Please disregard these errors; we will address them later.
- Now, let's attempt to uninstall Firefox using the terminal. Enter the password and press 'Enter'. The process may take some time to uninstall Firefox from the Snap packages in Linux.
- An error might occur:
- ```
- Cannot perform the task.
- Remove data for Snap "firefox" (2760) (unlinkat /var/snap/firefox/common/host-hunspell/en_US.aff: read-only file system)
- ```
- This error is standard in Ubuntu 22.04.
- To check the list of mounted read-only file systems in Linux, you can use the following command:
- ```
- lsblk -fe7 -o+ro
- ```
- Once you input this command into your terminal, you'll observe that:
- `/var/snap/firefox/common/host-hunspell` is mounted as an ext4 file system.
- To remove it from the read-only file systems list, enter the following commands and press 'Enter':
- ```
- $ sudo systemctl stop var-snap-firefox-common-host\\x2dhunspell.mount
- $ sudo systemctl disable var-snap-firefox-common-host\\x2dhunspell.mount
- ```
- Now, type the command to remove or uninstall Firefox from the Snap packages.
- The uninstallation command should work now:
- ```
- sudo snap remove Firefox
- ```
- Alternatively, you can use the commands displayed on the screen:
- ```
- snap disable firefox
- snap remove --purge firefox
- ```
- Let's verify whether Firefox is still installed in Snap packages or not.
- Type 'firefox google.com' and press 'Enter'.
- If you receive a 'No such file or directory' message, it indicates that Firefox has been successfully uninstalled. That concludes today's tutorial. If you found this video helpful, please consider giving it a thumbs up and subscribing to EFX Tv. Take care and have a wonderful day ahead."
- Full video https://youtu.be/xMdWBg_Di0o?si=fj69Lrcf8sfRZ3WL
Advertisement
Advertisement