{"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 \u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n
\u8ba9\u6211\u4eec\u8be6\u7ec6\u770b\u770b\u6240\u6709\u7684\u6b65\u9aa4\u548c\u4f8b\u5b50\u3002<\/p>\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
\u8f93\u5165\u4ee5\u4e0b apt \u547d\u4ee4<\/a>[1]<\/span>\/ apt-get \u547d\u4ee4<\/a>[2]<\/span>\uff1a<\/p>\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 \u8fd0\u884c snapd \u547d\u4ee4\uff1a<\/p>\n \u6267\u884c\u5982\u4e0b\u7684 zypper<\/span> \u547d\u4ee4\uff1a<\/p>\n \u5b89\u88c5\uff1a<\/p>\n \u6267\u884c snap \u547d\u4ee4\uff1a<\/p>\n <\/span><\/p>\n \u5b89\u88c5\u5b83\uff1a<\/p>\n <\/p>\n \u4ece GUI \u8fd0\u884c\u5b83\uff0c\u6216\u8005\u53ea\u9700\u8f93\u5165\uff1a<\/p>\n \u5728\u542f\u52a8\u65f6\u81ea\u52a8\u767b\u5f55\u4f60\u7684\u5e10\u6237\uff1a<\/p>\n \u5728\u521d\u59cb\u5316\u65f6\u4f7f\u7528\u7ed9\u5b9a\u7684 URI \u542f\u52a8 Spotify \u5ba2\u6237\u7aef\uff1a<\/p>\n \u4ee5\u6307\u5b9a\u7684\u7f51\u5740\u542f\u52a8\uff1a<\/p>\n <\/p>\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 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 \u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-9415-1.html<\/a><\/p>\n$ sudo apt install snapd\r\n<\/pre>\n
$ sudo yaourt -S snapd\r\n$ sudo systemctl enable --now snapd.socket\r\n<\/pre>\n
sudo dnf install snapd\r\nsudo ln -s \/var\/lib\/snapd\/snap \/snap\r\n<\/pre>\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
$ sudo zypper install snapd\r\n$ sudo systemctl enable --now snapd.socket\r\n<\/pre>\n
$ snap find spotify\r\n<\/pre>\n
$ sudo snap install spotify\r\n<\/pre>\n
$ spotify\r\n<\/pre>\n
$ spotify --username vivek@nixcraft.com\r\n$ spotify --username vivek@nixcraft.com --password 'myPasswordHere'\r\n<\/pre>\n
$ spotify --uri=<uri>\r\n<\/pre>\n
$ spotify --url=<url>\r\n<\/pre>\n
\n\n