# 软件更新 ***Copyright © Quectel Wireless Solutions Co., Ltd. 2026. All rights reserved.*** --- # 软件源配置 软件源仓库的配置文件一般保存在以下地址: **/etc/apt/sources.list**:主仓库 **/etc/apt/sources.list.d/\*.list**:额外仓库 目前 **Quectel Pi H1** 智能主控板的 **Debian** 系统只有一个主仓库,后续可根据需求增加额外仓库。 ```bash pi@QuectelPi:~$ cat /etc/apt/sources.list deb https://mirrors.tuna.tsinghua.edu.cn/debian trixie main ``` 上述命令中 **trixie** 是操作系统代号,详情可通过以下命令查询: ```bash pi@QuectelPi:~$ grep VERSION_CODENAME /etc/os-release VERSION_CODENAME=trixie ``` # 中国仓库镜像 请执行以下命令以使用第三方提供的 **Debian** 仓库镜像: **备注** 第三方镜像源的可用性与下载速度由镜像服务提供方维护,移远通信无法保证其稳定性。 - USTCOSS ```bash sudo sed -i "s|https://mirrors.tuna.tsinghua.edu.cn/debian|https://mirrors.ustc.edu.cn/debian|g" /etc/apt/sources.list sudo apt-get update ``` - LZUOSS ```bash sudo sed -i "s|https://mirrors.tuna.tsinghua.edu.cn/debian|https://mirror.lzu.edu.cn/debian|g" /etc/apt/sources.list sudo apt-get update ``` - 恢复默认 ```bash sudo sed -e "s|https://mirrors.aliyun.com/debian|https://mirrors.tuna.tsinghua.edu.cn/debian|g" \ -e "s|https://mirrors.ustc.edu.cn/debian|https://mirrors.tuna.tsinghua.edu.cn/debian|g" \ -e "s|https://mirror.lzu.edu.cn/debian|https://mirrors.tuna.tsinghua.edu.cn/debian|g" \ -i /etc/apt/sources.list sudo apt-get update ``` # 包管理工具 可通过终端命令行 **apt** 工具进行安装。 如下图所示,依次点击相应图标进入终端命令窗口: ```{image} images/image_UVVVbhFXcoMeqaxCiodcFMPTnS6.webp :width: 1409px :height: 787px ``` 一些常用命令如下: 更新软件源配置: ```bash sudo apt update ``` 升级所有已安装的软件包: ```bash sudo apt upgrade ``` 安装新软件包: ```bash sudo apt install ``` 卸载软件包: ```bash sudo apt remove ``` 查看已安装软件包的信息: ```bash sudo apt show ``` 查找软件包: ```bash sudo apt search ``` 列出所有已安装的软件包: ```bash sudo apt list --installed ``` # deb包安装 **deb** 包安装方法请参考 [效率与办公](<../效率与办公/效率与办公.md>) 章节。 # 软件商城 按下图顺序依次点击桌面图标,进入软件包 **app**,点击搜索框查找相应软件包,最后安装即可。 ```{image} images/image_OiCpb70N5o9zIOxFZfvceplPnUe.webp :width: 1549px :height: 856px ``` ```{image} images/image_BQW3bodf4oDM4CxpPCxcELjwn6f.webp :width: 1211px :height: 814px ``` ```{image} images/image_UWHhbgST4oJ5uMxDwUacCPVEn7d.webp :width: 1209px :height: 809px ``` 已安装的 **app** 可通过点击顶部“**Installed**”按钮查看。 可升级的 **app** 可通过点击顶部“**Updates**”按钮查看。