云网牛站
所在位置:首页 > Linux教程 > Debian和Ubuntu安装Spotify音乐播放器

Debian和Ubuntu安装Spotify音乐播放器

2017-12-08 11:06:17作者:linux大神稿源:linuxdashen

Spotify在线音乐播放器Linux客户端已经有了新的稳定版,本篇文章介绍在Debian和Ubuntu操作系统如何安装Spotify。

 

Debian和Ubuntu安装Spotify Linux客户端的步骤

1.首先使用apt-key导入spotify的签名公钥,以便在下载时验证软件包的完整性。

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0DF731E45CE24F27EEEB1450EFDC8610341D9410

安装另一版本为:

sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 BBEBDCB318AD50EC6865090613B00F1FD2C19886

Debian和Ubuntu安装Spotify音乐播放器

2.然后运行下面的命令添加Spotify的官方软件源。

echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list

3.tee会在/etc/apt/sources.list.d/目录下新创建一个spotify.list源文件,然后将deb http://repository.spotify.com stable non-free添加到文件中。

4.现在,更新本地软件包索引并安装Spotify的Linux客户端。

sudo apt-get update

sudo apt-get install spotify-client

5.如果你的Debian或ubuntu系统之前安装了一个旧版本的Spotify客户端,那么上面的命令会更新Spotify客户端到最新的版本。

 

官网Spotify for Linux页,以下为说明

Here you can find a build of Spotify for Linux. We are running this ourselves and we will try to make sure it keeps pace with its Mac and Windows siblings. However, this version is unsupported.

Spotify for Linux is released as a Debian package. Our aim is that it should work with the latest Long Term Support release of Ubuntu, but we will try to make it work for other releases of Ubuntu and Debian as well.

Installation

# 1. Add the Spotify repository signing keys to be able to verify downloaded packages

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0DF731E45CE24F27EEEB1450EFDC8610341D9410

# 2. Add the Spotify repository

echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list

# 3. Update list of available packages

sudo apt-get update

# 4. Install Spotify

sudo apt-get install spotify-client

 

Spotify Linux客户端稳定版的更改

左上角已经没有了菜单栏,设置被移到了右上角的箭头下拉菜单里。

Debian和Ubuntu安装Spotify音乐播放器

当你的鼠标移到歌曲封面右上角时,会出现一个箭头,点击这个箭头便可以将封面缩小。

Debian和Ubuntu安装Spotify音乐播放器

新增加了歌词显示功能,歌词显示在屏幕中间。同时也可以点击full lyrics来显示完整歌词。

Debian和Ubuntu安装Spotify音乐播放器

 

相关主题

推荐5款好用的Linux音乐播放器

精选文章
热门文章