# Parallels Tools for Linux

大多数情况下，您的 Linux 虚拟机已经自动安装了 Parallels Tools。

{% hint style="info" %}
**注意**：您可以在[此处](https://kb.parallels.cn/124223)找到搭载 Apple Silicon 的 Mac 上的 Parallels Desktop 中支持的最新 Linux 发行版列表。
{% endhint %}

但是，如果没有安装，确保已安装 Parallels Tools for Linux 的最快方法是：

1. 启动 Linux 虚拟机。
2. 当 Linux 启动时，使用 macOS 菜单栏选择**操作** > **安装 Parallels Tools**。
3. 按提示重启 Linux 虚拟机。

### 手动安装 Parallels Tools

如果上述方法失败，请执行以下操作安装 Parallels Tools：

1. 启动 Linux 虚拟机。
2. 虚拟机启动时，请将 Parallels Tools 镜像连接到虚拟机：在菜单栏中，单击**设备** > **CD/DVD** > **连接镜像...**。
3. 依次单击**应用程序** > **Parallels Desktop.app** > **内容** > **资源** > **工具**转到镜像位置，如果是搭载 Apple Silicon 的 Mac，选择 `prl-tools-lin-arm.iso`，如果是基于 Intel 的 Mac，选择 `prl-tools-lin.iso`。\
   \
   这将使用 Parallels Tools 挂载虚拟 CD/DVD。
4. 双击 `install-gui` 文件以启动安装。
5. 安装完成后，单击**重启**来重启虚拟机或等待虚拟机自动重启。

### **如何使用终端安装 Parallels Tools**

这篇[知识库文章](https://kb.parallels.cn/129740#section2)中维护并更新了有关使用终端安装 Parallels Tools for Linux 的详细信息。

### **如何查看是否已安装 Parallels Tools**

您可轻松确定是否已安装 Parallels Tools。启动您的虚拟机并查看其窗口中的状态栏。如果虚拟机窗口的状态栏中出现`按下 Ctrl + Alt 以释放鼠标和键盘`的提示，表示还未安装 Parallels Tools。当已安装了 Parallels Tools 时，您无需按任何键来释放鼠标和键盘 - 他们会自动释放。

**故障排除**

Parallels Tools 可能会安装失败，因为并非所有必需的程序包都可用。查看虚拟机操作系统中的 `/var/log/parallels-tools-install.log` 文件中是否有错误消息，安装缺少的程序包，然后再次尝试安装 Parallels Tools。

有关安装 Parallels Tools 的详细信息，请参阅 [http://kb.parallels.cn](http://kb.parallels.cn/) 上的 Parallels 知识库。

**更新 Parallels Tools**

如果有更新版本的 Parallels Tools for Linux 可用，就会出现 **Parallels Tools 安装代理**。您将会获得提示要求选择命令获取 root 权限并输入密码（如果是 `su` - root 密码，如果是 `sudo` - 您的用户密码）。之后，会自动更新 Parallels Tools。

**重新安装 Parallels Tools**

要在 Linux 中重新安装 Parallels Tools，首先移除 Parallels Tools 然后再次安装。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.cn/pdfm-20-ug-zh_cn/parallels-desktop-for-mac-20-yong-hu-zhi-nan/gao-ji-zhu-ti/an-zhuang-huo-geng-xin-parallels-tools/parallels-tools-for-linux.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
