Advertisement
efxtv

Completely remove firefox snap package | Unable to uninstall firefox | Ubuntu Tutorial

Sep 12th, 2023 (edited)
191
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | Cybersecurity | 0 0
  1. Uninstall Firefox from Snap Packages on Linux
  2.  
  3. "In this video, I'll guide you on how to remove Firefox from the Snap package.
  4.  
  5. Firstly, let's check whether Firefox is installed in the Snap Store or not.
  6.  
  7. To do this, type the following command in the terminal:
  8.  
  9. ```
  10. $ snap-store
  11. ```
  12.  
  13. Wait for a few seconds and click on 'Installed'. Scroll down to locate Firefox in the list of installed Snap packages.
  14.  
  15. Click on 'Firefox'. If Firefox is not installed on your device, you'll still see an option to uninstall Firefox from the Snap Store.
  16.  
  17. Click on 'Uninstall', enter the password, and press 'Enter' to uninstall Firefox from the Snap Store.
  18.  
  19. After that, close the Snap Store, and let's move over to the terminal.
  20.  
  21. Enter the command to verify if Firefox has been installed or not.
  22.  
  23. You can still open Firefox in Linux through the terminal, indicating that Firefox is still installed within our Snap packages.
  24.  
  25. Please disregard these errors; we will address them later.
  26.  
  27. 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.
  28.  
  29. An error might occur:
  30.  
  31. ```
  32. Cannot perform the task.
  33. Remove data for Snap "firefox" (2760) (unlinkat /var/snap/firefox/common/host-hunspell/en_US.aff: read-only file system)
  34. ```
  35.  
  36. This error is standard in Ubuntu 22.04.
  37.  
  38. To check the list of mounted read-only file systems in Linux, you can use the following command:
  39.  
  40. ```
  41. lsblk -fe7 -o+ro
  42. ```
  43.  
  44. Once you input this command into your terminal, you'll observe that:
  45.  
  46. `/var/snap/firefox/common/host-hunspell` is mounted as an ext4 file system.
  47.  
  48. To remove it from the read-only file systems list, enter the following commands and press 'Enter':
  49.  
  50. ```
  51. $ sudo systemctl stop var-snap-firefox-common-host\\x2dhunspell.mount
  52. $ sudo systemctl disable var-snap-firefox-common-host\\x2dhunspell.mount
  53. ```
  54.  
  55. Now, type the command to remove or uninstall Firefox from the Snap packages.
  56.  
  57. The uninstallation command should work now:
  58.  
  59. ```
  60. sudo snap remove Firefox
  61. ```
  62.  
  63. Alternatively, you can use the commands displayed on the screen:
  64.  
  65. ```
  66. snap disable firefox
  67. snap remove --purge firefox
  68. ```
  69.  
  70. Let's verify whether Firefox is still installed in Snap packages or not.
  71.  
  72. Type 'firefox google.com' and press 'Enter'.
  73.  
  74. 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."
  75.  
  76. Full video https://youtu.be/xMdWBg_Di0o?si=fj69Lrcf8sfRZ3WL
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement