{"id":234261,"date":"2022-10-04T03:40:13","date_gmt":"2022-10-04T10:40:13","guid":{"rendered":"https:\/\/linuxhint.com\/?p=234261"},"modified":"2022-10-05T20:33:36","modified_gmt":"2022-10-06T03:33:36","slug":"enable-snap-linux-mint-21","status":"publish","type":"post","link":"https:\/\/linuxhint.com\/enable-snap-linux-mint-21\/","title":{"rendered":"How to Enable Snap on Linux Mint 21"},"content":{"rendered":"<div id=\"wpbody\">\n<p>In the Linux system, snap is the cross-distribution application manager containing a bundle of applications with their respective dependencies. This easy-to-install application deployment system for Linux users is explored by Canonical.<\/p>\n<p>Installing packages from the snap store is quite easy as they are installed with the source code, libraries, and dependencies and update the package automatically.<\/p>\n<p>The service used to handle and manage snaps at the backend is called snap daemon or is represented as snapd. It\u2019s a snap package manager that is used to install applications from the snap store and manage them.<\/p>\n<h2>How to Enable Snap Packages on Linux Mint 21<\/h2>\n<p>To enable snap packages on Linux Mint 21 system, you need to perform a few steps carefully:<\/p>\n<p><strong>Step 1: <\/strong>In the first step, you are required to delete the <strong>nosnap.pref<\/strong> file from the system. It would be done by executing the following command in the terminal:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">rm<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>apt<span class=\"sy0\">\/<\/span>preferences.d<span class=\"sy0\">\/<\/span>nosnap.pref<\/div><\/div>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-1.png\" alt=\"\" width=\"600\" height=\"39\" class=\"alignnone size-full wp-image-234262\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-1.png 600w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-1-300x20.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><strong>Step 2: <\/strong>After removing the file, update the system repository to upgrade all the packages with the help of the given command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt update<\/div><\/div>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-2.png\" alt=\"\" width=\"588\" height=\"222\" class=\"alignnone size-full wp-image-234263\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-2.png 588w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-2-300x113.png 300w\" sizes=\"(max-width: 588px) 100vw, 588px\" \/><\/p>\n<p><strong>Step 3: <\/strong>Now, install the snap daemon on Linux Mint 21 system to manage and handle snap packages. Execute the command mentioned below to get snap daemon:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> snapd<\/div><\/div>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-3.png\" alt=\"\" width=\"584\" height=\"235\" class=\"alignnone size-full wp-image-234264\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-3.png 584w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-3-300x121.png 300w\" sizes=\"(max-width: 584px) 100vw, 584px\" \/><\/p>\n<p><strong>Step 4: <\/strong>After the installation of snapd, start it using the given command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> systemctl start snapd<\/div><\/div>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-4.png\" alt=\"\" width=\"604\" height=\"53\" class=\"alignnone size-full wp-image-234265\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-4.png 604w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-4-300x26.png 300w\" sizes=\"(max-width: 604px) 100vw, 604px\" \/><\/p>\n<p><strong>Step 5:<\/strong> In the next command you would be able to enable snapd, so that in the boot time, it starts automatically on the system:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> systemctl <span class=\"kw3\">enable<\/span> snapd<\/div><\/div>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-5.png\" alt=\"\" width=\"655\" height=\"41\" class=\"alignnone size-full wp-image-234266\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-5.png 655w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-5-300x19.png 300w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-5-634x41.png 634w\" sizes=\"(max-width: 655px) 100vw, 655px\" \/><\/p>\n<p><strong>Step 6: <\/strong>Run the following command to check the successful installation of Snap on Linux Mint 21 system:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span>snap version<\/div><\/div>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-6.png\" alt=\"\" width=\"624\" height=\"100\" class=\"alignnone size-full wp-image-234267\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-6.png 624w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-6-300x48.png 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/p>\n<h2>Install Snap Packages on Linux Mint 21<\/h2>\n<p>We can now install any package from the snap repository after installing snap on the Linux Mint system. But make sure that the application is available on the snap store.<\/p>\n<p>You can get a list of applications offered by snap store from its <a href=\"https:\/\/snapcraft.io\/store\">official site<\/a>:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-7.png\" alt=\"\" width=\"1007\" height=\"535\" class=\"alignnone size-full wp-image-234268\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-7.png 1007w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-7-300x159.png 300w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-7-768x408.png 768w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-7-810x430.png 810w\" sizes=\"(max-width: 1007px) 100vw, 1007px\" \/><\/p>\n<p>To install the application from the snap store, the following syntax should be followed:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> snap <span class=\"kw2\">install<\/span> <span class=\"sy0\">&lt;<\/span>application_name<span class=\"sy0\">&gt;<\/span><\/div><\/div>\n<p><\/p>\n<p>For example, if we want to install <strong>mailspring<\/strong> on our Linux system, run the command given below on terminal:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> snap <span class=\"kw2\">install<\/span> mailspring<\/div><\/div>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-8.png\" alt=\"\" width=\"601\" height=\"51\" class=\"alignnone size-full wp-image-234269\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-8.png 601w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-8-300x25.png 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/><\/p>\n<h2>How to Remove Snap Package from Linux Mint 21<\/h2>\n<p>To remove the specific package from Linux Mint system, follow the mentioned syntax:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> snap remove <span class=\"sy0\">&lt;<\/span>application_name<span class=\"sy0\">&gt;<\/span><\/div><\/div>\n<p><\/p>\n<p>To remove mailspring snap from the system, type in terminal:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> snap remove mailspring<\/div><\/div>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-9.png\" alt=\"\" width=\"601\" height=\"54\" class=\"alignnone size-full wp-image-234270\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-9.png 601w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-9-300x27.png 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/><\/p>\n<h2>How to Remove snapd from Linux Mint 21<\/h2>\n<p>If you want to delete snapd package manager from the system, the following command would be executed:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt remove <span class=\"re5\">--autoremove<\/span> snapd<\/div><\/div>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-10.png\" alt=\"\" width=\"579\" height=\"172\" class=\"alignnone size-full wp-image-234271\" srcset=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-10.png 579w, https:\/\/linuxhint.com\/wp-content\/uploads\/2022\/10\/How-to-Enable-Snap-on-Linux-Mint-21-10-300x89.png 300w\" sizes=\"(max-width: 579px) 100vw, 579px\" \/><\/p>\n<h2>Conclusion<\/h2>\n<p>Snap is the package deployment system that contains bundles of applications in its store. When installing packages using snaps, they download with the source code, libraries, and relative dependencies. Snap is a free, easy-to-install cross-distribution application manager famous among Linux users. There is a service used to handle and maintain snaps called snap daemon which is represented as snapd.<\/p>\n<p>This article has briefly described how to enable snap packages on Linux Mint 21 system. We have mentioned a step-by-step procedure with an example and how we can remove snaps from the Linux Mint system.\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Snap is the package deployment system in linux mint 21 that contains bundles of applications in its store. Read this article to get more details about it.<\/p>\n","protected":false},"author":122,"featured_media":234272,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1344],"tags":[],"class_list":["post-234261","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-mint"],"_links":{"self":[{"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/posts\/234261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/users\/122"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/comments?post=234261"}],"version-history":[{"count":0,"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/posts\/234261\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/media\/234272"}],"wp:attachment":[{"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/media?parent=234261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/categories?post=234261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhint.com\/wp-json\/wp\/v2\/tags?post=234261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}