1.安装虚拟机以及Linux系统(ubuntu)

2.安装vim
一般情况下,刚安装的新系统需要更新sources.list文件:etc/apt/sources.list
1.备份源文件,cp -i /etc/apt/sources.list /etc/apt/sources.list_backup
2.打开sources.list, gedit sources.list
3.将内容替换为如下内容:
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
4.更新:apt-get update
5.更新后,再安装vim,sudo apt-get install vim
3.安装REPO
本文介绍如何在Ubuntu系统中安装Vim文本编辑器,并详细指导如何更新软件源以提高下载速度和稳定性。通过更换为中国阿里云镜像源,可以显著提升软件更新和安装的速度。
2756

被折叠的 条评论
为什么被折叠?



