> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 升级 Ubuntu 镜像

本指南将引导您通过精简的流程使用预构建软件包更新系统，同时保留现有环境。更新从运行 Ubuntu、Windows® 或 macOS® 的主机计算机执行，以确保您的设备获得性能、安全性和兼容性方面的最新改进。

<img src="https://mintcdn.com/qualcomm-prod/kAKe9NmJg3DGZBpB/Ubuntu/images/update-software/upgrade-ubuntu.png?fit=max&auto=format&n=kAKe9NmJg3DGZBpB&q=85&s=1cc85c0619f8e8e2b5ee91ba2dc92969" width="479" height="250" data-path="Ubuntu/images/update-software/upgrade-ubuntu.png" />

**前提条件：** 开始之前 - 完成[**🔗 设置设备**](../set-up-the-device)中的说明。

## 登录与 Wi-Fi 连接

**a.** 使用连接的显示器配合键盘和鼠标登录并修改密码（如尚未修改），或者在通过串口连接时经由 UART 控制台操作。

* 使用 **ubuntu** 作为用户名和密码登录 Dragonwing IQ-9075 EVK 的 Ubuntu UART 控制台。然后，您可以在命令终端中重置密码。
* 成功登录后，您将看到以下串行控制台提示符。

<img src="https://mintcdn.com/qualcomm-prod/kAKe9NmJg3DGZBpB/Ubuntu/images/update-software/iq9075-serial-console-prompt.png?fit=max&auto=format&n=kAKe9NmJg3DGZBpB&q=85&s=54649c2f4e77336d6dee2e4d7e8b9661" width="649" height="390" data-path="Ubuntu/images/update-software/iq9075-serial-console-prompt.png" />

**b.** 按照以下步骤设置 Wi-Fi 连接：  [🔗 **Wi-Fi 设置指南**](../set-up-the-device#wi-fi)

## SSH 连接

SSH 可在主机计算机与 Dragonwing IQ-9075 设备之间通过网络实现安全的终端访问。

在连接 SSH 之前，请确保您的设备已通过以太网或 Wi-Fi 建立网络连接。

<Note>**注意：**  请确保远程主机计算机与设备连接到同一个 Wi-Fi 接入点。</Note>

**a.** 要连接 SSH，请先根据网络连接类型，在主机计算机的 UART 控制台上运行相应的命令，查找 Dragonwing IQ-9075 的 IP 地址：

对于以太网：

```shell theme={null}
ip addr show end0
```

对于 Wi-Fi：

```shell theme={null}
ip addr show wlp1s0
```

此命令会显示 Dragonwing IQ-9075 设备的 IP 地址。

**b.** 在主机计算机上运行以下命令，与设备建立 SSH 连接：

```shell theme={null}
ssh ubuntu@ip-address
```

**参数详情**\
ip-address 是 eth0 或 wlan0 接口的 IP 地址。

**示例**\
要连接 IP 地址为 192.168.0.222 的设备，请运行以下命令：

```shell theme={null}
ssh ubuntu@192.168.0.222
```

**c.** 输入 *ubuntu* 用户的密码进行登录。

## 验证软件版本

在设备 shell 中运行以下命令验证操作系统版本：

```shell theme={null}
cat /etc/os-release 
```

**输出：**

```json theme={null}
PRETTY_NAME="Ubuntu 24.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.4 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
```

运行以下命令检查 Linux 内核版本：

```shell theme={null}
uname -a
```

**输出：**

```json theme={null}
Linux ubuntu 6.8.0-1064-qcom #65-Ubuntu SMP PREEMPT_DYNAMIC Mon Feb  9 09:59:39 UTC 2026 aarch64 aarch64 aarch64 GNU/Linux  
```

## 升级预构建软件包

此命令会将设备上的预构建软件包升级到最新版本。

```shell theme={null}
sudo apt update
sudo apt upgrade -y
```

<Note>**注意：**\
如果您的软件版本当前不是 Ubuntu（例如运行 Qualcomm Linux 的设备），请先按照[**🔗使用 Launcher 烧录镜像**](./flash-using-qualcomm-launcher)指南烧录 Ubuntu。</Note>

<Warning>**重要：** 其他驱动程序和软件包</Warning>

**下一步：**
如果尚未安装所需的软件包，请参阅[**🔗安装所需软件包**](../Install_required_software_packages)章节，并运行提供的 Install PPA Packages 脚本。
