{"id":61399,"date":"2023-11-27T19:01:17","date_gmt":"2023-11-27T18:01:17","guid":{"rendered":"https:\/\/ekiwi-blog.de\/61399\/installing-snap-in-linux-mint\/"},"modified":"2023-11-27T19:01:17","modified_gmt":"2023-11-27T18:01:17","slug":"installing-snap-in-linux-mint","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/61399\/installing-snap-in-linux-mint\/","title":{"rendered":"Installing Snap in Linux Mint"},"content":{"rendered":"<p>Linux Mint does not recognise Snap by default.<\/p>\n<p><!--more--><\/p>\n<p>Today I wanted to install &#8220;snap&#8221; on my Linux computer. However, the installation failed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/11\/snap_1.png\" alt=\"\" width=\"594\" height=\"256\" class=\"aligncenter size-full wp-image-61395\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/11\/snap_1.png 594w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/11\/snap_1-300x129.png 300w\" sizes=\"auto, (max-width: 594px) 100vw, 594px\" \/><\/p>\n<p>The installation is normally performed like this:<\/p>\n<pre>\r\nsudo apt install snapd\r\n<\/pre>\n<p>But I only got an error message that &#8220;snap&#8221; does not exist.<\/p>\n<pre>\r\nPackage 'snapd' has no installation candidate\r\n<\/pre>\n<p>The reason is that the snap installation is disabled by default in Linux Mint. This is controlled by a settings file. However, we can easily delete this file with the following command.<\/p>\n<pre>\r\nsudo rm \/etc\/apt\/preferences.d\/nosnap.pref\r\n<\/pre>\n<p>We then update the package sources.<\/p>\n<pre>\r\nsudo apt update\r\n<\/pre>\n<p>The installation then works.<\/p>","protected":false},"excerpt":{"rendered":"<p>Linux Mint does not recognise Snap by default.<\/p>\n","protected":false},"author":1,"featured_media":8426,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[1682],"class_list":["post-61399","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en","tag-linux-en"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/61399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=61399"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/61399\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/8426"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=61399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=61399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=61399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}