美文网首页
二、ubuntu18.04更新软件源

二、ubuntu18.04更新软件源

作者: battleMonkey | 来源:发表于2019-03-17 12:18 被阅读0次

1. apt源配置

$ sudo vim /etc/apt/sources.list
# 阿里源
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
$ sudo apt update && sudo apt upgrade
  • 配置软连接: python = python3
$ sudo ln -s /usr/bin/python3 /usr/bin/python

相关文章

网友评论

      本文标题:二、ubuntu18.04更新软件源

      本文链接:https://www.haomeiwen.com/subject/twwymqtx.html