How do I install iTunes on Ubuntu?

I've tried different ways to install iTunes, but to no avail. I tried with Wine, but it didn't work. Is it possible to have iTunes on Ubuntu?


You can try using PlayOnLinux.

PlayOnLinux is a graphical tool supplementing Wine.

To install PlayOnLinux on Ubuntu follow the below steps:

sudo wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -

Add playonlinux repository and install it

sudo wget http://deb.playonlinux.com/playonlinux_precise.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get update
sudo apt-get install playonlinux

In case you get an error, do this else skip to next

sudo apt-get install curl p7zip-full p7zip-rar

Now run it

sudo playonlinux

iTunes on Ubuntu

  • Download iTunes
  • Navigate to the already open PlayOnLinux window and click on Install a non-listed program as shown below. enter image description here
  • Browse to the iTunes setup file. enter image description here
  • Click on Next and follow the installation instructions

source


These solutions are in more detail and have screenshots here:
http://web.archive.org/web/20150511192215/http://www.ubuntuka.com/itunes-ubuntu-linux

It is possible to run iTunes using Wine but you may have to download an older version and certain things will not work however these steps should allow you to at least get the program up and running:

  1. Go to Ubuntu menu and select

    System –> Administration –> Synaptic Package Manager

    then type ‘wine’ in quick search and select wine package.

  2. Hit Ctrl+I to mark it for installation or set a checkbox left to package name (it will also ask to mark several dependency packages).

  3. Press Apply button or hit Ctrl+P and confirm the installation.

  4. In a few minutes Ubuntu will download and install wine.

  5. After a confirmation message that packages were installed close Synaptic Package Manager. From this point wine is installed on your Ubuntu and you can run various windows applications including itunes.

  6. Download the latest version of iTunes from www.apple.com (today it is iTunes 9.2) or download one of previous versions from www.oldapps.com if the latest one poses problems or just refuses to install under wine emulator (this happens so be prepared for this situation).

  7. Open folder with downloaded itunes.exe (if you use Firefox as browser it’ll be saved directly to the desktop), select file and enter to file properties (right click –> Properties).

  8. Save changes and execute the file by double click. Follow itunes installation steps until it shows that installation is successfully finished.

  9. Once installation is finished you will be able to start itunes by clicking corresponding shortcut on Ubuntu desktop or running the following command in terminal (go to Ubuntu menu and select System –> Accessories –> Terminal):

    wine ~/.wine/dosdevices/c\:/Program Files/iTunes/iTunes.exe
    

The second and less popular way of getting iTunes running is by using a Virtualbox, and this way all of the features are available. To do so follow the steps provided here:

  1. Go to www.virtualbox.org and download the latest version of Virtualbox binary deb package for Ubuntu.

  2. Open downloaded package with GDebi Package Installer — it comes with Ubuntu by default and is associated with .deb files from the beginning so just double click Virtualbox deb package.

  3. Press ‘Install Package’ button and follow easy instructions to get Virtualbox package installed. Once finished you will get ‘Oracle VM Virtualbox’ item in Applications –> System Tools menu.

  4. Open

    Applications –> System Tools –> Oracle VM Virtualbox

    and press button ‘New’ to create virtual machine, and prepare virtual machine for Windows XP (you can also use other versions of Windows) operating system that will be used to run iTunes. You may need to look into Virtualbox's documents on setting up a virtual machine as they can be kinda tricky sometimes.

  5. Insert your preferred version of Windows media (disc, iso, or usb and I personally currently recommend Windows 7) and press ‘Start’ button to boot virtual machine. Install a copy of Windows to virtual machine and logon to the Windows desktop.

  6. In Windows inside virtual machine go to apple.com, download and install the latest version of iTunes. Once finished you will get workable itunes with all those terrific features it supports.

Another way to keep iTunes in your life is dual-booting Windows and Ubuntu.

And these are some alternatives to iTunes that work great in Ubuntu

  1. Rhythmbox — this one comes with Ubuntu by default so it’s even not necessary to install it, just go to

    Applications –> Sound and Video –> Rhythmbox Music Player.

    It provides powerful and easy music browser, can sort/search music of almost all known formats including streaming audio, can play and rip CDs and DVDs. One of the most important features of Rhythmbox is iPod support meaning e.g. I can connect my favourite ipod classic 160GB and transfer music to it without itunes at all. Developers say that Rhythmbox was inspired by Apple’s itunes. I believe them.

  2. Amarok — music player and manager with impressive list of features.

    Currently this is the most powerful music engine available for Ubuntu and Linux on the whole. Amarok makes it possible to transfer files to iPod and other mp3 players, to buy legal music from Magnatune (www.Magnatune.com) store, to create dynamic playlists, to import itunes music database and much-much more. Amarok was designed for KDE (while Ubuntu runs Gnome) desktop manager so it requires a lot of dependencies when you install it — be prepared to download 200 MB of staff to get Amarok installed.

  3. Banshee — is open source media player supported by Novel. It brings a lot of useful features to user starting from ability to manage music library and media art and ending with full support of video and podcasts. Banshee is one of the most pretty-looking application of this list, it took a lot of features from itunes and can also sync ipod and other media devices with your music and video library. I’m using Banshee for several years and still believe this is the best itunes-like music player for Ubuntu.

  4. Exaile — is very fast and easy-to-use music player for Gnome window manager. Currently it is on its early stage of development and didn’t reach 1.0 version but brings very powerful list of features like album art management, lyrics fetching or ipod device support. Exaile was designed as an alternative to Amarok and iTunes so you will find many features from them.

Buy legal music in Ubuntu without itunes

There are two major alternatives to iTunes Music Store in Ubuntu which can be used in the same way — Jamendo, Magnatune. Ubuntu applications Rhythmbox, Banshee, Amarok and Exaile supports mentioned music stores and make it possible to navigate the music store and buy the music as easily as in itunes music store. Also there are a lot of music stores like Amazon which makes it possible to preview and buy music using any browser like Firefox, Opera or Chromimum which are supported by Ubuntu.


  1. Install VirtualBox: https://www.virtualbox.org/wiki/Linux_Downloads
  2. Create a Windows VM
  3. Install iTunes in the running VM: https://www.apple.com/itunes/download/

tl;dr:

Tunesviewer: Lightweight, easy-to-use app for university podcast access.


I might be a little bit late, and this solution does not provide all iTunes functionalities but its enough for streaming/downloading podcasts and iTunesU content.


You don't need to install the repo to get PlayOnLinux, as the standard repos contain it. It can be found by using the following command:

sudo apt-get install playonlinux

You will also need to do install curl and 7zip as mentioned above:

sudo apt-get install curl p7zip-full p7zip-rar