The scripts are broken at the moment. Use manual instructions please.
As of recent builds of Amarok by the devs, and the release of a recent libmtp, it is now possible to install Amarok with support for your MTP device.
Note: This article was written mainly for Feisty users. However, it is possible to install this without Feisty. You will need to locate the corresponding updated libs which can be found in http://archive.ubuntu.com/pool.
Method 1: Installation Script
Download one of the tarballs at the bottom of this post. Untar them, read the README, and go.
If you are using Edgy, use 1.2.2. If you are using Feisty, either tarball should work.
Method 2: Install yourself
These steps are a copy/paste of the same steps used in the install script.
1. Upgrade the system
Code:
sudo apt-get update
sudo apt-get dist-upgrade
2. Make the install directory.
Code:
cd ~
mkdir amarok-with-mtp_dir
cd amarok-with-mtp_dir
3. Obtain the files.
Code:
If on Feisty:
wget "http://archive.ubuntu.com/ubuntu/pool/main/a/amarok/amarok_1.4.4-0.3ubuntu2_i386.deb"
wget "http://archive.ubuntu.com/ubuntu/pool/main/a/amarok/amarok-xine_1.4.4-0.3ubuntu2_i386.deb"[/color]
If on Edgy:
sudo apt-get source amarok
Do either way:
wget "http://downloads.sourceforge.net/libmtp/libmtp-0.1.0.tar.gz?modtime=1165440680&big_mirror=0"
4. Install libmtp.
Code:
tar -zxvf libmtp-0.1.0.tar.gz
cd libmtp-0.1.0/
./configure --prefix=/usr
sudo make
sudo checkinstall
sudo cp libmtp.rules /etc/udev/rules.d/
cd ../
5. Install Amarok
Code:
If on Feisty:
sudo dpkg -i amarok_1.4.4-0.3ubuntu2_i386.deb
sudo dpkg -i amarok-xine_1.4.4-0.3ubuntu2_i386.deb
If on Edgy:
sudo chmod 700 amarok*
cd amarok-1.4*
sudo apt-get build-dep amarok
./configure --with-njb --with-mtp --prefix=`kde-config --prefix`
make
sudo make install
sudo apt-get install amarok-xine
6. Choose one of the below options:
6A. Restart the computer.
6B. Run the following command, and restart Amarok:
Code:
sudo /etc/init.d/udev restart
7. You're done. Just plug your MTP device in with Amarok open and it should auto-detect.
Changelog:
11.12.2006 - Added 1.2.2 bug fix.
11.12.2006 - Added 1.2.1 bug fix.
11.12.2006 - First beta for Edgy support, 1.2.0.
11.12.2006 - fixed minor typo.
Bookmarks