iTunes is Apple’s legacy media app for macOS and Windows—music libraries, podcasts, and (on Windows) iPhone backup and sync. Apple does not ship iTunes for Linux. There is no official .deb, Snap, or Flatpak, and searching apt for itunes returns nothing useful.
On Ubuntu in 2026, the honest split is simple: use Linux-native alternatives for everyday listening and library management, or treat Wine + an old Windows iTunes installer as a fragile experiment—not a replacement for a Mac or Windows PC when you need device sync or Store purchases.
Prerequisites
- Ubuntu 22.04 LTS, 24.04 LTS, or newer on amd64 for the Wine section below.
- sudo for package installs.
- An Apple ID if you want Apple Music streaming (browser sign-in).
- For Wine experiments: outbound HTTPS, ~2 GB free disk, and patience—success is not guaranteed.
Check your release if you are unsure:
. /etc/os-release && echo "$PRETTY_NAME"See also check Ubuntu version.
Choose an approach
| Approach | Best for | Stability | Jump to |
|---|---|---|---|
| Apple Music web + local players | Streaming, local MP3/FLAC libraries, everyday listening | Reliable | Method 1 |
| Wine + legacy iTunes 12.x | Curiosity, very old workflows, no device sync needed | Experimental—often broken | Method 2 |
For almost everyone, Method 1 is the correct answer. Use Method 2 only when you understand you are running unmaintained Windows software through a compatibility layer—not “installing iTunes on Ubuntu” the way Apple intends.
Method 1: Use Linux-native alternatives (recommended)
These options cover what most people actually want: stream Apple Music or play local files. None of them is iTunes, and that is fine.
Apple Music in your browser
- Open Apple Music on the web in Firefox or Google Chrome.
- Sign in with your Apple ID.
- Stream your library, playlists, and Apple Music subscription—no Wine required.
For a separate app window, use Chrome’s Install / Create shortcut option on music.apple.com (PWA-style). It still runs the web client, not native iTunes.
Rhythmbox for a local library
Rhythmbox ships on Ubuntu Desktop and behaves like a classic desktop music manager: import folders, playlists, podcasts, and play MP3, FLAC, and other common formats.
sudo apt update
sudo apt install -y rhythmboxLaunch Rhythmbox from Activities, then Music → Import Folder to pull in an existing library copied from another machine.
Amberol for a lightweight local player
Amberol is a minimal GNOME music player—good when you only need playback, not iTunes-style store integration.
sudo apt install -y amberolOpen Amberol, drag in a music folder, and listen. It will not sync with an iPhone or redeem iTunes Store purchases.
What these alternatives do not do
- iPhone / iPad backup or sync (use a Mac, Windows PC, or Linux tools such as
libimobiledevicefor limited device tasks). - iTunes Store purchases tied to the Windows/macOS app.
- FairPlay-protected content that only Apple’s official apps handle.
For a broader desktop app list, see must-have Ubuntu apps.
Method 2: Legacy iTunes under Wine (experimental)
If you still want to try the Windows iTunes installer, use a modern Wine setup and an old 32-bit iTunes 12.x build. Newer 64-bit iTunes releases frequently hit the black-screen problem on current Ubuntu.
Step 1: See what Wine Ubuntu already offers
Before adding third-party repos, check packaged Wine:
sudo apt update
apt-cache policy wine64 wineIf wine64 has a candidate from Ubuntu universe, you can start with:
sudo apt install -y wine64 wine winetricksWhen you need a newer Wine build, add WineHQ—using a signed-by keyring, not deprecated apt-key:
sudo dpkg --add-architecture i386
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ \
https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -cs)/winehq-$(lsb_release -cs).sources
sudo apt update
sudo apt install --install-recommends winehq-stable winetricksConfirm:
wine --versionStep 2: Prepare a 32-bit Wine prefix
Legacy iTunes installers expect a 32-bit Windows environment:
WINEARCH=win32 WINEPREFIX="$HOME/.wine-itunes" winetricks -q corefonts vcrun2015Step 3: Download an old iTunes Windows installer
Apple no longer promotes ancient builds, but archived iTunes 12.4.x for Windows (32-bit) installers still circulate via Apple support KB pages and community mirrors. Search Apple’s support downloads for iTunes 12.4.3 (32-bit) or similar—not the current 64-bit Windows release.
Download the .exe into ~/Downloads/, then run:
WINEPREFIX="$HOME/.wine-itunes" wine ~/Downloads/iTunesSetup.exeFollow the Windows installer prompts. If Wine offers to install Wine Mono or Gecko, accept—iTunes may refuse to start without them.
Step 4: Launch iTunes
WINEPREFIX="$HOME/.wine-itunes" wine "C:\\Program Files\\iTunes\\iTunes.exe"If you get a window with content, consider it a lucky outcome—not a supported configuration. Expect missing features, failed Apple ID login, and no dependable iPhone sync.
Deprecated: PlayOnLinux
Older guides install iTunes through PlayOnLinux and the deb.playonlinux.com repository. That path is deprecated on modern Ubuntu: the repo targets EOL releases, install scripts are stale, and apt update often fails on 22.04+. If you find a 2022-era tutorial with PlayOnLinux screenshots, ignore it—use Wine directly as above, or skip Wine entirely.
Troubleshooting
Black screen after iTunes launches
This is the most common failure mode on Ubuntu 22.04+ with newer iTunes builds.
| Symptom | Likely cause | What to try (no guarantees) |
|---|---|---|
| Window opens, content is black | 64-bit iTunes + incomplete Wine DirectX/WebView support | Switch to iTunes 12.4.x 32-bit and a WINEARCH=win32 prefix |
| Immediate crash | Missing Visual C++ runtimes or fonts | winetricks vcrun2015 corefonts in the same prefix |
| Worked once, blank after update | Wine or iTunes auto-updated | Recreate the prefix; pin an older Wine build only if you accept the maintenance cost |
| GPU-related glitches | Driver/Wine interaction | Test WINEPREFIX=... winecfg → Graphics → emulate a virtual desktop |
If none of that helps, stop fighting it—use Apple Music in the browser or a Windows/macOS machine for anything critical.
Other common Wine/iTunes issues
| Symptom | Likely cause | Fix |
|---|---|---|
wine: command not found |
Wine not installed | Install wine64 from Ubuntu or winehq-stable from WineHQ |
cannot execute binary file |
Wrong architecture installer | Use the 32-bit iTunes .exe, not 64-bit |
| Apple ID sign-in fails | Wine lacks full Windows web components | Expected limitation—use the web client |
| iPhone not detected | No Windows Apple Mobile Device driver stack | Expected limitation—use Mac/Windows for sync |
apt-key warnings in old tutorials |
Deprecated key management | Use /etc/apt/keyrings/ + .sources as shown above |
Kill a stuck iTunes process:
WINEPREFIX="$HOME/.wine-itunes" wineserver -kSummary
Apple does not publish iTunes for Linux. On Ubuntu, the practical path is Apple Music in a browser for streaming, plus Rhythmbox or Amberol for local files—real apps that work today without pretending to be iTunes.
Wine + legacy iTunes 12.x sometimes opens a window on amd64 Ubuntu with a 32-bit prefix and an old installer, but it is experimental: black screens, broken sign-in, and no reliable iPhone sync are normal outcomes. PlayOnLinux is obsolete on current releases. Do not treat any of this as a production iTunes replacement.
References
- WineHQ — Ubuntu packages
- Apple Music on the web
- Ask Ubuntu — iTunes black screen under Wine
- Ask Ubuntu — How do I install iTunes on Ubuntu?
- PlayOnLinux project site (legacy; not recommended for new Ubuntu installs)
- On-site: check Ubuntu version, must-have Ubuntu apps, install Google Chrome on Ubuntu

