We sometimes get asked by users how one can achieve to install Amarok in a different prefix. This can be handy if you'd like to check out a SVN version, but you don't want this to interfere with your packaging system. On our wiki there is already a
guide for obtaining Amarok from SVN, so I won't detail this here (I am referring to the
stable 1.4 branch here; Amarok 2.0 requires a lot more work to build). Once you have the sources, give the configure script your desired installation path ("prefix"):
./configure --prefix=$HOME/amarok_install
Then compile and install as usual. After that edit your ~/.bashrc and add the following lines:
export KDEDIRS=$HOME/amarok_install/:$KDEDIRS
export LD_LIBRARY_PATH=$HOME/amarok_install/lib:$LD_LIBRARY_PATH
export PATH=$HOME/amarok_install/bin:$PATH
Now log out from KDE, and log in again. Voila, that's it