Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

How to install iTunes 12 on Ubuntu

__________________________________

!!! You have to use iTunes version 12.9.3 or older the 32bit version.
If you use a newer version you will most likely be presented with a black screen when
opening iTunes.

You can download the mentioned version here:


https://drive.google.com/open?id=1XoaZtFL49Q39EDGXyOFCS3oUgiQL5_o4

Instalation procedure:

At each step you have a list of lines you have to copy and paste in the terminal one by one
following the ‘enter’ key.

!please replace ‘user’ from paths with your own ubuntu username:
Eg. instead of WINEPREFIX=/home/user/.wine32 winetricks
You should have WINEPREFIX=/home/john/.wine32 winetricks

1. Install current Wine version directly from the winehq repository:


___
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
! For the next line, change disco to your current distribution name
(use disco if you use 19.10 and eoan repository does not work)
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ disco main'
sudo apt-get update
sudo apt-get install --install-recommends winehq-stable
___

2. Create a new 32 bit wineprefix (if you are doing this on a 64 bit system) and set windows
version
___
WINEPREFIX=/home/user/.wine32 WINEARCH=win32 wine wineboot
WINEPREFIX=/home/user/.wine32 WINEARCH=win32 wine winecfg
___

Set Windows Version to Windows 7 or newer (I selected Windows 10)


Also if you have a high resolution display or prefer to scale it up a bit, you can go to graphics
tab and adjust the scaling to something like 125 or whatever fits your needs (125
recommended for 1080p and above 200 for 4k displays).
3. Download the newest winetricks
___
sudo apt-get remove winetricks
wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
sudo mv -v winetricks /usr/local/bin
___

4. Install gdiplus library using winetricks


___
WINEPREFIX=/home/user/.wine32 winetricks
___

(on the window that pops open, go to > Select the default wineprefix > Install a Windows DLL
> gdiplus > OK)

5. Download iTunes 12 - 32 bit installer (version is important ! do not use 64 bit):


___
cd /home/user/Downloads
(or use whatever folder iTunes installer is located, and pay attention to your filename)
WINEPREFIX=/home/user/.wine32 wine iTunes_(32bit)_v12.9.3.exe
___

!!! Follow the setup, and untick the box “Open iTunes after the installer exits” in the last setup
dialog box !!!

6. Start it. It may crash the first time, just start it again. Now you should be able to use iTunes
and log in to the iTunes Store and download and play your purchased music and videos!

Start from command line:


___
env WINEPREFIX="/home/user/.wine32" wine /home/user/.wine32/drive_c/Program\
Files/iTunes/iTunes.exe
___

Optional

An iTunes icon can be downloaded at the following link:

https://drive.google.com/open?id=0B-KV6HLx4ALySjc4a1hqcWhoSTQ

Enjoy !

You might also like