How can I use Apple Music on Ubuntu, if its possible? Im thinking about switching over from spotify, but Im not sure if its worth it if I cant access the music from my desktop. Thank you!
EDIT 2019: Now it's much more easy to use Web Apple Music Players (see answers below)
EDIT 2018: I've installed it and it works (Ubuntu 16.04 and wine 2.16).
Install iTunes with Apple Music on Ubuntu :
- Download iTunes 32-bits (Apple Music require a version >= 12.3) : https://secure-appldnld.apple.com/itunes12/031-24468-20150916-D642FEDC-5C68-11E5-8BC9-CC5C6DA99CB1/iTunesSetup.exe (source : https://discussions.apple.com/thread/7270928?start=0&tstart=0)
- Follow iTunes setup installation (https://appdb.winehq.org/objectManager.php?sClass=version&iId=31322) :
1) Setup wineprefix with WINEARCH=win32
2) Leave configuration in Windows XP (for now)
3) Install with winetricks: gdiplus, msls31 ie8, ie8_kb2936068 .
- If your winetricks is not able to install msls31 because of hash mismatch, just download .dll (it should be around 157 kilobytes) from any website (like filewatcher) and replace the existing one in windows/system32.
- ie8_kb2936068 is not necessary but it seems iTunes Store is not crashing every time with it.
I was not able to install ie8_kb2936068, it works well without.
- I do not recommend touching IE after installation at all, iTunes Store doesn't seem to work properly after that.
4) After you've finished installing components, switch to Windows 7 and run the installer. Make use it's 32-bit.
Then run iTunes (you can find it on your dash now) and it should work =)
ORIGINAL 2017: Update, it is now supported : https://appdb.winehq.org/objectManager.php?sClass=version&iId=31322
Apple Music uses iTunes, you could try using wine/crossover to run it on Ubuntu. The problem is that iTunes has been very hard to run on Ubuntu. You can check the status of iTunes running on wine here. You can see that version 12.x (the latest) can be installed but nothing related to networking works. So if you already have music on your computer it will play it, but won't stream anything.
I do not recommend switching from Spotify to Apple Music if you're using Ubuntu. Stick to Spotify or try Google Play Music where both have a working web interface and Spotify has a dedicated app for Linux. If Apple ever offers a browser-based solution to iTunes maybe it'll be possible but I really doubt it. Apple's goal is to get you into their ecosystem and close all exit doors so you depend on them 100%.
Apple does currently not have a dedicated desktop program for Ubuntu. However, they provode an API thru theirs MusicKit JS (https://developer.apple.com/musickit/).
Developers has used the MusicKit JS in order to create a third party web player. Here are some third-part web players that redirect you to Apples' website in order to authenticate yourself so that you don't need to give away your password:
They are open source and source code can be found on GitHub:
you could use the web app at music.apple.com
The easiest way, No need to install wine or any application. You can use the web player for AppleMusic
Please sign in to your apple account else you can only hear the preview.
There is a nice Apple Music web player by using the new, official MusicKitJS API.
I found this is the best way to listen Apple Music on Linux so far!
There is no need to install any application for you to listen to your Apple Music library in Linux.
The only thing you need is a browser.
follow the above link to listen to apple music in the browser, it looks and performs solid. Disadvantage: can't see the smart playlist in this web view. Advantage: don't need to depend on third-party apps.
Using apple music page in chrome works (but misbehaves when paused and waiting) but has the same problem as musi.sh; that is: favorite music list ("Songs") does not load completely and random play is very limited, unless, you take a lot of time to go to the end of the list.
Searching for alternatives I found this:
Does not crash much as browsing in chrome, but has same favorites' problem. In addition, every time you open it, it misbehaves and you must log out and in.
A somewhat good workaround for the favorites loading problem is to connect an Android device to computer using scrcpy "latest" version, and just use the app with the device mirrored screen in your PC.