How to Change Debian Source: Complete Guide

Changing the software source of Debian can help speed up the download of software packages. Here are the steps to change the Debian source:

  1. Open the terminal and log into the system with root privileges.
  2. Make a backup of the sources.list file in the /etc/apt directory by copying it to sources.list.bak.
  3. Open the sources list file located in the etc directory using the nano text editor.
  4. Replace the old source address in the file with a new source address, such as using the Tsinghua University software source at https://mirrors.tuna.tsinghua.edu.cn/ or selecting other mirror sites.
  5. Save the changes and exit the editor.
  6. Update the package using apt-get.
  7. Update using apt-get

By following the steps above, you can easily change the software source of Debian.

bannerAds