Find the answer to your Linux question:
Results 1 to 4 of 4
After recently converting my old pentium 4 pc into a linux machine because of being sick with viruses and malware I was very happy with how robust Ubuntu is. The ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    7

    How to transfer your Windows iTunes library to Ubuntu :-)


    After recently converting my old pentium 4 pc into a linux machine because of being sick with viruses and malware I was very happy with how robust Ubuntu is. The only problem I had when converting it to Ubuntu was that Apple doesn't have iTunes for linux. In the meantime I had been using my netbook pc with windows xp for my itunes needs, podcasts etc. Because I have 2 iPod's I wasn't going to bother with the hassel of getting iPod's sync'd to Ubuntu as well.
    So today I finally decided enough was enough and was going to figure out how to get iTunes working, I had been using Wine since I installed Ubuntu to run uTorrent because it enable schedule downloading.

    So enough blabbering, here is a quick explanation of how to get your windows music library onto your Ubuntu machine.

    NOTE: ITUNES STILL ISNT COMPLETELY STABLE, FREEZING MAY OCCUR EVERY NOW AND THEN DEPENDING ON YOUR MACHINE AND SOFTWARE UPDATES! PROCEED WITH CAUTION!!!

    1) First off, you need to install Wine which you can find at winehq.org
    2) You will need to make sure you know EXACTLY where all your songs are. I suggest putting them on an external hard drive to transfer them over to your windows machine.

    3) On your windows machine go to File > Library > Export library. And you cant put that file onto your external harddrive as well.

    4) So now you have a copy of your itunes library and you have installed Wine, you now need a windows version of iTunes which you can find at any old apps related site.
    So far iTunes 7.2 works with best for me with Ubuntu 8.10 you can get this from many sites that still host old apps. The latest version of iTunes does not work at all for me, but this doesnt really matter.

    5) After installing iTunes you may get an error explaining how you cannot burn discs to itunes, click OK.

    6) Now you are ready edit your itunes library xml. Right click on your itunes xml and click 'open with text editor'. Click 'REPLACE' at the top of the screen and type the file path for the song in the 'FIND' field. {For example if the song was 8 Mile by Eminem then in the itunes XML it will say something like C:/my documents/my music/eminem/8mile. You would now type in the FIND FIELD C:/my documents/my music/.} Now that you have typed in the file path for your old music library it's time to time type in the path of the location of your new music library. {For example if your new music is on a external harddrive it will be /media/western digitaldrive/} You now type in the REPLACE field the path of your new music.
    Then click REPLACE ALL. Then click save as and call it the date of the library in case the xml you typed is wrong you wont have to go and get another copy of your itunes library xml.

    6) Now you saved your library, open iTunes and click File > Add file to library and add your itunes library xml by clicking Open.

    7) Now go for a walk outside and have a cup of coffee while you wait, this can take some time. For all my 8,802 songs it took 15minutes to import.

    Enjoy, you may also be interested in knowing that podcasts do work, I havent tried purchasing any songs since I uploaded it but will let you know when I do if it works or not.

    Tidbit~XML stands for Extensible Mark-up Language

  2. #2
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,133
    I just use Amarok. There are no sync problems as you'd have if you were just running different instances of iTunes. With any Linux player that supports iPods you can just add/remove tracks as you need and you can also copy music from your iPod which is a bonus. I'd say the only benefit of using iTunes would be a familiar interface or if you were using an iPod Touch/iPhone.

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Posts
    42
    Yeah...my iphone touch sux having to hook up, but generally Amarok (as stated above) does ok. And as far as tranferring libraries, i just mount the partion and copy the folder with itunes music in it over to my music folder in linux that my player is set to sync to

  4. #4
    Just Joined!
    Join Date
    May 2009
    Posts
    2
    I,m using songbird only had to download a ipod extension from songbird works great just like Itunes interface

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •