January 25, 2020

136 words 1 min read

Install iTunes to Linux via Wine

Install iTunes to Linux via Wine

Reference:
https://docs.google.com/document/d/1SVgGX9x1hWZzyhEJs5_7UH1K5i7Cuz6B2iuIwm40VrQ/edit
https://forums.ubuntulinux.jp/viewtopic.php?id=16656

Tested environment

  • Manjaro Linux
  • Wine Staging 5.0-rc2
  • winetricks 20191224

Prepare an environment for wine 32-bit

If you use 64-bit only for Wine, you need to create a dedicated 32-bit environment.

$ WINEPREFIX=~/.wine32 WINEARCH=win32 wine wineboot
$ WINEPREFIX=~/.wine32 WINEARCH=win32 winetrics allfonts

Download and install an older version of iTunes 32-bit

You will face to a problem of a black screen if you install the latest version of iTunes.

As of January 2020, you need to install the version 12.9.3 or prior. You can find the installer of an older version here.

$ WINEPREFIX=~/.wine32 WINEARCH=win32 wine iTunes_(32bit)_v12.9.3.exe

Fix text garbling for CJK languages

If you need to display CJK languages correctly, you would add the following entry to regedit to change the font.

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
Add wqy-microhei.ttc,WenQuanYi Micro Hei to the first row of Tahoma.