Benaiah\’s Computer Experiences

August 6, 2007

Installing iTunes in Wine

Filed under: Audio, iPod, iTunes, Linux, sync, wine — Benaiah @ 8:11 pm

This is as close as I have been able to get to installing iTunes in Linux. This only provides the most basic features of iTunes and one of the most important, the ability to sync with iPods, DOES NOT work. If you are still interested here is how I did it:

The first step is to install wine.

Applications >> Add/Remove

Search for “Wine Windows Emulator” check the box and hit “Ok”

The latest version of iTunes will not yet run in wine. I went back to version 6.0.5. You can download it from filehippo here. Some of the earlier releases of 7 may work but I have not tested them all.

Now to install iTunes. Open a terminal and change to the location of the itunessetup.exe file and run the file using wine.

cd /home/username/Desktop

wine itunessetup.exe

Next download and install the QuickTime Alternative available here (currently vs 1.81), and install it using wine as well.

wine qucktimealt181.exe

You will be asked if you want to remove QuickTime, allow it to do so.

Now you need to download wininet.dll and move it to ~/.wine/drive_c/windows/system32 . You can download it here.

Unzip the file and move it:


mv /home/username/Desktop/wininet.dll /home/username/.wine/drive_c/windows/system32

If you get this error message: “bash: /user/bin/unzip: No such file or directory” that means that you probably don’t have unzip installed.

sudo apt-get install unzip

To run iTunes:

wine /home/username/drive_c/Program\ Files/iTunes/iTunes.exe

You will get a warning stating that the registry settings used by iTunes for importing and burning CDs are missing. Click “OK” and iTunes should start. As the warning indicated, CD importing and burning will NOT work, iPod syncing will NOT work, and unless the other people on your network are also using this old version of iTunes you will also NOT be able to access other peoples shared iTunes libraries. What you WILL be able to do is to import music and use iTunes as a music player and you WILL be able to use the format conversion features to re-encode audio files.

If anyone has gotten some of these other features, or a more recent version of iTunes, to work please share how you did it!



  1. Cool, you can use Rythmbox Music Player with various plugins for the other functionality, like FireFly AKA “mt-daapd” – I got this working in Ubuntu recently, and since Rythmbox looks a lot like iTunes anyway, you might just as well use this!


    Comment by Ollie — August 19, 2007 @ 9:12 am

  2. Guess what? Your blog is amazing! I can’t remember when was the last time i’ve overcome such a good blog that almost all articles/posts were interesting and wouldn’t regret spending my time reading it. I hope you will keep up the great work you are doing here and i can enjoy my everyday read at your blog.

    Comment by drug facts — November 26, 2007 @ 6:40 am

  3. Rhythmbox is great, but if someone already has an extensive iTunes library of DRM-ed music, it is pretty useless. Having iTunes actually work is great. Nobody seems to have found a way around that stupid “Registry Setting Error” message, and the Wine folks are working on getting USB/iPod support to work. All-in-all, this is a great step forward.

    Comment by neowolfwitch — April 3, 2008 @ 2:20 pm

  4. I should have noted too- the most recent version(s) of iTunes now work in Wine. No need to download an old version.

    Comment by neowolfwitch — April 3, 2008 @ 2:21 pm

  5. so if i do the installation then itunes should work if not then what

    Comment by lemur — November 3, 2009 @ 1:49 pm

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

%d bloggers like this: