更换镜像
这里更换阿里的镜像
先复制一份源文件
cp /etc/apt/sources.list /etc/apt/sources.list.bak
然后打开
sudo vim /etc/apt/sources.list
把文件理论里面的东西全删了,然后把下面内容 粘贴进去
deb http://mirrors.aliyun.com/ubuntu/ $Codename-backports main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ $Codename-proposed main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ $Codename-security main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ $Codename-updates main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ $Codename main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ $Codename-backports main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ $Codename-proposed main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ $Codename-security main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ $Codename-updates main multiverse restricted universe
保存退出
执行
sudo apt update
常用软件安装
vscode
icalingua++ 第三方qq
yesplaymusic 第三方网易云音乐
idea
命令行工具
git
apt install git
zsh
apt install zsh
执行下面命令更改默认shell
sudo chsh -s /bin/zsh