zoukankan      html  css  js  c++  java
  • Ubuntu更换科大源

    更换科大源

    方案一:在命令行输入 sudo gedit /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-get update 进行更新。

       执行 sudo apt-get upgrade 更新相关工具集,一定要更新,否则会出现工具集版本不匹配的问题。

    方案二:

       直接在ubuntu内找到软件和更新,进行如下配置;

       

      将下载自,里面的源地址更改成科大网站,关闭,等待更新完成。 

      

      

  • 相关阅读:
    最简单跨平台的日志库
    linux文件锁
    Linux 获取屏幕分辨率与窗口行列数(c/c++)
    linux 信号机制
    记一次函数异常(getopt_long)
    程序单实例运行
    简单地 Makefile 书写
    学习go的一些笔记
    20200930 10. Netty 核心源码剖析
    20200930 9. TCP 粘包和拆包 及解决方案
  • 原文地址:https://www.cnblogs.com/xshun/p/12015953.html
Copyright © 2011-2022 走看看