zoukankan      html  css  js  c++  java
  • ubuntu 环境安装

    更新国内软件源

    • 首先备份现有source.list
    sudo mv /etc/apt/source.list /etc/apt/source.list.original
    
    • 编辑新的source.list
    sudo vim source.list
    
    • 添加国内源。
    deb http://cn.archive.ubuntu.com/ubuntu bionic main multiverse restricted universe
    deb http://cn.archive.ubuntu.com/ubuntu bionic-updates main multiverse restricted universe
    deb http://cn.archive.ubuntu.com/ubuntu bionic-security main multiverse restricted universe
    deb http://cn.archive.ubuntu.com/ubuntu bionic-proposed main multiverse restricted universe
    
    • 或者添加阿里云源
    deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
    
    • 更新apt
    sudo apt update
    联系方式:emhhbmdfbGlhbmcxOTkxQDEyNi5jb20=
  • 相关阅读:
    python的reduce()函数
    python的map()函数
    【RxJS 01】函数式编程
    【vs_dev】01 first one
    【Angular01】Angular First One ----附 ip 地址查询
    目录
    ECMA Script 6 something
    【git】打tag
    【work 0107】dione 搭建
    【nextjs】React SSR
  • 原文地址:https://www.cnblogs.com/zl1991/p/15175826.html
Copyright © 2011-2022 走看看