How to install Musikcube Player on Ubuntu 17.04 

To install Musikcube Player on Ubuntu 17.04

Musikcube is a terminal-based, cross-platform music player written using c++. It has a built-in audio engine and library management, as well as a streaming audio server. It also performs metadata indexing. Furthermore, it runs smoothly on Raspberry Pi with a custom DAC (e.g. IQaudIO DAC+), and can output 24bit/192k audio comfortably
Apart from this, there are also various other features of Musikcube such as:

Features

  • It has a native Android app version called musikdroid, that connects to musikcube servers
  • Can be used as a streaming audio client and/or a remote control for playback on a headless server
  • Ideal for developers as a backend for creating or prototyping apps that play music
  • Out of the box, it provides file scanning capability, index tagging, gapless as well as crossfading playback


Installing Musikcube

It is very essential to install the supportive libraries and dependencies before you begin with the installation of Musikcube. Run the following command for installing them.

root@linuxhelp:~#  apt-get install build-essential clang cmake libboost-thread1.61-dev libboost-system1.61-dev libboost-filesystem1.61-dev libboost-date-time1.61-dev libboost-atomic1.61-dev libboost-chrono1.61-dev libogg-dev libvorbis-dev libflac-dev libfaad-dev libncursesw5-dev libasound2-dev libpulse-dev pulseaudio libmicrohttpd-dev libmp3lame-dev libcurl4-openssl-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
.
.
Setting up libmicrohttpd-dev (0.9.44+dfsg-1ubuntu2) ...
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...

Once done, execute the git command as follows.

root@linuxhelp:~# git clone https://github.com/clangen/musikcube.git
Cloning into ' musikcube' ...
remote: Counting objects: 35373, done.
remote: Compressing objects: 100% (185/185), done.
.
.
Resolving deltas: 100% (27934/27934), done.

Now, enter into the musikcube directory with the help of the following command.

root@linuxhelp:~# cd musikcube/

After that, execute the cmake command to create the compilation file as follows.

root@linuxhelp:~/musikcube# cmake 
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
.
.
-- Generating done
-- Build files have been written to: /home/user1/musikcube


Now, in order to compile, you need to execute make command.

root@linuxhelp:~/musikcube# make
Scanning dependencies of target taglib
[  0%] Creating directories for ' taglib' 
[  1%] No download step for ' taglib' 
[  1%] No patch step for ' taglib' 
.
.
[ 99%] Building CXX object src/plugins/pulseout/CMakeFiles/pulseout.dir/PulseOut.cpp.o
[100%] Linking CXX shared library ../../../bin/plugins/libpulseout.so
[100%] Built target pulseout


You can now install musikcube. Trigger its installation by executing the following command.

root@linuxhelp:~/musikcube# make install
[  4%] Built target taglib
[ 31%] Built target musikcore
[ 33%] Built target musikglue
[ 61%] Built target musikcube
.
.
-- Installing: /usr/local/include/musikcube/core/sdk/constants.h
-- Installing: /usr/local/bin/musikcube


Musikcube has been installed. Launch it by typing its name in your terminal.

root@linuxhelp:~/musikcube# musikcube

A welcome window will pop open on your screen. Click ok

The music console is opened in the terminal.

click on ‘ a’ to open the track.

With this, the installation of Musikcube is complete. Enjoy playing your music with Musikcube.

FAQ
Q
Is there any alternative in musikcube player?
A
vlc, foobar2000, clementine, winamp and much more.
Q
I never got it to work with a local configuration, only in /etc. I guess if you don't have su priveleges it could be an issue?
A
ou don't need any other user's privs to run mpd. Disable the system-wide init starting mpd and start it with your own session (be it bashrc, xfce session autostart, xdg autostart, etc.).
By default it looks at the ~/.mpd/mpd.conf of the user running it.
Q
What are its required dependent packages?
A
Here i have to give some of the dependencies as follow "apt-get install build-essential clang cmake libboost-thread1.61-dev libboost-system1.61-dev libboost-filesystem1.61-dev libboost-date-
Q
what is the download link you have usd for?
A
The following link which I have to used "https://github.com/clangen/musikcube.git".
Q
How to make return certain error code for while the installation?
A
Check with the dependency packages whether all those are installed or not.