linuxmint和ubuntu安装深度音乐+百度音乐插件和深度影音

来源:互联网 发布:python dll 编辑:程序博客网 时间:2024/04/28 09:51

注意:此方法来自深度wiki,网上也有类似,本人亲测+整理,中途遇到一些问题,百度谷歌了半天终于解决

本人桌面系统为linuxmint16xfce,理论上ubuntu方法相同


深度音乐

sudo apt-add-repository ppa:noobslab/deepin-scsudo apt-get updatesudo apt-get install  deepin-music-player


深度影音

sudo apt-add-repository ppa:noobslab/deepin-scsudo apt-get updatesudo apt-get install  deepin-media-player


如果想使用百度音乐插件,进行如下操作


1.安装编译时的相关依赖包(cythonlibwebkitgtk-dev python-dev git), 例如:

sudo apt-get install cython libwebkitgtk-dev git

2.安装pyjavascriptcore

git clone https://github.com/sumary/pyjavascriptcore.git
cd pyjavascriptcore
sudo python setup.py install
如果这一步出现
javascriptcore.c:4:20:致命错误:Python.h:没有那个文件或目录
编译中断。
error:command 'gcc' failed with exit status 1

执行 sudo apt-get install python-dev


3.安装百度音乐插件

git clone https://github.com/sumary/dmusic-plugin-baidumusic.git
cd dmusic-plugin-baidumusic

cp -r baidumusic ~/.local/share/deepin-music-player/plugins/





0 0