Switch Linux Mint 20 software source

原创
02/10 21:32
阅读数 114

Run the following command to switch the software source in the Linux mint 20 system to various mirror sites in China.

  • Beijing Foreign Studies University
sudo tee /etc/apt/sources.list.d/official-package-repositories.list <<-'EOF'
deb https://mirrors.bfsu.edu.cn/linuxmint ulyssa main upstream import backport 

deb https://mirrors.bfsu.edu.cn/ubuntu focal main restricted universe multiverse
deb https://mirrors.bfsu.edu.cn/ubuntu focal-updates main restricted universe multiverse
deb https://mirrors.bfsu.edu.cn/ubuntu focal-backports main restricted universe multiverse

deb https://mirrors.bfsu.edu.cn/ubuntu focal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ focal partner
EOF
  • Tsinghua University
sudo tee /etc/apt/sources.list.d/official-package-repositories.list <<-'EOF'
deb https://mirrors.tuna.tsinghua.edu.cn/linuxmint ulyssa main upstream import backport 

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ focal partner
EOF
展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部