How to download and install iTunes on Linux

Apple doesn't provide iTunes installer for Linux, but that doesn't stop you copy, sync your music collection. Here's how to download and install iTunes on a Linux system.

iTunes has always been a convenient platform for downloading, organizing, playing, and syncing media between your Apple devices. It also gives users a large pool of media to buy or stream millions of songs using Apple Music.

Other than the iPhone, iPad, and iPod, iTunes is also available for macOS and Windows operating systems. Unfortunately, there is no installer for iTunes on Linux systems like Ubuntu, Fedora, or any other distributions.

There are several applications developed as an alternative for iTunes. However, if you are working with an iPod, iPad, or iPhone, you will have to use iTunes. It doesn’t mean we can’t run iTunes on Linux. It is possible only that it is a little more technical compared to having an iTunes installer on other platforms.

Installing iTunes on Linux

To run iTunes on Linux, we will have to use the iTunes installer for Windows operating systems. However, you can’t install Windows ‘.exe.‘ files on Linux directly due to compatibility issues. That’s why we will use Wine.

Wine to run windows applications on Linux
Wine to run windows applications on Linux

Wine is a free and open-source compatibility layer that enables users to run native Windows applications on Linux and Unix environment. It also has a graphical frontend application known as PlayOnLinux, allowing you to install Windows applications more quickly.

In this post, we will show you how to download and install iTunes on your Linux system. Our distribution of choice will be the recently released Ubuntu 20.04 LTS. We will divide this tutorial into three main sections:

  • Download and install Wine on Linux
  • Download iTunes installer for Windows
  • Install iTunes on Linux

Step 1) Download and install Wine on Ubuntu.

As described above, we will need to install Wine on Linux. Open the Terminal and follow the steps below.

Step 1). If your running a 64Bit architecture system, you will be required to enable 32Bit architecture. Execute the command below on the Terminal.

sudo dpkg --add-architecture i386

Enable 32Bit Architecture on your system
Enable 32Bit Architecture on your system

Step 2). Next, download and add the Wine repository key. Do so by executing the command below on the Terminal.

wget -O - | sudo apt-key add -

Download and Add the Wine repository key

Step 3). Now, we will need to add the Wine repository of the Linux release you are using. If you are on Ubuntu, execute any of the commands below as per your Ubuntu release.

  • Ubuntu 20.04 LTS (Focal Fossa)
sudo add-apt-repository 'deb focal main'
  • Ubuntu 19.10 (Eoan Ermine)
sudo add-apt-repository 'deb eoan main'
  • Ubuntu 18.04 LTS (Bionic Beaver)
sudo add-apt-repository 'deb bionic main'
  • Ubuntu 16.04 LTS (Xenial Xerus)
sudo add-apt-repository 'deb xenial main'

Since we are using Ubuntu 20.04 LTS (Focal Fossa) in this tutorial, we will execute the first command.

Add your wine repository
Adding your wine repository

Step 4). Once you have added your Wine repository, we can now proceed to download and installing Wine on your system.
Execute the command below on your system.

sudo apt install --install-recommends winehq-stable

Download and install Wine on your system
Download and install Wine on your system

In case ‘apt‘ raises an issue about any missing dependencies, install them and execute the command again.

Step 5). To ensure that Wine is successfully installed, run the ‘–version’ command, as shown below.

wine --version

Check Wine version on the Terminal
Check Wine version on the Terminal

Download iTunes for Windows.

Once we have Wine installed in our system, we can proceed to download the iTunes executable for Windows. Visit the official iTunes download page and download the Windows.

Download iTunes Setup for Windows
Download iTunes for Windows

Installing iTunes on Linux using Wine

Step 1) Navigate to the directory you downloaded the installer. Right-click on the ‘.exe.’ file and select the option, “Open with wine windows program loader.”

You might see the notification that Wine wants to download Mono and Gecko. Click “Install” and then proceed with iTunes installation.

Install mono on wine
Install mono on wine

install wine gecko
install wine gecko

Once Wine Mono and Wine Gecko install, you should see the iTunes Welcome page. See the image below.

iTunes Welcome Page
iTunes Welcome Page

Click “Next.”

Step 2) You will need to choose the folder where iTunes will install. Since Wine tries to emulate a Windows environment, you will see the directory “C:/Program Files/iTunes/” selected, leave it as it is.

Select WIne Installation directory
Select WIne Installation directory

Click “Install.”

You might see a warning that “autorun” is turned off. Click “Yes” so that iTunes can turn it on automatically.

Turn On autorun
Turn On autorun

Step 3) Once “autorun” is turned On, iTunes installation should start immediately. Please wait for it to complete. You should see the message, “iTunes installed successfully.” Click “Next” and on the next window that appears, click “Finish.”

Installi iTunes on Linux
Installing iTunes on Linux

Step 4) Now, we need to launch iTunes. On the Desktop, you should be able to see the iTunes file. It should either be “iTunes” or “iTunes.desktop,” as in the image below. In case you see a file like “”, assume it since this is a Windows shortcut file. You can delete it.

ITunes Desktop file
iTunes Desktop file

If you have the “iTunes” file present, double click on it, and iTunes should now start running on your Linux system; otherwise, if the file present is “iTunes.desktop“, then we will use the gtk-launch command to launch iTunes on Linux.

Note; gtk-launch requires that the file be present in the ‘/usr/share/applications‘ directory. Therefore, you will need to copy the “iTunes.desktop” file in this directory before executing the command below.

gtk-launch iTunes.desktop


Step 5) The iTunes Software Agreement window should launch after some time. Click “Agree” to continue.

iTunes Software agreement window
iTunes Software agreement window

Step 6) iTunes will launch on Linux. You might get a notification like “iTunes has detected it is not the default player…”, if you wish to make it your default, audio player, click “Yes,” otherwise click “No.”

The iTunes welcome page should now open. Click “Agree” to continue.

iTunes Welcome page
iTunes Welcome page

Step 7) On the next Window, you will now get access to iTunes’ main Window. Here, there are several menu items and tabs, which gives you access to fantastic iTunes features. Click on “Sign in to Itunes Store.” You will be required to enter your Apple Id and Password, and you are good to go.

Sign in to the Itunes store
Sign in to the Itunes store

And that’s it! You now have iTunes running on your Linux system. You can now access Apple music conveniently from your Linux system.

Arun Kumar
Arun did his bachelor in computer engineering and loves enjoying his spare time writing for FOSS Linux. He uses Fedora as the daily driver and loves tinkering with interesting distros on VirtualBox. He works during the day and reads anything tech at night. Apart from blogging, he loves swimming and playing tennis.


  1. But why? Why would you want to do this? If you have iOS devices you can buy music from them. If you don’t have iOS devices, why would you need iTunes? iTunes is also being replaced by other apps including Apple Music. And there are already many decent music players on Linux such as Clementine than work far better!


Please enter your comment!
Please enter your name here




How to install CMake on Ubuntu

CMake is a cross-platform free and open-source software tool designed to build, test, and package the software. CMake uses a simple platform and compiler-independent configuration files to control the software compilation process.

How to install Lightworks on Ubuntu

Even though Linux may not get a native installer of video editing software like Adobe Premiere or Final Cut Pro, that doesn't mean there are no industry standards tools available. Lightworks is non-linear editing (NLE) video mastering app for Windows, Linux, and macOS. Installing it on Ubuntu is simple due to deb package availability.

How to install DaVinci Resolve on Fedora

Davinci Resolve is a professional application used for color correction, video editing, visual effects, and motion graphics. It is one of the extensively used software by movie industries located in Hollywood.

The 10 Best Programming Languages for Hacking

One of the significant entities we have in Cyber Security is Ethical Hacking (ETH). It is the process of detecting and finding flaws or vulnerabilities in a system that a hacker would exploit.

5 Ways to Open a Terminal in Ubuntu

Even though Ubuntu supports many applications with amazing Graphical User Interfaces (GUI), there are always reasons why users prefer using the Terminal to perform different tasks.

How to install Wine on Fedora Workstation

Linux distributions are becoming more and more popular every day, and Fedora Workstation is not left behind. This popularity brings forth the need to run Windows applications on Linux distros like Fedora. Windows has quite some excellent Software that is not available for Linux.


Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.
Elementary OS 5.1 Hera has received a point release with a handful of new features and bug fixes, and we will be reviewing the significant changes in this article. For those new to elementary OS, this Ubuntu-based Linux distribution uses their inhouse built Pantheon desktop environment and AppCenter.

What’s New in Ubuntu 20.04 LTS “Focal Fossa”

Ubuntu 20.04 LTS is out now! This is the successor to Ubuntu 18.04, which was released in April 2018 and still has three years of official support left. Code-named Focal Fossa, the new edition has all the bells and whistles included in it, making it one of the best Ubuntu releases yet. Let's find out more.

5 Best Application Launchers for Ubuntu

Ubuntu is one of the most used Linux distributions worldwide. It is also the reason why it has the maximum number of available programs for itself. Today we are going to talk about one category of those programs, the application launchers.

5 Best Download Managers for Linux

We often need to download large files that can go corrupt due to various reasons such as slow internet or interrupted download. Using a broken downloaded file is not something one wants. Download managers make sure that the downloaded file maintains its integrity and also presents you with the ability to pause and resume downloads, provided the server supports it. When you are downloading a massive file, it's recommended to use a download manager.

How to dual-boot Ubuntu and Fedora on your PC

Every Linux distribution has its capabilities and preferences as per the user requirements. That brings forth the need to run different distros on one laptop. For example, a CyberSecurity enthusiast might prefer to use Ubuntu for development and Kali Linux for penetration testing.