Tarball Compilation Instructions for Amarok 2.x
Extract the downloaded tarball thus:
tar xJf amarok-x.y.z.tar.xz
- Obviously you must replace x.y.z with the version of Amarok you have downloaded, eg:
tar xJf amarok-2.9.0.tar.xz
- Change into the directory that was extracted from the tarball, it should have the form amarok-x.y.z, eg:
- Create a build directory as to not pollute the sources:
- Read the README file that is in this directory, it may contain specific information that you will need when attempting to build and install Amarok.
- Check you have the mandatory dependencies Amarok requires. Alternatively you can look for find_package calls in CMakeLists.txt. If you aren't sure if you have these dependencies installed, then cmake will tell you.
- Change into the build directory:
and compile Amarok with the following commands:
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
sudo make install
- If you are compiling and installing as a regular user, call cmake with
- so that these files are not installed to a system location that you cannot write to.
- If you are compiling development version, please consider compiling with debug enabled:
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=debugfull
- as this greatly helps us to fix crash bugs.
- You're done! Type amarok to start Amarok.
Note that your cmake preferences are saved in CMakeCache.txt, so you don't have to have the -D options every time you run cmake.
ccmake will give you a nice ncurses interface.
This page was last modified on 22 March 2018, at 10:37. Content is available under Creative Commons License SA 4.0
unless otherwise noted.