//debian 11更换阿里镜像源安装vim
cd /etc/apt
mv sources.list sources.list.bak
echo "
deb https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb-src https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
" > sources.list
apt-get update
apt install vim
debian 11更换阿里镜像源安装vim
最新推荐文章于 2024-10-15 19:08:24 发布
本文介绍如何在debian11系统中更换阿里云镜像源,并通过新的源安装vim编辑器。首先备份sources.list文件,然后修改为阿里云提供的debian11 (bullseye) 的主软件库、安全更新、常规更新及回滚版本的地址。
摘要由CSDN通过智能技术生成