How to install iTunes 12 on Linux Mint 18 with working Store
Download Ubuntu MATE 18.04 for free using direct full ISO links or torrents. Experience a new Ubuntu Mate with new themes, options, updated kernel and much lighter and faster, we have screenshots and features to compare. How to Install iTunes on Ubuntu Linux: If you are new to Linux and have been using iTunes for managing your iPod, iPhone, or iPad, you may find it frustrating that there is still no native support for iTunes on Linux. If you only have an iPod, you may try first any of the iTunes replacements that we have featured here. However, if iTunes is.
iTunes12-Wine-Ubuntu.txt
Trying to run iTunes with Wine, i faced various problems. Here is a working solution how to install iTunes on Debian-based systems (in my case Linux Mint 18.1) - with support for the iTunes Store. Warning: Syncing i-devices is still not possible. |
When installing it with the playonlinux-'iTunes 12'-script, log in into the Store was not possible in my case. Wine showed the follwing error when trying to log in: SecurityContext failed with error 0x80090304 |
1. Install current Wine version (2.0.1) directly from the winehq repository |
wget -nc https://dl.winehq.org/wine-builds/Release.key |
sudo apt-key add Release.key |
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main' |
sudo apt-get update |
sudo apt-get install --install-recommends winehq-stable |
wine --version |
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 |
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 |
Standard wineprefix > install Windows DLL > gdiplus > OK |
5. Download iTunes Version 12.1.3 - 32 bit and install it (version is important!) |
https://support.apple.com/kb/dl1614?locale=de_DE |
cd /home/user/Downloads |
WINEPREFIX=/home/user/.wine32 wine iTunesSetup.exe |
Follow the setup, anwer the AutoRun Question with NO. |
6. Start it. It may crashes 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: |
cd /home/user/.wine32/drive_c/Program Files/iTunes/ |
WINEPREFIX='/home/user/.wine32' wine iTunes.exe |
commented Jan 28, 2018
Thanks for the gist, I had a little trouble with this, but I managed to make it work from the info you gave. The download wouldn't work (don't know why, but I normally use a proxy with wget, so the proxy may have interfered) for the gdiplus -- so I used wget to get the file and copied it to the location it wanted to find it. $ wget --no-proxy -c https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X86.exe $ cp -p windows6.1-KB976932-X86.exe ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X86.exe Once I did the cp -p of the downloaded file, I ran winetricks again and it found the downloaded file and did it's magic. I also downloaded the latest 32 bit iTunesSetup.exe -- Help -> About iTunes won't show the version, but it was 12.7.3.46 (downloaded 32 bit iTunes as at 20180129). 2FA wouldn't work, so I disabled that and then I could login to iTunes okay. Thank you! |
commented Dec 2, 2018
This works for me, too. But as per @affinityv's reply, 2FA wouldn't work. But now turning 2FA off is not possible. Not sure if anyone has ran into a solution? |
commented Dec 29, 2018
FYI, for those of us who just want apple music to work on linux Apple music released a development kit MusicKit JS and there are apps available !!! |
commented Oct 28, 2019
I'm attempting to install a freshly-downloaded Windoze 64-bit iTunes on Linux 4.15.0-65-generic x86_64 These instructions got me farther than any other --- thanks! --- but I am still having some issues:
Suggestions? |
commented Nov 17, 2019
+1 here |
commented Dec 25, 2019
Apparently this only works with 32-bit iTunes. |
commented Dec 26, 2019
@olyerickson The black screen seems to appear on some Intel GPUs. Maybe the workaround described here works for you. Please also try iTunes 32 bit as @waynedmoore said. This should fix the black screen, but unfortunately I never got USB devices working in wine. But: iPod, iPhone, iPad are definitely working if you install Windows+iTunes in a VM (VirtualBox) as described here. Nevertheless (if you only want to reset your iPad) you should be able to do that through the system settings on the iPad itself. There were also some attempts for USB passthrough in wine, but I haven't tested it yet. I’ll paste the link here so someone might try it out. https://web.archive.org/web/20130527123059/http://wiki.winehq.org/USB |
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
iTunes is a media player developed by Apple Inc, that allows you to download, organize, and play media on your system as well as sync it to other devices. iTunes is available for downloading and using on Windows and Mac, but it is yet not available in Ubuntu or any other Linux distributions. You can use several different media players as an alternative for iTunes. However, if you are using an iPhone, iPad, and iPod, then you will need only need iTunes. No other alternative will work in that case as iTunes is the only way to sync audio, video, and other data between their devices. With iTunes, you can even buy and stream millions of music.
But what if you are a Linux user and want to play Apple Music on it. Luckily, there is a way using which you can play Apple music in Linux. However, you will require some additional work for this purpose. As iTunes software is available for Windows OS, so we will the same Windows software for installing iTunes on Linux by using Wine program. Wine is actually a free and open-source compatibility layer that allows users to run Windows programs on Linux.
In this article, we will see how to install and run iTunes on Linux. For installing iTunes, we will first need to install Wine. Let’s get started towards the installation procedure.
We will use Ubuntu 18.04 LTS for describing the procedure mentioned in this article.
Installing Wine on Ubuntu
As mentioned above, we will first install the wine program. So download and install Wine standard packages from the Winehq official repository. Follow the below steps for the installation.
Step 1: Download the Wine repository key
Press Ctrl+Alt+T to launch the Terminal and then run the following command in order to download Wine repository key.
Step2: Add the repository key
Now run the following command in the Terminal to add the key which was used to sign packages of Wine.
Step 3: Add the repository
Now run the following command in Terminal to add the repository from the WineHQ:
Step 4: Installing Wine
After adding repository, update your local apt repository by running the following command in Terminal:
Now in order to Install the wine latest and stable package, run the following command in Terminal.
Wait for a while until the installation is completed.
After installing Wine, You will be asked to install mono and gecko. Click on install to install these packages.
Installation of Wine has finished, now we are prepared for installing iTunes.
Installing iTunes on Ubuntu
Launch any browser in your system and then open the Apple iTunes official download page. Then download the iTunes installer file for Windows named as iTunes64Setup. It will install on the Ubuntu in the same way as you install it on Windows.
Step 1: Download iTunes
To install iTunes, go to the downloads folder, and then double click the downloaded file. It will open the setup page. Click on Next to start the installation.
Step 2: Start iTunes Installer
Change the destination folder for installing iTunes or leave it as default. Then click on the Install button.
Step3: iTunes setup
Once you click on install, setup will start copying all the required files as shown in the below image.
Step4: iTunes Installation completed
Once the installation is completed successfully, you will see the below screen, click on Finish to exit the iTunes installer.
Step 5: Accept license agreement
After the installation is finished, you will be presented with the following screen. Click on Agree to accept the iTunes Software License agreement.
After accepting the agreement, you will see the iTunes software shortcut on your desktop.
Step 6: Start iTunes on Linux
To launch the iTunes application, double-click the shortcut on the desktop. You will see the following default view of iTunes.
Step 7: Sign-in
To set up your account, go to Account > Sign In.
A dialog box will appear. Enter your Apple ID and password and click on Sign In button.
So that is all we required in order to install and run iTunes on Ubuntu. Now you can start using the iTunes on your Linux machine to access Apple music.