Install Amarok2 on Ubuntu 9.10 Karmic
Amarok is a free software music player for Linux and other varieties of Unix, as well as Windows since version 2.0 (through KDE for Windows). It makes use of core components from the K Desktop Environment, but is released independently of the central KDE release cycle.
A new major version of Amarok, version 2.0, was released on December 12, 2008, which was a complete aesthetic and functional redesign of Amarok 1.4. On June 3, 2009, version 2.1 was released which reintroduced a few of the 1.4 features which had been missing from the initial 2.0 release, and introduced some features such as native ReplayGain support for the first time.

In this tutorial, i will walk you through installing the beautiful new Amarok 2.2 on Ubuntu Linux 9.10 Desktop.
Install Amarok2 on Ubuntu 9.10
1) Remove existing Amarok (if it exists)
# sudo apt-get purge amarok amarok-common
2) Ensure Ubuntu is fully up to date
# sudo apt-get update && sudo apt-get upgrade
3) Install Amarok2 dependencies
# sudo apt-get install git-core build-essential kubuntu-restricted-extras kde-devel subversion libncurses5-dev libtag1-dev libqca2-dev libstrigiqtdbusclient-dev libstreamanalyzer-dev
4) Edit your .bashrc and myenv.sh
# echo '' >> ${HOME}/.bashrc
# echo 'export PATH=$HOME/kde/bin:$PATH' >> ${HOME}/.bashrc
# echo 'export KDEDIR=$HOME/kde' >> ${HOME}/.bashrc
# echo 'export KDEDIRS=$KDEDIR' >> ${HOME}/.bashrc
5) Verify .bashrc and myenc.sh edits
# cat ${HOME}/.bashrc
# cat ${HOME}/.kde/env/myenv.sh
6) Reload .bashrc
# source ${HOME}/.bashrc
7) Create working folders
# mkdir -p ${HOME}/kde/src
# mkdir -p ${HOME}/kde/build/amarok
8) Download Amarok2
# cd ${HOME}/kde/src
# git clone git://gitorious.org/amarok/amarok.git
9) Download MySQL
# cd ${HOME}/kde/src
# wget http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.40.tar.gz/from/ht...
10) Extract and compile MySQL
# tar xzvf mysql-5.1.40.tar.gz
# cd mysql-5.1.40
# cp -R ${HOME}/kde/src/amarok/supplementary_scripts/mysqle/* .
11) Compile taglib-extras
# cd ${HOME}/kde/src
# svn co svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib-extras/ taglib-extras
# cd taglib-extras
# mkdir build
# cd build
# export LD_LIBRARY_PATH=${HOME}/kde/build/taglib-extras/taglib-extras
# cmake -DWITH_ASF=On -DWITH_MP4=On -DCMAKE_INSTALL_PREFIX=${HOME}/kde ..
# make
# make install
12) Compile QtScriptGenerator
# cd ${HOME}/kde/src
# wget http://qtscriptgenerator.googlecode.com/files/qtscriptgenerator-src-0.1....
# tar xfvz qtscriptgenerator-src-0.1.0.tar.gz
# cd qtscriptgenerator-src-0.1.0
# wget http://www.timashley.me/files/qtscript_patches.tar.gz
# tar zxvf qtscript_patches.tar.gz
# rm generator/parser/rpp/pp.h
# rm generator/qtscript_masterinclude.h
# cp pp.h generator/parser/rpp
# cp qtscript_masterinclude.h generator/
# export INCLUDE=/usr/include/qt4
# cd generator
# qmake
# make
# ./generator
# cd ../qtbindings
# qmake
# make
# cd ../plugins/script
# sudo cp -R * /usr/lib/qt4/plugins/script/
13) Install Amarok2 plugins
# sudo apt-get install qt4-qmake pkg-config libsamplerate-dev libfftw3-dev ruby g++ libqt4-dev
# cd ${HOME}/kde/src/
# wget http://cdn.last.fm/src/liblastfm-0.3.0.tar.bz2
# tar xvfj liblastfm-0.3.0.tar.bz2
# cd liblastfm-0.3.0
# ./configure --release --prefix /usr/local
# make
# sudo make install
# sudo apt-get install libgpod4 libgpod-dev libmtp8 libmtp-dev curl libcurl4-openssl-dev libxml2 libxml2-dev libloudmouth1-0 libloudmouth1-dev
14) Compile Amarok2
# cd ${HOME}/kde/src/amarok
# mkdir build
# cd build
# cmake -DCMAKE_INSTALL_PREFIX=${HOME}/kde -DCMAKE_BUILD_TYPE=debugfull ${HOME}/kde/src/amarok
# make
# make install
15) Run Amarok2
# amarok
Teh haps'
Thu, 02/02/2012 - 19:52
Tim tweeted "@ThatKevinSmith Happy groundhog day! What's your 60 second review of the movie "Groundhogs Day"? #LIVEfrombehind" 7:52pm#
Tim tweeted "Jay and Silent Bob get old! (@ Edwards Renaissance Stadium 14 for Kevin Smith: Live from Behind w/ 2 others) [pic]: http://t.co/0k3NsmV5" 7:37pm#Mon, 01/30/2012 - 20:15
Tim tweeted "I had the pleasure of driving a giant circle around LA during rush hour with uber sore legs." 8:15pm#
Tim tweeted "Goggle tan FTW! :D" 11:16am#Sat, 01/28/2012 - 12:38
Tim tweeted "I'm at Mammoth Mountain Ski Resort (1 Minaret Rd, Mammoth Lakes) w/ 5 others http://t.co/SKvBroDM" 12:38pm#Fri, 01/27/2012 - 21:46
Tim tweeted "Mammoth bound!" 9:46pm#
Tim tweeted "I think I like burritos more than pizza now O_o (@ Baja Fresh) http://t.co/FtMOoGu8" 1:17pm#Thu, 01/26/2012 - 19:23
Tim tweeted "Just saw a "Veggie TDI" emblem on the back of a Jetta :D I wonder if they had to take out the turbo for the conversion." 7:23pm#
Tim tweeted "I just became the mayor of Candolyns Salon on @foursquare! http://t.co/El0GAvDM" 7:21pm#
Tim tweeted "I love meetings where I come out with a bonus :D" 11:29am#