According to a TON of websites the new version (1.5.0 and greater) of WINE fixes the install of Apple iTunes 10.x
Before we get to the WINE 1.5.1 installation, let me explain … iTunes 10.6 definitely installed, and ran, it also has no problem as a player, but seemed unable to access the iTunes Store (or do any other “online” activity) … this may be fixable, but (FOR NOW) is beyond the scope of this tutorial … I may add something later if I manage to get the “online” side if it working
I also must add that I haven’t tested iTunes with an iPod, iPad, or iPhone … quite simply I don’t own one, and have no intention of changing that
For now this is SOLELY a tutorial about installing WINE 1.5.1 … with a few hints that may help with iTunes at the end.
These instructions should work for pretty much any recent version of Ubuntu … I’ve tested it on 11.10 64bit, but it should work on earlier versions and 32bit architecture … It should also work in PeppermintOS (Two), but for those that have followed my tutorial for installing PeppermintOS on an Acer Aspire One with an 8GB SSD, it’s probably best not to bother, the build dependencies alone will probably use too much space on your SSD … if however you have plenty of room, a larger SSD, or a HDD then feel free
OK, we will be adding a PPA (so we can get the build dependencies for the latest version of WINE), installing some required packages, installing the build dependencies, downloading the WINE 1.5.1 source code, then compiling and installing.
The first thing you’ll want to do is REMOVE any earlier versions of wine and wine-gecko … best place to do this is in your package manager.
(if you don’t know how … ask)
Add the ppa:ubuntu-wine/ppa PPA so that we can pull in the build dependencies for the latest version (wine1.3 … which FYI will actually be wine1.4 after adding the PPA, but it will still be called" as wine1.3):
sudo add-apt-repository ppa:ubuntu-wine/ppa
then update the package cache:
sudo apt-get update
Install some required packages:
sudo apt-get install linux-headers-generic build-essential flex bison qt3-dev-tools qt4-qmake
Pull in the build dependencies (I know it says wine1.3, but that doesn’t matter at this point):
sudo apt-get build-dep wine1.3
Download the WINE 1.5.1 source code to your Home directory:
Unpack the archive you just downloaded:
tar -xjvf wine-1.5.1.tar.bz2
Change directory to the wine-1.5.1 directory:
and wait till it finishes and leaves you back at an $ prompt … (info - just above the $ prompt it should now be telling you to run “make”)
At this point, go lie down for a bit, or go to the pub as it will take about an hour to compile
When it eventually finishes compiling and leaves you back at an $ prompt …
Install it with:
sudo make install
Once installed, run
to configure it.
Now you can check you have version 1.5.1 by running
OK that’s it … you should now be running WINE 1.5.1
See below for a couple of hints
If uninstalling an earlier version of wine also removed winetricks … DO NOT reinstall it through your package managers (that will also reinstall the earlier version of wine) … instead install it like this:-
chmod +x winetricks
You’ll then find it in your home folder … run it from there.
If you’re intent on trying iTunes before I’ve worked it out … one thing I HAVE discovered is that after you install iTunes and attempt to run it in WINE, you will get a warning that the ODBC versions don’t match … the fix is to use winetricks to install mdac28
The WineHQ pages about installing iTunes suggest when you run winecfg you set the system to Windows 7 not XP
And when launching iTunes you will get a message about it not being able to read or write to the CD drive … but this doesn’t stop it from launching.
As I said, ATM this is NOT a tutorial for getting iTunes working in WINE 1.5.1 … that may come later
Can I ask that if anyone DOES get iTunes working before I get round to trying … could you please post how you did it … thanks in advance.