首先 访问
# 腾讯官方下载地址
# https://y.qq.com/download/download.html
正常情况会返回403,windows和linux都无法下载,但我找到了山东大学镜像库的deb下载源
# https://mirrors.sdu.edu.cn/spark-store-repository/amd64-store/music/qqmusic/?sort=namedirfirst&order=asc
# 下载命令
wget https://mirrors.sdu.edu.cn/spark-store-repository/amd64-store/music/qqmusic/qqmusic_1.1.7_amd64.deb
# 执行安装
sudo dpkg -i qqmusic_1.1.7_amd64.deb
[sudo] password for mark:
Selecting previously unselected package qqmusic.
(Reading database ... 161929 files and directories currently installed.)
Preparing to unpack qqmusic_1.1.7_amd64.deb ...
Unpacking qqmusic (1.1.7) ...
Setting up qqmusic (1.1.7) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
安装完点击图标启动会闪退, 按照以下命令操作
sudo vim /usr/share/applications/qqmusic.desktop
sudo vim /usr/share/applications/qqmusic.desktop
# 修改这行
Exec=/opt/qqmusic/qqmusic %U
# 新内容
Exec=/opt/qqmusic/qqmusic --no-sandbox %U
整体内容在下面
[Desktop Entry]
Name=qqmusic
Exec=/opt/qqmusic/qqmusic --no-sandbox %U
Terminal=false
Type=Application
Icon=qqmusic
StartupWMClass=qqmusic
Comment=Tencent QQMusic
Categories=AudioVideo;
发一张图