iTunes 仅适用于Windows和 macOS 计算机。Chromebook(Chromebooks)没有官方的 iTunes 应用程序。但是,有一种方法可以在Chrome(Chrome)操作系统
中安装和运行 iTunes(适用于Windows) 。
本教程涵盖了您需要了解的有关在Chromebook(Chromebooks)上侧载 iTunes 的所有信息。您只需要Chromebook和互联网连接
即可。(All)
在 Chromebook 上安装 iTunes:你应该知道的
64 位版本的 iTunes(适用于Windows )在(Windows)Chromebook(Chromebooks)上不起作用。同样(Likewise),并非所有 32 位 iTunes 版本都能在ChromeOS中正常运行。我们在测试设备上安装了最新的 32 位 iTunes (v12.10.11),但该应用程序无法使用——每次都崩溃。我们的研究表明,其他Chromebook用户也有相同的体验。
iTunes v12.9.3(32 位)更稳定,但它不再可以在 Apple 网站上下载——很可能是因为它是一个过时的版本。
但是,您可以从适用于 Windows 的第三方软件下载站点(third-party software download sites for Windows)下载该特定 iTunes 版本。将 iTunes 可执行文件保存在 Chromebook 的Linux文件夹中。对于本教程,我们将设置文件保存为 iTunesSetup.exe。
注意:虽然 iTunes 版本可以运行,但某些特性和功能可能不可用。此外,应用程序版本可能会出现故障,因为它已停用和过时。
设置(Set)Chromebook 的Linux 开发环境(Linux Development Environment)
ChromeOS Linux开发环境支持运行ChromeOS 69或更高版本的Chromebook 。(Chromebooks)如果您的Chromebook(Chromebook)上已经设置了Linux 开发环境,请(Linux development environment)跳转(Jump)到下一部分。否则(Otherwise),请更新Chromebook的操作系统(设置(Settings)> 关于ChromeOS)并按照以下步骤在ChromeOS中启用(ChromeOS)Linux支持。
1. 前往Settings > Developers > Linux开发环境(测试版(Beta))并选择开启(Turn)。
2. 选择下一步继续。
3. 在“用户名”对话框中输入首选名称或使用系统生成的用户名。此外,使用推荐(Recommended)的磁盘大小并选择安装(Install)以继续。
ChromeOS将下载设置Linux环境所需的文件。该操作需要几分钟时间,具体取决于您的连接速度和 Chromebook 的硬件配置。
在您的 Chromebook 上安装 iTunes
Wine是一个虚拟模拟器,可让您在Chromebook的Linux开发环境中运行Windows应用程序。按照以下步骤设置Wine并使用模拟器在您的Chromebook上安装 iTunes(适用于(Chromebook)Windows)。
确保您的Chromebook具有互联网连接。否则,您在设置 iTunes 时可能会遇到几条错误消息。
- (Open the Linux Terminal app)在 Chromebook 上
打开 Linux 终端应用程序。
- 将以下命令粘贴到控制台中,然后按Enter。
sudo apt-get install wine
此命令在Linux环境中安装Wine Linux 。由于您安装的是 32 位版本的 iTunes,请运行下一条命令来设置Wine的 32 位架构。这允许Wine安装 32 位应用程序而不会出现问题。
- 将以下命令粘贴到终端(Terminal)控制台中,然后按Enter。
sudo dpkg –add-architecture i386
- 接下来,在控制台中粘贴sudo apt update并按Enter。该命令更新Linux容器中的新包。
- 之后,运行sudo apt-get install wine32命令安装 32 位Wine包。
- 您可能会收到允许安装使用额外磁盘空间的提示。按键盘上的 Y(Press Y)并按Enter继续。
- 一切都设置在Linux环境中,以便在您的(Linux)Chromebook上安装 iTunes 。运行以下命令以安装您之前下载的 iTunes 安装文件。
WINEARCH=win32 WINEPREFIX=/home/username/.wine32/ wine iTunesSetup.exe
注意:将代码中的“(Replace “)用户名”替换为您的Linux开发环境的用户名。终端(Terminal)窗口顶部“@penguin”之前的文本是您的Linux用户名。此外,如果您以不同的名称保存了 iTunes 可执行文件,请替换“iTunesSetup.exe”。
- iTunes 安装窗口应该会在一分钟或更短的时间内弹出。选择下一步(Select Next)并按照安装提示继续。
- 您可以找到将 iTunes 快捷方式添加到桌面、将 iTunes 设为默认音频播放器以及自动更新 iTunes 的选项。选择安装(Select Install)以继续。
- 在“自动运行”提示中,如果您不会在 Chromebook
上将光盘 (CD) 与 iTunes 一起使用,请选择否。(using compact discs (CD) with iTunes)
- 安装完成后,取消勾选安装程序退出后打开iTunes,选择(Open)完成(Finish),然后继续下一步。
您需要做的最后一件事:修改 iTunes 桌面文件,以便您的 Chromebook 可以运行该应用程序。打开 iTunes 而不执行此操作将触发“未找到路径(Path)”错误。
- 打开Linux文件夹,选择右上角的三点菜单图标,然后选择显示(Show)隐藏文件。
- 导航(Navigate)到.local > share > applications > wine > Programs并打开 iTunes 文件夹。
- 右键单击(Right-click)iTunes.desktop 文件并选择Open with Text。
您应该在第三行
看到一个Exec命令。(Exec)
- 将行上的命令替换(Replace)为以下命令:
Exec=env WINEPREFIX=”/home/username/.wine32″ wine “/home/username/.wine32/drive_c/Program Files/iTunes/iTunes.exe”
将命令中的“(Replace “)用户名”替换为您的Linux用户名。同样,如果 iTunes 可执行文件在您的(Likewise)Chromebook上具有不同的名称,请替换“iTunesSetup.exe” 。
- Press Ctrl + S保存文本文件。或者,选择左上角的汉堡菜单图标,然后保存(Save)。
- 关闭文本编辑器并启动 iTunes。按搜索(Search)键并选择应用程序抽屉顶部的 iTunes。
如果在中央应用程序抽屉中找不到 iTunes 应用程序,请检查“Linux 应用程序”文件夹。
- (Select Account)选择菜单栏上的帐户,然后选择登录(Sign)以将应用程序链接到您的Apple ID帐户。
苹果音乐也可以
如果 iTunes 不起作用,请使用Android 版(Android)Apple Music应用程序访问您的 iTunes 音乐库。Apple Music应用程序可在Chromebook(Chromebooks)的Google Play 商店(Google Play Store)中找到。该应用程序很稳定,并且具有与iPhone 和 iPad
上的Apple Music应用程序类似的界面。(Apple Music)
How to Download and Install iTunes on Your Chromebook
iΤunes is available fоr Windows and macOS computers onlу. There’s no official iTunes app fоr Chromebooks. However, there’s a way to install and run iTunes (for Windows) in the Chrome operating system.
This tutorial covers everything you need to know about sideloading iTunes on Chromebooks. All you need is your Chromebook and an internet connection.
Installing iTunes on Chromebooks: What You Should Know
The 64-bit version of iTunes (for Windows) doesn’t work on Chromebooks. Likewise, not all versions of the 32-bit iTunes work properly in ChromeOS. We installed the latest 32-bit iTunes (v12.10.11) on our test device, but the app was unusable—it crashed every time. Our research revealed that other Chromebook users had the same experience.
iTunes v12.9.3 (32-bit) was more stable, but it’s no longer available for download on Apple’s website—most likely because it’s an outdated version.
However, you can download that specific iTunes version from third-party software download sites for Windows. Save the iTunes executable file in your Chromebook’s Linux folder. For this tutorial, we saved the setup file as iTunesSetup.exe.
Note: Although the iTunes version works, some features and functionalities might be unavailable. Also, the app version may malfunction because it’s retired and outdated.
Set Up Your Chromebook’s Linux Development Environment
ChromeOS Linux development environment supports Chromebooks running ChromeOS 69 or newer. Jump to the next section if the Linux development environment is already set up on your Chromebook. Otherwise, update your Chromebook’s operating system (Settings > About ChromeOS) and follow the steps below to enable Linux support in ChromeOS.
1. Head to Settings > Developers > Linux development environment (Beta) and select Turn on.
2. Select Next to proceed.
3. Enter a preferred name in the “Username” dialog box or use the system-generated username. In addition, use the Recommended disk size and select Install to proceed.
ChromeOS will download the files needed to set up the Linux environment. The operation takes a couple of minutes, depending on your connection speed and Chromebook’s hardware configuration.
Install iTunes on Your Chromebook
Wine is a virtual emulator that allows you to run Windows apps in your Chromebook’s Linux development environment. Follow the steps below to set up Wine and use the emulator to install iTunes (for Windows) on your Chromebook.
Ensure your Chromebook has an internet connection. Otherwise, you may encounter several error messages while setting up iTunes.
- Open the Linux Terminal app on your Chromebook.
- Paste the command below in the console, and press Enter.
sudo apt-get install wine
This command installs Wine Linux in the Linux environment. Since you’re installing the 32-bit version of iTunes, run the next command to set up Wine’s 32-bit architecture. That allows Wine to install 32-bit apps without issues.
- Paste the command below in the Terminal console and press Enter.
sudo dpkg –add-architecture i386
- Next, paste sudo apt update in the console and press Enter. The command updates new packages in the Linux container.
- Afterward, run the sudo apt-get install wine32 command to install the 32-bit Wine package.
- You may get a prompt to allow the installation to use additional disk space. Press Y on your keyboard and press Enter to proceed.
- Everything is set in the Linux environment to install iTunes on your Chromebook. Run the command below to install the iTunes setup file you downloaded earlier.
WINEARCH=win32 WINEPREFIX=/home/username/.wine32/ wine iTunesSetup.exe
NOTE: Replace “username” in the code with the username of your Linux development environment. The text before “@penguin” at the top of the Terminal window is your Linux username. Also, replace “iTunesSetup.exe” if you saved the iTunes executable file under a different name.
- The iTunes installation window should pop up in a minute or less. Select Next and follow the installation prompts to proceed.
- You’ll find options to add an iTunes shortcut to the desktop, make iTunes your default audio player, and auto-update iTunes. Select Install to continue.
- On the “AutoRun” prompt, select No if you won’t be using compact discs (CD) with iTunes on your Chromebook.
- When the installation is complete, uncheck Open iTunes after the installer exits, select Finish, and proceed to the next step.
One final thing you need to do: modify the iTunes desktop file so your Chromebook can run the app. Opening iTunes without doing this will trigger a “Path Not Found” error.
- Open the Linux files folder, select the three-dot menu icon in the top-right corner, and select Show hidden files.
- Navigate to .local > share > applications > wine > Programs and open the iTunes folder.
- Right-click the iTunes.desktop file and select Open with Text.
You should see an Exec command on the third row.
- Replace the command on the row with the one below:
Exec=env WINEPREFIX=”/home/username/.wine32″ wine “/home/username/.wine32/drive_c/Program Files/iTunes/iTunes.exe”
Replace “username” in the command with your Linux username. Likewise, replace “iTunesSetup.exe” if the iTunes executable file has a different name on your Chromebook.
- Press Ctrl + S to save the text file. Alternatively, select the hamburger menu icon in the top-left corner, and Save.
- Close the text editor and launch iTunes. Press the Search key and select iTunes at the top of the app drawer.
Check the “Linux apps” folder if you don’t find the iTunes app in the central app drawer.
- Select Account on the menu bar and choose Sign In to link the app to your Apple ID account.
Apple Music Also Works
If iTunes doesn’t work, use the Apple Music app for Android to access your iTunes music library. The Apple Music app is available in the Google Play Store for Chromebooks. The app is stable and has a similar interface as the Apple Music app for iPhone and iPad.