Install iTunes 7.2 in Ubuntu and other Linux distros

itunes logoiTunes is a media player that is available only for Windows and Mac OS X but also can be run in Linux with Wine. Certainly we’re interested in latter operating system :) . The following manual shows how to get iTunes 7.2 running in Linux with wine 0.9.45.

To install latest version of wine download corresponding binary package for you Linux distribution from here. Packages for Ubuntu Feisty are available here.

  1. Install deb package:
    sudo dpkg -i wine_0.9.45~winehq0~ubuntu~7.04-1_i386.deb
  2. Configure by running winecfg command in terminal:
    • In Applications tab, choose Windows XP option.
    • In Drivers tab, click Autodetect button.
    • In Audio tab, check ALSA Driver and uncheck OSS Driver.

    Then click OK button.

After wine is installed we should get latest iTunes from here and get it installed.

  1. Run in terminal:
    wine iTunesSetup.exe
  2. Install iTunes as you do it in Windows or Mac OS X
  3. Run it with command:
    wine ~/.wine/drive_c/Program\ Files/iTunes/iTunes.exe

itunes in linux

Screenshot is taken from here.

Update: recently I came across really comprehensive post about how to run iTunes in Ubuntu/Linux. The author tells there about all known approaches to gain access to iTunes under Ubuntu/Linux. The post can be found here.

 
 
» You might also be interested in the following articles:
October Survey: People try many Linux distros
Debian/Ubuntu Linux apt-get vs. aptitude
Use iTunes in Linux including Apple Music Store
Install Windows after Ubuntu Lucid Lynx
Desktop Linux distributions popularity 2007



» Want to stay up to date? Subscribe to our E-MAIL or RSS feed!

55 Responses to “Install iTunes 7.2 in Ubuntu and other Linux distros”


  1. 1 Cesare

    sidux

  2. 2 RICARDO

    el comando no es “vino” sino wine

  3. 3 artiomix

    Thanks for your comment, RICARDO! :)

  4. 4 ovidiu

    hello, I get lots of errors and the install fails. would you mind having a look if I can send you the output from the terminal where I ran wine iTunes743Setup.exe from?

  5. 5 artiomix

    Hi ovidiu,

    I’ve tested iTunes with wine 0.9.46 under my Ubuntu Gutsy and it works normally. I suppose errors you’ve noted are caused by wine and iTunes versions incompatibility. Try iTunes 7.2 with wine 0.9.45 as it’s described in the post and let us know results. 7.2 can be fetched from here.

    P.S. Which wine version do you try when get errors? Feel free to send me output via e-mail.

  6. 6 tivasyk

    wow… itunes over linux? amarok rulez.

  7. 7 artiomix

    Hi Tivasyk,

    amarok? exaile! ;)

  8. 8 Rob

    The installation went fine for me, but when I run it, nothing happens. Any ideas?

  9. 9 artiomix

    Hir Rob,

    I would recommend to run iTunes.exe with Wine from command line instead of via regular desktop launcher. Just copy launcher command and run it with your favorite terminal. It will help you to see what errors messages wine will report when trying to start iTunes.

  10. 10 leroi

    Hello artiomix,

    I ran iTunes.exe with Wine from the terminal line like it was said and nothing happened after that. It just produced a long list of lines stating Register dump, Stack dump, and Backtrace. What else there is to do after that?

  11. 11 Ticus

    nice… but does it work like windows or mac? I mean can you transfer music and videos?

  12. 12 Christopher

    Yeah, this’d probably work except that all the latest versions of iTunes install auto-update regardless of whether you check the box or not, and my ubuntu hangs at registering for the automation server. Damn their eyes. =1 When do you think they’re gonna get around to supporting their hardware (iPods) on Ubuntu and other linux distros by compiling a working version? Probably never, since they’d have to release some of the source code for that to happen… Bastids.

  13. 13 Ticus

    It dosn’t work with my Ipod classic, some body told me that it works on earlier Ipods

  14. 14 skino

    GUys while I was trying to install iTune I got this

    err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report

    Whotta hell is this?????

    Thank you

  15. 15 Manuel

    I just followed along (except i did apt-get wine). It hanged at the Registration … So I killed the terminal and tried launching it, I though it was hanged but fortunate enough I got a visitor, when I got back to the computer (like 5 minutes later) it was at the Setup screen (the one that asks about importing and all that) so I realized it was working, just VERY SLOWLY ..

    I got it to work (100%) is just that it is like if it was in a TIME TRAP ..

    So, conclusion.. it is in-operable since it becomes un-responsive with every click.. music plays fine but it takes 10 times the normal time to do anything it takes on my Mac.

    Again, I have no idea how it would work on Windows, since I do not have a windows PC, so this was a great exercise, but FUTILE.. nice to know it works, but that is it.

    Good luck

    Summary:
    sudo apt-get install wine
    winecfg

    I cd into my Desktop (just to SEE the file I was about to download, but it is not necessary

    wget http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iTunes7/Win/061-4476.200402.tGbhu/iTunesSetup.exe

    wine iTunesSetup.exe (here is where it hanged up, give it some time, but if it fails just close the terminal window)

    wine ~/.wine/drive_c/Program\ Files/iTunes/iTunes.exe (and fill yourself with patience)

    Good luck

  16. 16 trgz

    got a whole load of errors including:

    wine: could not load L”C:\\windows\\system32\\iTunesSetup.exe”: Module not found
    paul@paul-desktop:~$ err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
    preloader: Warning: failed to reserve range 00000000-60000000
    err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
    preloader: Warning: failed to reserve range 00000000-60000000
    err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report

  17. 17 Thiago

    It worked fine with me.
    I’m running Fedora 9 and using wine 1.0-1.fc9 and itunes 7.7. The installation went well, I could even access the itunes store. I haven’t tried to sync my ipod yet, but so far…

    Thanks artiomix

  18. 18 Bp

    I can’t get my ipod to show up in itunes. It only shows on the desk top. Rhythmbox does open and play music from it. Is there a way to get the ipod to show up in itunes?
    Thanks

  19. 19 Nikolaus

    Well I just tried your instructions, using Ubuntu Intrepid (8.10a4) and wine_1.1.3~winehq0~ubuntu~8.04-0ubuntu1_i386.deb and it worked!! Thank you very much.

  20. 20 Alex

    Thank you you are a great Maestro. Thank you

  21. 21 mega man

    if you cant get your ipod to show go to sympathetic package manager and download gtkpod

  22. 22 Doug1as

    Hey guys, I just started using linux and I have fedora 10
    im not quiet sure how you do step :
    sudo dpkg -i wine_0.9.45~winehq0~ubuntu~7.04-1_i386.deb

    like do I input it some where or?

  23. 23 christian

    cool thank you

  24. 24 christian

    this is the best thanks

  25. 25 W1Z4RD

    To run an ipod on Ubuntu 8.10 you dont need iTunes. Just use Rithym (or how ever you spell it) box music player and it will all work fine u can add songs and do everything like iTunes and just using limewire to download all your songs.

    Cheers,

    W1Z4RD

  26. 26 Shubham

    THANKS A TON MAN. JUST FINISHED DOWNLOADING ITUNES AND IT WORKED.

  27. 27 Gertru Velasquez

    How to install itunes in my competer who has linux

  28. 28 Strings

    Ok… I got iTunes installed, and it’ll run and play (and will hit the store). But it will NOT import music from disk. Suggestions?

  29. 29 stuart

    Anyone got any ideas about operating ipod touch on linux

  30. 30 Joe

    Hi friends, when iTunes starts to install it says:

    iTunes Installer Completed

    The installer encountered errors before iTunes could be
    configured.
    Your system has not been modified. To retry these
    operations at a later time, please run the installer again.

    So I have but the same error message as well as it doesn’t create the folder
    iTunes in c:\Program files\iTunes

    Any help?? I’ve just started with Linux, Ubuntu and love it! but I need some help.
    Thanks!

  31. 31 Eddie

    I installed wine and changed the settings as you suggested in your tutorial. Then I downloaded iTunes 8.1 to my desktop and it didn’t install when I typed in the command — wine iTunesSetup.exe.

    I got the error message: wine: could not load L”C:\\windows\\system32\\iTunesSetup.exe”: Module not found

    Then I tried iTunes 7.2 and got the same results with Terminal when I typed in the command — wine iTunesSetup72.exe

    I have Ubuntu ver. 9.04 Obviously, I’m new to Linux so I’m reaching out for a helping hand.

  32. 32 Luis Puente

    The iTunes.exe file is not found on the Program Files directory. Any ideas? I’m running Ubuntu 9.04 Jaunty J.

    All else went fine.

    Thanks.

  33. 33 vistahater

    I follow everything i got itunes and quicktime to download but i can only find quicktimes program. What did i do wrong?

  34. 34 MadsInZurich

    Hi,

    Ubuntu 8.04 – Hardy
    kern 2.6.24-24
    Gnome 2.22.3

    Wine is installing fine, and the configuration seems to work as well.

    When I run the command

    it is running through the windows install of iTunes, but it is failing in the end with this message:

    err:msi:ITERATE_StartService Failed to start service L”Bonjour Service”
    err:msi:ITERATE_Actions Execution halted, action L”InstallFinalize” returned 1627
    err:msi:custom_get_thread_return Invalid Return Code 1627
    err:msi:ITERATE_Actions Execution halted, action L”InstallPackages” returned 1603
    fixme:shell:DllCanUnloadNow stub

    Afterwards when I try to start it, it is giving me:

    ~$ wine ~/.wine/drive_c/Program\ Files/iTunes/iTunes.exe
    wine: cannot find ‘/home/mads/.wine/drive_c/Program Files/iTunes/iTunes.exe’

    and indeed the directory under ~/.wine/drive_c/Program\ Files/ is not there.
    (“~/.wine/drive_c/Program\ Files/QuickTime” and other dirs ARE there!)

    What am I doing wrong??

    /Mads

  35. 35 edd

    Does it work for sync ipod video??? thanks

  36. 36 mash96

    does it allow iphone 3.0 syncing

  37. 37 bree callanan

    run itunes in windows Virtually and use a bridged connection…. my iphone remote works

  38. 38 X10 Home Automation

    You wouldn’t believe it but I have wasted all day scrounging for some info about this. Thanks for this, it was a wonderful read and really helped me out. Thanks again,X10 Home Automation

  39. 39 Robert

    its not working

  40. 40 robert

    Ive tried everything this doesn’t work.

  41. 41 ChipmunksFan

    I have NO clue what i’m doing but everytime i try to download wine 0.9.45 it says “Error: Dependency is not satisfiable libldap2(>=2.1.17-1)
    What the heck does this mean? and how do i download the right one so i can run iTunes?

  42. 42 Stephanie

    When I got to the last bit, I couldn’t get it to work. I entered “wine iTunesSetup.exe” in the terminal, and “wine: Module not found” was the response. What can I do to fix this?

  43. 43 Kieren

    I tried Rhythmbox before and it worked fine for my wife’s iPod shuffle, but after I tried it with my iPod 8GB Nano all my songs, podcasts and videos were inaccessible. It knew they were there, but I think the encryption by Apple meant my iPod couldn’t read them. So I’ve been trying the instructions here and I’m getting the same problem as Eddie and Stephanie with the Module Not Found error message! Help – I’m suffering iPod withdrawal symptoms!

  44. 44 haley

    what is a terminal? haha sorry i’m new to linux!

  45. 45 Lonnie

    I got up to the point of running iTunes.exe but it tells me

    “bash: c/Documents/iTunesSetup.exe: No such file or directory”

    I am in Term in the directory of the .exe, I think my problem is not knowing how to properly run the file… just type iTunesSetup.exe or do I need to c/Documents/iTunesSetup.exe or what?

  46. 46 marco

    ciao

  47. 47 etr

    thaaaannnxxxx

  48. 48 henry

    I got wine installed but can’t get Itunes keep getting this message wine: could not load L”C:\\windows\\system32\\iTunesSetup.exe”: Module not fou Any suggestions? If so keep them simple I don’t get this ubuntu stuff

  49. 49 Lisa

    ive managed to configure wine but every time i type in the terminal wine iTunesSetup .exe it always comes up with wine: could not load L”C:\\windows\\system32\\iTunesSetup.exe”: Module not found
    any help???

  50. 50 Rafa

    It’s because the install file of iTunes is not in the folder C:\Windows\system32. You can copy the downloaded file and paste it in that folder and you will have no more problems.

  51. 51 Cecily Bonaccorso

    I like web design a lot. Your website is very nice. Do you guys know any good web classes that I can take?

  52. 52 ?e?ec?a

    ?????? ? ?????? , ? ??? ? ??? ????? ? ?????? ?????? ? ? ???????????? ???????… ??? ?????? ??????????? ??????? ????????? ?? ?????.

  53. 53 emma

    hi

  1. 1 If Linux supported DirectX / Mainstream games - Page 25 - Overclock.net - Overclocking.net
  2. 2 Bookmarks for September 4th from 14:32 to 14:32

Leave a Reply




Friendly Sites:Who is behind Linux Screw?
Aspiring Sysadmin | GeekyBits³ | Bash Cures Cancer | TOTMS
Linux Operating System | Small Linux Deployments | My SysAd Blog
The Danesh Project | ZEPY | Linux config Wiki | Planet Sysadmin
The Sys Admin | {buhay sysad} | a non-geek's linux notes
Linux HOWTOs, Tutorials & Projects with Adam Palmer | LinuxAlt.Com
My name is Artem N. (artiomix AT gmail DOT com) and I'm Linux/Unix, Cisco systems engineer. The main idea of Linux Screw is to share relevant knowledge, skills and observations over The Web. Here you can find a lot of information related to different Linux distributions, FreeBSD, IOS as well as a other Open Source around staff. Read more ››