Oh, the age-old dilemma. You have a Install iTunes with Chromebook, but you also use Apple products and wish to access your iTunes collection on your Chrome OS devices. Apple has not yet – and will likely never – produce an Android version of iTunes. Many consumers have migrated to Apple Music and are satisfied with the Play Store version or accessing Apple Music over the web. However, there are several people who have a significant iTunes collection and others who use the shop frequently for media purchases and enjoyment. It would be great if you could do so on your Chromebook.
Well, where there is a will, there is a way, and the Linux container on Chrome OS is that way. Apple has its own iTunes applications for iOS and macOS, but the corporation also sells a Windows version of iTunes, which we will use to install on our Chromebook. First, confirm that your Chromebook supports Linux applications. Simply navigate to the Chrome OS settings menu on the system tray to accomplish this. In the settings menu, select the gear symbol and then choose Advanced. To install the Linux environment, pick the “switch on” option after clicking “Developers.”
Install iTunes on Chromebook in 2022
Here, we describe in detail how to get iTunes running on your Chromebook. To provide an overview, we are utilising the Wine software, which is widely used to run the greatest Windows 10 applications on Linux PCs. Using the Linux container, we will install the Windows version of iTunes on our Chromebook. Having stated all of this, let’s immediately proceed with the processes.
Run iTunes on Chromebook
- First and foremost, you need to enable Linux on Chromebookand then set up Wine on your Chromebook. We have written detailed guides separately so follow the above-linked articles and you will be all set for the next step.
- Now, let’s go ahead and download iTunes for Chromebook. Keep in mind, the 64-bit version of the app does not work properly on Chromebooks and displays a black window. I tested both the latest 64-bit and 32-bit build of iTunes but the black screen issue is still there. So, you need to download this specific 32-bit version of iTunesfrom here. The build is 12.9.3 from August, 2019.
- Next, rename the file to something easier like “itunes.exe” and move it to the Linux section.
- Now, open the Linux Terminal and run the below command to update Linux to the latest build.
sudo apt-get update && sudo apt-get upgrade -y
- Having done that, open the Terminal and execute the below command to change the Wine architecture to 32-bit. Make sure to change yourusernameto the actual username assigned to your Chromebook. To find the username, look for the portion before @penguinin the Linux Terminal. That’s your username. Meanwhile, if a Wine window opens up, click on the “OK” button.
WINEARCH=win32 WINEPREFIX=/home/yourusername/.wine32 winecfg
- Next, run the below command to install the 32-bit version of iTunes on Chromebook. Again, make sure to change your username. Instantly, an installation window will open up. Click on “Next” and proceed with the setup.
WINEARCH=win32 WINEPREFIX=/home/yourusername/.wine32/wine itunes.exe
- After the installation, click on “Finish” and voila, there you have it. iTunes successfully running on Chromebook.
Create Shortcut for iTunes on Chromebook
You have successfully installed iTunes on Chromebook and a shortcut has also been created in the App Drawer inside the Linux folder. However, when you click on it, the shortcut does not open iTunes due to an incorrect file path. So to fix this issue, follow these steps.
- Open the native Files app and move to the Linux section. Here, click on the 3-dot menu and enable “Show Hidden Files”.
- Now, navigate to the following path: .local -> share -> applications -> wine -> Program Files -> iTunes. Here, you will find iTunes.desktop file which is the shortcut that we need to edit. So, right-click on it and select “Open With”. Here, choose the Text app to open the file. In case, you don’t have the Text app, install it from here.
- Having done that, copy the below path and paste it just after Exec=. Keep in mind, do change yourusernameto the actual one.
env WINEPREFIX=”/home/yourusername/.wine32″ wine “/home/yourusername/.wine32/drive_c/Program Files/iTunes/iTunes.exe”
- Now, save the file and close the Text app. Finally, open iTunes from the App Drawer, and this time, it should launch perfectly fine. You can further pin iTunes to Chrome Shelf as well.
Enable 32-bit support with Wine
Linux is on your Chromebook, but not quite ready for the iTunes app. First, you need to enable support for 32-bit software, which requires a very specific update. Don’t worry, a bit more copying and pasting is all it will take.
If you haven’t already, open your Linux terminal up and get ready for some commands. First, paste in and execute:
sudo apt-get install wine
followed by pasting in:
sudo dpkg –add-architecture i386
to complete the Wine installation. As always, watch for any errors that indicate you may need to paste the command again with careful attention to every character.
Step 2: Now Wine is ready to be upgraded to its 32-bit version, paving the way for iTunes. Here again, you will need to paste in and execute two important commands. The first is:
sudo apt update
When that command has been run, paste in:
sudo apt-get install wine32
Now you should be ready to go.
Initiate iTunes setup
Step 1: You’ll want to update Wine one more time now that you’re working with 32-bit support, so again paste and run the command:
sudo apt update
Step 2: For this next command, pasting it directly into the terminal is a little difficult, because you’ll want to substitute the section “username” with your actual Linux username that you entered during setup. You may want to paste the line somewhere first, then manually add in your username before copying it again:
WINEARCH=win32 WINEPREFIX=/home/username/.wine32/ wine iTunesSetup.exe
Step 3: You’ll probably get a pop-up to enable features required to install iTunes, so confirm them and wait for iTunes to finish installing. A “Congratulations!” pop-up should indicate that the job is done.
Correct the iTunes file path
iTunes is now on your Chromebook, and you will be able to see its icon in your app window. But don’t launch it quite yet! The file path that iTunes downloaded with isn’t quite right, so your Chromebook won’t be able to locate the app until you change it to the correct, Wine/Linux-friendly version.
Step 1: First, find your new iTunes file. Head to My Files and go to* Linux Files*. Now, look to the Three-Dot icon at the top-right of the window and select it. Go down to Show Hidden Files and select this to make sure you can navigate correctly.
Step 2: Under your Linux files menu on the left, you should see the option to choose your Local folder. Choose it, then select Share > Applications > Wine > Programs > iTunes.
Step 3: Right-click on the iTunes file, and choose the option to Open With Text.
Step 4: In the text file, look for line three that begins with “Exec” and shows a file path. You are going to want to replace this file path without touching anything else in the text file. Replace it with this text, substituting “username” with your own Linux username once more:
Exec=env WINEPREFIX=”/home/username/.wine32″ wine “/home/username/.wine32/drive_c/Program Files/iTunes/iTunes.exe”
Save and close the file when you’re done.
Launch iTunes and sign in
All right, now you should be done. Open your app launcher and select iTunes to begin. Sign in with your Apple information, and you should be able to use iTunes as normal. Keep in mind that you’ll have to keep everything updated as time passes so this little workaround keeps on functioning.