{"id":96891,"date":"2024-05-29T18:46:11","date_gmt":"2024-05-29T10:46:11","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=96891"},"modified":"2024-05-29T18:46:11","modified_gmt":"2024-05-29T10:46:11","slug":"linux-snap-spotify","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-snap-spotify.html","title":{"rendered":"\u5728 Linux \u4e2d\u5b89\u88c5 Spotify"},"content":{"rendered":"

\u5982\u4f55\u5728 Ubuntu Linux \u684c\u9762\u4e0a\u5b89\u88c5 spotify \u6765\u5728\u7ebf\u542c\u97f3\u4e50\uff1f<\/p>\n

Spotify \u662f\u4e00\u4e2a\u53ef\u8ba9\u4f60\u8bbf\u95ee\u5927\u91cf\u6b4c\u66f2\u7684\u6570\u5b57\u97f3\u4e50\u6d41\u670d\u52a1\u3002\u4f60\u53ef\u4ee5\u514d\u8d39\u6536\u542c\u6216\u8005\u8d2d\u4e70\u8ba2\u9605\uff0c\u53ef\u4ee5\u521b\u5efa\u64ad\u653e\u5217\u8868\u3002\u8ba2\u9605\u7528\u6237\u53ef\u4ee5\u514d\u5e7f\u544a\u6536\u542c\u97f3\u4e50\uff0c\u4f60\u4f1a\u5f97\u5230\u66f4\u597d\u7684\u97f3\u8d28\u3002\u672c\u6559\u7a0b\u5c55\u793a\u5982\u4f55\u4f7f\u7528\u5728 Ubuntu\u3001Mint\u3001Debian\u3001Fedora\u3001Arch \u548c\u5176\u4ed6\u66f4\u591a\u53d1\u884c\u7248\u4e0a\u7684 snap \u5305\u7ba1\u7406\u5668\u5b89\u88c5 Spotify\u3002<\/p>\n

\u5728 Linux \u4e0a\u5b89\u88c5 spotify<\/strong><\/div>\n

\u5728 Linux \u4e0a\u5b89\u88c5 spotify \u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n

    \n
  1. \u5b89\u88c5 snapd<\/li>\n
  2. \u6253\u5f00 snapd<\/li>\n
  3. \u627e\u5230 Spotify snap\uff1asnap find spotify<\/span><\/li>\n
  4. \u5b89\u88c5 spotify\uff1asudo snap install spotify<\/span><\/li>\n
  5. \u8fd0\u884c\uff1aspotify &<\/span><\/li>\n<\/ol>\n

    \u8ba9\u6211\u4eec\u8be6\u7ec6\u770b\u770b\u6240\u6709\u7684\u6b65\u9aa4\u548c\u4f8b\u5b50\u3002<\/p>\n

    \u6b65\u9aa4 1 - \u5b89\u88c5 snapd<\/strong><\/div>\n

    \u4f60\u9700\u8981\u5b89\u88c5 snapd \u5305\u3002\u5b83\u662f\u4e00\u4e2a\u5b88\u62a4\u8fdb\u7a0b\uff08\u670d\u52a1\uff09\uff0c\u5e76\u80fd\u5728 Linux \u7cfb\u7edf\u4e0a\u542f\u7528 snap \u5305\u7ba1\u7406\u3002<\/p>\n

    Debian\/Ubuntu\/Mint Linux \u4e0a\u7684 snapd<\/strong><\/span><\/div>\n

    \u8f93\u5165\u4ee5\u4e0b apt \u547d\u4ee4<\/a>[1]<\/span>\/ apt-get \u547d\u4ee4<\/a>[2]<\/span>\uff1a<\/p>\n

    $ sudo apt install snapd\r\n<\/pre>\n
    \u5728 Arch Linux \u4e0a\u5b89\u88c5 snapd<\/strong><\/span><\/div>\n

    snapd \u53ea\u5305\u542b\u5728 Arch User Repository\uff08AUR\uff09\u4e2d\u3002\u8fd0\u884c yaourt<\/span> \u547d\u4ee4\uff08\u53c2\u89c1\u5982\u4f55\u5728 Archlinux \u4e0a\u5b89\u88c5 yaourt<\/a>[3]<\/span>\uff09\uff1a<\/p>\n

    $ sudo yaourt -S snapd\r\n$ sudo systemctl enable --now snapd.socket\r\n<\/pre>\n
    \u5728 Fedora \u4e0a\u83b7\u53d6 snapd<\/strong><\/span><\/div>\n

    \u8fd0\u884c snapd \u547d\u4ee4\uff1a<\/p>\n

    sudo dnf install snapd\r\nsudo ln -s \/var\/lib\/snapd\/snap \/snap\r\n<\/pre>\n
    OpenSUSE \u5b89\u88c5 snapd<\/strong><\/span><\/div>\n

    \u6267\u884c\u5982\u4e0b\u7684 zypper<\/span> \u547d\u4ee4\uff1a<\/p>\n

    ### Tumbleweed verson ###\r\n$ sudo zypper addrepo http:\/\/download.opensuse.org\/repositories\/system:\/snappy\/openSUSE_Tumbleweed\/ snappy\r\n### Leap version ##\r\n$ sudo zypper addrepo http:\/\/download.opensuse.org\/repositories\/system:\/snappy\/openSUSE_Leap_42.3\/ snappy\r\n<\/pre>\n

    \u5b89\u88c5\uff1a<\/p>\n

    $ sudo zypper install snapd\r\n$ sudo systemctl enable --now snapd.socket\r\n<\/pre>\n
    \u6b65\u9aa4 2 - \u5728 Linux \u4e0a\u4f7f\u7528 snap \u5b89\u88c5 spofity<\/strong><\/div>\n

    \u6267\u884c snap \u547d\u4ee4\uff1a<\/p>\n

    $ snap find spotify\r\n<\/pre>\n

    \"\"<\/span><\/p>\n

    \u5b89\u88c5\u5b83\uff1a<\/p>\n

    $ sudo snap install spotify\r\n<\/pre>\n

    \"\"<\/p>\n

    \u6b65\u9aa4 3 - \u8fd0\u884c spotify \u5e76\u4eab\u53d7\u5b83<\/strong><\/div>\n

    \u4ece GUI \u8fd0\u884c\u5b83\uff0c\u6216\u8005\u53ea\u9700\u8f93\u5165\uff1a<\/p>\n

    $ spotify\r\n<\/pre>\n

    \u5728\u542f\u52a8\u65f6\u81ea\u52a8\u767b\u5f55\u4f60\u7684\u5e10\u6237\uff1a<\/p>\n

    $ spotify --username vivek@nixcraft.com\r\n$ spotify --username vivek@nixcraft.com --password 'myPasswordHere'\r\n<\/pre>\n

    \u5728\u521d\u59cb\u5316\u65f6\u4f7f\u7528\u7ed9\u5b9a\u7684 URI \u542f\u52a8 Spotify \u5ba2\u6237\u7aef\uff1a<\/p>\n

    $ spotify --uri=<uri>\r\n<\/pre>\n

    \u4ee5\u6307\u5b9a\u7684\u7f51\u5740\u542f\u52a8\uff1a<\/p>\n

    $ spotify --url=<url>\r\n<\/pre>\n

    \"\"<\/p>\n

    \u5173\u4e8e\u4f5c\u8005<\/strong><\/div>\n

    \u4f5c\u8005\u662f nixCraft \u7684\u521b\u5efa\u8005\uff0c\u662f\u7ecf\u9a8c\u4e30\u5bcc\u7684\u7cfb\u7edf\u7ba1\u7406\u5458\uff0c\u4e5f\u662f Linux \u64cd\u4f5c\u7cfb\u7edf\/Unix shell \u811a\u672c\u7684\u57f9\u8bad\u5e08\u3002\u4ed6\u66fe\u4e0e\u5168\u7403\u5ba2\u6237\u4ee5\u53ca IT\u3001\u6559\u80b2\u3001\u56fd\u9632\u548c\u592a\u7a7a\u7814\u7a76\u4ee5\u53ca\u975e\u8425\u5229\u90e8\u95e8\u7b49\u591a\u4e2a\u884c\u4e1a\u5408\u4f5c\u3002\u5728 Twitter<\/a>[7]<\/span>\u3001Facebook<\/a>[8]<\/span>\u3001Google +<\/a>[9]<\/span> \u4e0a\u5173\u6ce8\u4ed6\u3002<\/p>\n


    \n

    via: https:\/\/www.cyberciti.biz\/faq\/how-to-install-spotify-application-on-linux\/<\/a><\/p>\n

    \u4f5c\u8005\uff1aVivek Gite<\/a>[10]<\/span> \u8bd1\u8005\uff1ageekpi<\/a>[11]<\/span> \u6821\u5bf9\uff1awxy<\/a>[12]<\/span><\/p>\n

    \u672c\u6587\u7531 LCTT<\/a>[13]<\/span> \u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd<\/a>[14]<\/span> \u8363\u8a89\u63a8\u51fa<\/p>\n

    \n

    \u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-9415-1.html<\/a><\/p>\n

    \u672c\u6587\u5730\u5740\uff1ahttps:\/\/lrxjmw.cn\/linux-snap-spotify.html<\/a>\u7f16\u8f91\uff1a\u9004\u589e\u5b9d\uff0c\u5ba1\u6838\u5458\uff1a\u5218\u9044<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

    \u5982\u4f55\u5728 Ubuntu Linux \u684c\u9762\u4e0a\u5b89\u88c5 spotify \u6765\u5728\u7ebf\u542c\u97f3\u4e50\uff1f Spotify \u662f\u4e00\u4e2a\u53ef\u8ba9\u4f60\u8bbf\u95ee […]<\/p>\n","protected":false},"author":309,"featured_media":96892,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-96891","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/96891","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/309"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=96891"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/96891\/revisions"}],"predecessor-version":[{"id":96898,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/96891\/revisions\/96898"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/96892"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=96891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=96891"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=96891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}