{"id":166,"date":"2021-07-29T21:56:00","date_gmt":"2021-07-29T18:56:00","guid":{"rendered":"https:\/\/tech.zeleneew.ru\/?p=166"},"modified":"2021-07-28T22:46:01","modified_gmt":"2021-07-28T19:46:01","slug":"%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-snap-%d0%bd%d0%b0-opensuse","status":"publish","type":"post","link":"https:\/\/tech.zeleneew.ru\/?p=166","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 snap \u043d\u0430 OpenSUSE"},"content":{"rendered":"\n<p class=\"has-text-align-right\">*<a href=\"https:\/\/snapcraft.io\/docs\/installing-snap-on-opensuse\" data-type=\"URL\" data-id=\"https:\/\/snapcraft.io\/docs\/installing-snap-on-opensuse\" target=\"_blank\" rel=\"noreferrer noopener\">\u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u0441\u0442\u0430\u0442\u044c\u0438<\/a><\/p>\n\n\n\n<p>Snap \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u043d\u0430 \u0440\u0435\u0434\u0430\u043a\u0446\u0438\u044e openSUSE Leap 15.x \u0438 Tumbleweed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u0430\u0440\u0438\u044f<\/h2>\n\n\n\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c <em>snappy<\/em>\u00a0\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u0430\u0440\u0438\u0439 \u0438\u0437 \u043a\u043e\u043d\u0441\u043e\u043b\u0438. \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 Leap 15.2, \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430, \u043c\u043e\u0433\u0443\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo zypper addrepo --refresh https:\/\/download.opensuse.org\/repositories\/system:\/snappy\/openSUSE_Leap_15.2 snappy\n...\nRepository 'snappy' successfully added<\/code><\/pre>\n\n\n\n<p>\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435 <code>openSUSE_Leap_15.2<\/code>\u00a0\u043d\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <code>openSUSE_Leap_15.1<\/code>,\u00a0<code>openSUSE_Leap_15.0<\/code>\u00a0\u0438\u043b\u0438 <code>openSUSE_Tumbleweed<\/code>\u00a0\u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0439 \u0440\u0435\u0434\u0430\u043a\u0446\u0438\u0438 \u041epenSUSE.<\/p>\n\n\n\n<p>\u041f\u043e\u0441\u043b\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u0430\u0440\u0438\u044f, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c GPG \u043a\u043b\u044e\u0447:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo zypper --gpg-auto-import-keys refresh<\/code><\/pre>\n\n\n\n<p>\u041d\u0430\u043a\u043e\u043d\u0435\u0446 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043a\u044d\u0448 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043d\u043e\u0432\u043e\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u0430\u0440\u0438\u044f <em>snappy<\/em>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo zypper dup --from snappy<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 snapd<\/h2>\n\n\n\n<p>\u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c snap \u0441 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u043c\u0438:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo zypper install snapd\n<\/code><\/pre>\n\n\n\n<p>\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c <em>snapd<\/em> \u0441\u0435\u0440\u0432\u0438\u0441:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo systemctl enable --now snapd<\/code><\/pre>\n\n\n\n<p>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \u0440\u0435\u0434\u0430\u043a\u0446\u0438\u0438 Tumbleweed, \u0430 \u0442\u0430\u043a-\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b apparmor \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u043f\u0440\u043e\u0444\u0438\u043b\u044f \u0432 \u0441\u0435\u0440\u0432\u0438\u0441:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo systemctl enable --now snapd.apparmor<\/code><\/pre>\n\n\n\n<p>\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430. \u041e\u0441\u043d\u0430\u0441\u0442\u043a\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 \u0438 \u0433\u043e\u0442\u043e\u0432\u0430 \u043a \u0440\u0430\u0431\u043e\u0442\u0435.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u041e\u0442\u043b\u0430\u0434\u043a\u0430<\/h2>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 <em>snapd<\/em>\u00a0\u043d\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435, \u0443\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u0430\u0440\u0438\u0439 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435.<\/p>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u043d\u0435 \u0442\u0430\u043a, \u043d\u0435\u043e\u0431\u043e\u0434\u0438\u043c\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u043d\u043e\u0432\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u0430\u0440\u0438\u0439 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043a\u043b\u044e\u0447\u0430 <code>--refresh<\/code>\u00a0\u043f\u0440\u0438 \u0438\u043c\u043f\u043e\u0440\u0442\u0435, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 <em>openSUSE_Leap_15.2<\/em>\u00a0\u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0440\u0435\u0434\u0430\u043a\u0446\u0438\u0435\u0439 OpenSUSE:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo zypper removerepo snappy\n$ sudo zypper addrepo --refresh https:\/\/download.opensuse.org\/repositories\/system:\/snappy\/openSUSE_Leap_15.2 snappy<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>*\u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u0441\u0442\u0430\u0442\u044c\u0438 Snap \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u043d\u0430 \u0440\u0435\u0434\u0430\u043a\u0446\u0438\u044e openSUSE Leap 15.x \u0438 Tumbleweed. \u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u0430\u0440\u0438\u044f \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c snappy\u00a0\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u0430\u0440\u0438\u0439 \u0438\u0437 \u043a\u043e\u043d\u0441\u043e\u043b\u0438. \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 Leap 15.2, \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430, \u043c\u043e\u0433\u0443\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439: \u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435 openSUSE_Leap_15.2\u00a0\u043d\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 openSUSE_Leap_15.1,\u00a0openSUSE_Leap_15.0\u00a0\u0438\u043b\u0438 openSUSE_Tumbleweed\u00a0\u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0439 \u0440\u0435\u0434\u0430\u043a\u0446\u0438\u0438 &hellip; <a href=\"https:\/\/tech.zeleneew.ru\/?p=166\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,31],"tags":[],"class_list":["post-166","post","type-post","status-publish","format-standard","hentry","category-opensuse","category-31"],"_links":{"self":[{"href":"https:\/\/tech.zeleneew.ru\/index.php?rest_route=\/wp\/v2\/posts\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.zeleneew.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.zeleneew.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.zeleneew.ru\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.zeleneew.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=166"}],"version-history":[{"count":4,"href":"https:\/\/tech.zeleneew.ru\/index.php?rest_route=\/wp\/v2\/posts\/166\/revisions"}],"predecessor-version":[{"id":171,"href":"https:\/\/tech.zeleneew.ru\/index.php?rest_route=\/wp\/v2\/posts\/166\/revisions\/171"}],"wp:attachment":[{"href":"https:\/\/tech.zeleneew.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.zeleneew.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.zeleneew.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}