How to install iTunes on Ubuntu? [100% Working]


Tips and Tricks, Ubuntu

Author: Omer Cakmak
Reviewer: Deepak Prasad

iTunes is a free movie and music player, media player, internet radio that can run under Mac OS X, Windows, produced by Apple, and is written in C++. So how is this application used in the Linux operating system?

In this article, we will install this application on Ubuntu, which is a Debian based operating system and a popular distribution among end users, so that you can use.

 

Different methods to install iTunes on Ubuntu

This job can be done with 2 different methods. In fact, in both methods, we will install a Wine application and iTunes. In the second method, we will use PlayOnLinux, a GUI application for Wine. It uses Wine in the background on PlayOnLinux. Let's start.

 

Method-1: Install with Wine

Wine is a free application layer that enables Windows software to run on POSIX-compliant operating systems such as Linux and Mac OS X. Wine stands for "Wine Is Not an Emulator".

First we will install Wine, then we will install iTunes with the help of Wine. First of all, let's download the wine repository key and add it to the system:

foc@ubuntu22desktop:~$ wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK

Then let's add the wine store and then press Enter to update the package store:

foc@ubuntu22desktop:~$ sudo apt-add-repository "deb https://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -cs) main"
Repository: 'deb https://dl.winehq.org/wine-builds/ubuntu/ jammy main'
Description:
Archive for codename: jammy components: main
More info: https://dl.winehq.org/wine-builds/ubuntu/
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Adding deb entry to /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list
Get:1 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease [8.041 B]
Hit:2 http://tr.archive.ubuntu.com/ubuntu jammy InRelease
Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
...
Get:29 http://tr.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
Get:30 http://tr.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [11,7 kB]
Fetched 6.395 kB in 3s (1.841 kB/s)
Reading package lists... Done
W: https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

Finally, install the Winehq-Stable package:

foc@ubuntu22desktop:~$ sudo apt install --install-recommends winehq-stable

The wine was successfully installed. Let's start with the iTunes installation.

You can download the version you want to install by going to the iTunes official download address. We wanted to install the latest version, but after the installation was getting the black screen error. Installation is explained over this version by downloading 12.4.3(iTunes 12.4.3 for Windows (64-bit - for older video cards)) from the original download address.

How to install iTunes on Ubuntu? [100% Working]

 

1 - Right click on the downloaded .exe file, click "Open With Other Application".

How to install iTunes on Ubuntu? [100% Working]


2 - Click on "Wine Windows Program Loader".

How to install iTunes on Ubuntu? [100% Working]


3 - The Wine Mono Installer is installed.

How to install iTunes on Ubuntu? [100% Working]


4 - Clicking on the Next icon continues the installation.

How to install iTunes on Ubuntu? [100% Working]


5 - Clicking on the Finish icon completes the installation.

How to install iTunes on Ubuntu? [100% Working]


6 - Created shortcut for iTunes on desktop. Right click on this icon and give permission to run.

How to install iTunes on Ubuntu? [100% Working]


7 - Confirm your agreement with Apple.

How to install iTunes on Ubuntu? [100% Working]


8 - You can use the iTunes application on Ubuntu.

 install iTunes

 

Method-2: Install with PlayOnLinux

PlayOnLinux is a graphical frontend for the Wine software compatibility layer. If you haven't installed Wine before because it uses Wine in the infrastructure, install with the following commands.

Add the Wine repository key:

foc@ubuntu22desktop:~$ wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -

Add the Wine repository:

foc@ubuntu22desktop:~$ sudo apt-add-repository "deb https://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -cs) main"
Repository: 'deb https://dl.winehq.org/wine-builds/ubuntu/ jammy main'
Description:
Archive for codename: jammy components: main
More info: https://dl.winehq.org/wine-builds/ubuntu/
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.

Then install Wine:

foc@ubuntu22desktop:~$ sudo apt install --install-recommends winehq-stable -y

Wine is installed, now it's PlayOnLinux's turn. Add the PlayOnLinux repository key:

foc@ubuntu22desktop:~$ sudo wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK

Add the PlayOnLinux repository:

foc@ubuntu22desktop:~$ sudo wget http://deb.playonlinux.com/playonlinux_precise.list -O /etc/apt/sources.list.d/playonlinux.list
--2022-11-21 22:45:42-- http://deb.playonlinux.com/playonlinux_precise.list
Resolving deb.playonlinux.com (deb.playonlinux.com)... 51.254.71.191, 2001:41d0:1008:d93::1e
Connecting to deb.playonlinux.com (deb.playonlinux.com)|51.254.71.191|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45
Saving to: ‘/etc/apt/sources.list.d/playonlinux.list’

/etc/apt/sources. 100%[=============>] 45 --.-KB/s in 0s

2022-11-21 22:45:42 (4,59 MB/s) - ‘/etc/apt/sources.list.d/playonlinux.list’ saved [45/45]

Update package list after adding repository:

foc@ubuntu22desktop:~$ sudo apt update

Install the PlayOnlinux and Wine 64 package with the updated repository:

foc@ubuntu22desktop:~$ sudo apt install playonlinux wine64 -y

Now search PlayOnLinux from the menu. And start the installation:

How to install iTunes on Ubuntu? [100% Working]

 

  • During a PlayOnLinux installation > Next
  • PlayOnLinux is not related to WineHQ > Next
  • Welcome to PlayOnLinux manual installation wizard > Next
  • What would you like to do? > Install a program in a new virtual drive > Next

Give the virtual drive a name:

How to install iTunes on Ubuntu? [100% Working]

 

If you want, you can configure it before installation, but we are installing for the first time, continue with Next.

How to install iTunes on Ubuntu? [100% Working]

 

  • 64 bits windows installation > Next
  • Wine Mono Installer > Install
  • Browse > Select your .exe file. > Next

How to install iTunes on Ubuntu? [100% Working]

After this step, the standard iTunes installation steps come. If you haven't installed it before, you can follow the steps in the previous method.

 

Create a shortcut for the application in PlayOnLinux.

How to install iTunes on Ubuntu? [100% Working]


How to install iTunes on Ubuntu? [100% Working]

 

Creating shortcuts is displayed again, this time we will not create shortcuts.

How to install iTunes on Ubuntu? [100% Working]

 

You can now use iTunes via PlayOnLinux.

How to install iTunes on Ubuntu? [100% Working]


How to install iTunes on Ubuntu? [100% Working]

 

Summary

In this article, we have explained how to install iTunes on Ubuntu with 2 methods. Whether you install with Wine or PlayOnLinux, you may not be able to catch the stability on Microsoft.

Although we have installed iTunes, you can install different Microsoft applications on Ubuntu with this method. It is available in many applications that PlayOnLinux recommends for you. By choosing the application you need, you can easily install on Ubuntu quickly.

 

References

askubuntu.com - How do I install iTunes on Ubuntu?
wine.htmlvalidator.com - How to Install Wine on Ubuntu 20.04 LTS

 

Omer Cakmak

Omer Cakmak

He is highly skilled at managing Debian, Ubuntu, CentOS, Oracle Linux, and Red Hat servers. Proficient in bash scripting, Ansible, and AWX central server management, he handles server operations on OpenStack, KVM, Proxmox, and VMware. You can connect with him on his LinkedIn profile.

Can't find what you're searching for? Let us assist you.

Enter your query below, and we'll provide instant results tailored to your needs.

If my articles on GoLinuxCloud has helped you, kindly consider buying me a coffee as a token of appreciation.

Buy GoLinuxCloud a Coffee

For any other feedbacks or questions you can send mail to admin@golinuxcloud.com

Thank You for your support!!

Leave a Comment