ubuntu18.10安装网易云音乐

Posted 头号霉粉

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu18.10安装网易云音乐相关的知识,希望对你有一定的参考价值。

1.到网易云官网下载安装包(在18.10双击安装包没能安装成功,于是使用命令行)

2.执行安装命令 sudo dpkg -i 名称,这时会提示缺少依赖gconf-service等,提示执行命令,照做就好
liangjiongyao@liangjiongyao-desktop:~$ sudo dpkg -i netease-cloud-music_1.1.0_amd64_ubuntu.deb
Selecting previously unselected package netease-cloud-music.
(Reading database ... 174307 files and directories currently installed.)
Preparing to unpack netease-cloud-music_1.1.0_amd64_ubuntu.deb ...
Unpacking netease-cloud-music (1.1.0) ...
dpkg: dependency problems prevent configuration of netease-cloud-music:
netease-cloud-music depends on gconf-service; however:
Package gconf-service is not installed.
netease-cloud-music depends on libgconf-2-4 (>= 3.2.5); however:
Package libgconf-2-4 is not installed.

dpkg: error processing package netease-cloud-music (--install):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.28-0ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-3ubuntu3) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
netease-cloud-music

liangjiongyao@liangjiongyao-desktop:~$ sudo apt-get install gconf-service
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run \'apt --fix-broken install\' to correct these.
The following packages have unmet dependencies:
gconf-service : Depends: gconf-service-backend (= 3.2.6-4.1ubuntu2) but it is not going to be installed
netease-cloud-music : Depends: libgconf-2-4 (>= 3.2.5) but it is not going to be installed
E: Unmet dependencies. Try \'apt --fix-broken install\' with no packages (or specify a solution).

3.执行 sudo apt --fix-broken install,会询问Y/N, 选择Y,回车。完成后,再安装 安装包
liangjiongyao@liangjiongyao-desktop:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
fonts-liberation2 fonts-opensymbol gir1.2-geocodeglib-1.0
gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-gudev-1.0
gir1.2-udisks-2.0 grilo-plugins-0.3-base guile-2.2-libs
libboost-date-time1.67.0 libboost-filesystem1.67.0 libboost-iostreams1.67.0
libboost-locale1.67.0 libcdr-0.1-1 libclucene-contribs1v5 libclucene-core1v5
libcmis-0.5-5v5 libcolamd2 libdazzle-1.0-0 libe-book-0.1-1 libeot0
libepubgen-0.1-1 libetonyek-0.1-1 libevent-2.1-6 libexiv2-14
libfreerdp-client2-2 libfreerdp2-2 libgc1c2 libgee-0.8-2 libgexiv2-2
libgom-1.0-0 libgpgmepp6 libgpod-common libgpod4 liblangtag-common
liblangtag1 liblua5.3-0 libmediaart-2.0-0 libminiupnpc17 libmspub-0.1-1
libncursesw5 libodfgen-0.1-1 libqqwing2v5 libraw16 librevenge-0.0-0
libsgutils2-2 libssh-4 libsuitesparseconfig5 libtinfo5 libvncclient1
libwinpr2-2 libxapian30 libxmlsec1 libxmlsec1-nss lp-solve media-player-info
python3-mako python3-markupsafe syslinux syslinux-common syslinux-legacy
usb-creator-common
Use \'sudo apt autoremove\' to remove them.
The following additional packages will be installed:
gconf-service gconf-service-backend gconf2-common libgconf-2-4
The following NEW packages will be installed:
gconf-service gconf-service-backend gconf2-common libgconf-2-4
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 859 kB of archives.
After this operation, 8,075 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 gconf2-common all 3.2.6-4.1ubuntu2 [699 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 libgconf-2-4 amd64 3.2.6-4.1ubuntu2 [84.8 kB]
Get:3 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 gconf-service-backend amd64 3.2.6-4.1ubuntu2 [58.1 kB]
Get:4 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 gconf-service amd64 3.2.6-4.1ubuntu2 [17.6 kB]
Fetched 859 kB in 10s (89.3 kB/s)
Selecting previously unselected package gconf2-common.
(Reading database ... 174531 files and directories currently installed.)
Preparing to unpack .../gconf2-common_3.2.6-4.1ubuntu2_all.deb ...
Unpacking gconf2-common (3.2.6-4.1ubuntu2) ...
Selecting previously unselected package libgconf-2-4:amd64.
Preparing to unpack .../libgconf-2-4_3.2.6-4.1ubuntu2_amd64.deb ...
Unpacking libgconf-2-4:amd64 (3.2.6-4.1ubuntu2) ...
Selecting previously unselected package gconf-service-backend.
Preparing to unpack .../gconf-service-backend_3.2.6-4.1ubuntu2_amd64.deb ...
Unpacking gconf-service-backend (3.2.6-4.1ubuntu2) ...
Selecting previously unselected package gconf-service.
Preparing to unpack .../gconf-service_3.2.6-4.1ubuntu2_amd64.deb ...
Unpacking gconf-service (3.2.6-4.1ubuntu2) ...
Setting up gconf2-common (3.2.6-4.1ubuntu2) ...

Creating config file /etc/gconf/2/path with new version
Setting up libgconf-2-4:amd64 (3.2.6-4.1ubuntu2) ...
Processing triggers for libc-bin (2.28-0ubuntu1) ...
Setting up gconf-service-backend (3.2.6-4.1ubuntu2) ...
Setting up gconf-service (3.2.6-4.1ubuntu2) ...
Setting up netease-cloud-music (1.1.0) ...
Processing triggers for libc-bin (2.28-0ubuntu1) ...

liangjiongyao@liangjiongyao-desktop:~$ sudo apt-get install gconf-service
Reading package lists... Done
Building dependency tree
Reading state information... Done
gconf-service is already the newest version (3.2.6-4.1ubuntu2).
gconf-service set to manually installed.
The following packages were automatically installed and are no longer required:
fonts-liberation2 fonts-opensymbol gir1.2-geocodeglib-1.0
gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-gudev-1.0
gir1.2-udisks-2.0 grilo-plugins-0.3-base guile-2.2-libs
libboost-date-time1.67.0 libboost-filesystem1.67.0 libboost-iostreams1.67.0
libboost-locale1.67.0 libcdr-0.1-1 libclucene-contribs1v5 libclucene-core1v5
libcmis-0.5-5v5 libcolamd2 libdazzle-1.0-0 libe-book-0.1-1 libeot0
libepubgen-0.1-1 libetonyek-0.1-1 libevent-2.1-6 libexiv2-14
libfreerdp-client2-2 libfreerdp2-2 libgc1c2 libgee-0.8-2 libgexiv2-2
libgom-1.0-0 libgpgmepp6 libgpod-common libgpod4 liblangtag-common
liblangtag1 liblua5.3-0 libmediaart-2.0-0 libminiupnpc17 libmspub-0.1-1
libncursesw5 libodfgen-0.1-1 libqqwing2v5 libraw16 librevenge-0.0-0
libsgutils2-2 libssh-4 libsuitesparseconfig5 libtinfo5 libvncclient1
libwinpr2-2 libxapian30 libxmlsec1 libxmlsec1-nss lp-solve media-player-info
python3-mako python3-markupsafe syslinux syslinux-common syslinux-legacy
usb-creator-common
Use \'sudo apt autoremove\' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

4.安装完成。
liangjiongyao@liangjiongyao-desktop:~$ sudo dpkg -i netease-cloud-music_1.1.0_amd64_ubuntu.deb
(Reading database ... 174681 files and directories currently installed.)
Preparing to unpack netease-cloud-music_1.1.0_amd64_ubuntu.deb ...
Unpacking netease-cloud-music (1.1.0) over (1.1.0) ...
Setting up netease-cloud-music (1.1.0) ...
Processing triggers for libc-bin (2.28-0ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-3ubuntu3) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...

安装完成后,无法启动解决办法
liangjiongyao@liangjiongyao-desktop:~$ /usr/bin/netease-cloud-music
Local file: "" ("/usr/bin/netease-cloud-music")

步骤一:修改网易云音乐的运行用户
a.找到网易云音乐的桌面图标
/usr/share/applications/netease-cloud-music.desktop

b.右击,“属性”--->“command”

c.再次运行

步骤二:重启操作系统

以上是关于ubuntu18.10安装网易云音乐的主要内容,如果未能解决你的问题,请参考以下文章

如何解决linux系统下安装网易云音乐的安装包依赖问题

Ubuntu安装网易云音乐

Ubuntu18.04安装网易云音乐

在Ubuntu 14.04 上安装网易云音乐

网易云音乐为啥没有 Linux 版本

在Ubuntu上安装网易云音乐