1. Add the PPA source for Deepin Music player and update the source cache
sudo add-apt-repository ppa:noobslab/deepin-sc
sudo apt-get update
2.
Install the required dependency packages
wget "Http://launchpadlibrarian.net/153891468/libx264-123_0.123.2189%2Bgit35cf912-1ubuntu1_amd64.deb"-O " Libx264-123.deb "
sudo dpkg-i libx264-123.deb
sudo apt-get install libavcodec54 libavdevice53 libavfilter3 libavformat54 mplayer2 ffmpeg deepin-music-player
In this case, the Deepin music player is installed, and you can search for music in dash home with Deepin music player and click to use it, or you can use command deepin-music-player to run it.
3.
But now Deepin music player can't play songs online, so we need to install a plugin
This plugin is Baidu Music plug-in, install some dependencies before installing
sudo apt-get install Cython libwebkitgtk-dev python-dev git
Installing Pyjavascriptcore
git clone https://github.com/sumary/pyjavascriptcore.git
CD Pyjavascriptcore
sudo python setup.py install
4. Install Baidu Music plugin now
git clone https://github.com/sumary/dmusic-plugin-baidumusic.git
CD Dmusic-plugin-baidumusic
Cp-r Baidumusic ~/.local/share/deepin-music-player/plugins/
5.
Then remove the unwanted installation packages that were left before
CD ~&&sudo RM-RF Pyjavascriptcore
sudo rm libx264-123.deb
6.
Next start the Deepin music player, we need to enable the Baidu music plugin to support online playback
Click the triangle button in the upper right corner of the player to select the option Settings in the menu that appears, then click on the Add-ons item in the right area to see the Baidu Music plugin , click the asterisk on the right to enable the Baidu music plugin.
Installation and use of Ubuntu system: [5] deepin music player