Skip to main content

Deepin Mirror Usage Guide

info

Some content in this document may have been translated by AI.

Introduction to Deepin and Software Management

Deepin (formerly known as Linux Deepin) is committed to providing a beautiful, user-friendly, secure, and reliable Linux distribution for users worldwide. The Deepin project was initiated in 2008 and released its first version under the name "Linux Deepin" in 2009. In April 2014, it was renamed "Deepin" and is often referred to as the "Deepin Operating System" in China. Deepin is an open-source operating system primarily based on the Linux kernel and focuses on the desktop environment. It features a clean and modern interface, a wide range of applications and tools, and can meet daily office, study, and entertainment needs.

Deepin uses the APT package management tool to manage DEB software packages. Specifically, Deepin manages system software sources by modifying the /etc/apt/sources.list configuration file. In general, users can replace the default source address in this configuration file (i.e., https://community-packages.deepin.com/) with the mirror source provided by this software mirror site.

Replacing Deepin Software Sources

One-Click Source Replacement (YAML CLI)

caution

This method is only applicable when switching from official sources to the mirror sources on this site. If you have already switched sources, please do not use the following commands.

Use the YAML CLI method to replace the default source address https://community-packages.deepin.com/ in the software source configuration file with the current mirror source site.

操作方法:替换文件中的内容

Deepin version
Deepin 20
是否为 root 用户
sudo sed -i.bak -E -e "s|https?://([^/]+)/deepin|https://mirrors.hust.edu.cn/deepin|g" /etc/apt/sources.list
caution

To avoid problems when replacing software source configuration files, please make a backup of the system's default software source configuration files before proceeding.

1. Based on your preference, copy the following software source configuration content to /etc/apt/sources.list and save it

Are you the root user?
Deepin version
Deepin 20
Enable source mirror
deb https://mirrors.hust.edu.cn/deepin apricot main contrib non-free
# deb-src https://mirrors.hust.edu.cn/deepin apricot main contrib non-free

2. Update the software using the following command

操作方法:执行命令

执行命令:

是否为 root 用户
sudo apt-get update

One-Click Source Replacement (sed command)

caution

This method is only applicable when switching from official sources to the mirror sources on this site. If you have already switched sources, please do not use the following commands.

Use the sed command to directly replace the default source address https://community-packages.deepin.com/ in the software source configuration file with the current mirror source site.

Are you the root user?
Deepin version
Deepin 20
sudo sed -E -e "s|https?://([^/]+)/deepin|https://mirrors.hust.edu.cn/deepin|" /etc/apt/sources.list

Important Notes

  • This mirror site does not synchronize versions earlier than Deepin 20. If needed, please use the official sources.
  • This mirror site does not synchronize Deepin 23 Nightly versions. If needed, please use the official sources.
  • This mirror site does not provide Deepin App Store mirrors, so please do not modify the App Store related sources in /etc/apt/sources.list, such as https://app-store-files.uniontech.com/
  • Deepin 20 and above versions support HTTPS sources by default. If you encounter issues pulling HTTPS sources, please use HTTP sources to install the following software.
Are you the root user?
sudo apt install apt-transport-https ca-certificates
sudo apt update

Deepin Installation Images

This site provides the latest version of Deepin installation images for amd64, arm64, loongarch64, and riscv64 architectures, as well as other versions of Deepin installation images for the amd64 architecture.

info

This site includes Deepin 23 Nightly installation images, but does not currently provide its software source mirrors. If needed, please use the official sources.

Choose your prefered domain
mirrors.hust.edu.cn
This domain is Dual Stack
Enable HTTPS