其他分享
首页 > 其他分享> > ubantu 18.x 学习记录

ubantu 18.x 学习记录

作者:互联网

安装net tools

用于 ifconfig命令

sudo apt-get install net-tools

配置阿里更新源

1.先备份文件
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 
2.清空
sudo > /etc/apt/sources.list
3.写入
sudo vim /etc/apt/sources.list
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.更新
sudo apt-get update&&sudo apt-get upgrade&&sudo apt-get install -f

安装Vim

sudo apt-get purge vim-common

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install vim

标签:ubantu,trusty,mirrors,18,sudo,apt,universe,记录,multiverse
来源: https://blog.csdn.net/qq_40147275/article/details/87892207