zoukankan      html  css  js  c++  java
  • deepin 换源

    deepin 换源

    编辑 /etc/apt/sources.list 文件

    • 打开
    sudo vim /etc/apt/sources.list
    
    • 添加
    # 深度
    deb [by-hash=force] http://packages.deepin.com/deepin lion main contrib non-free
    
    deb-src http://packages.deepin.com/deepin lion main contrib non-free
    
    # 阿里
    
    deb [by-hash=force] http://mirrors.aliyun.com/deepin lion main contrib non-free
    
    deb-src http://mirrors.aliyun.com/deepin lion main contrib non-free
    
    # 网易
    
    deb [by-hash=force] http://mirrors.163.com/deepin lion main contrib non-free
    
    deb-src http://mirrors.163.com/deepin lion main contrib non-free
    
    # 中国科学技术大学
    
    #deb [by-hash=force] http://mirrors.ustc.edu.cn/deepin lion main contrib non-free
    
    #deb-src http://mirrors.ustc.edu.cn/deepin lion main contrib non-free
    
    # 北京理工大学
    
    deb [by-hash=force] http://mirror.bit.edu.cn/deepin lion main contrib non-free
    
    deb-src http://mirror.bit.edu.cn/deepin lion main contrib non-free
    
    # 浙江大学
    
    deb [by-hash=force] http://mirrors.zju.edu.cn/deepin lion main contrib non-free
    
    deb-src http://mirrors.zju.edu.cn/deepin lion main contrib non-free
    
    # 上海交通大学
    
    deb [by-hash=force] http://ftp.sjtu.edu.cn/deepin lion main contrib non-free
    
    deb-src http://ftp.sjtu.edu.cn/deepin lion main contrib non-free
    
    # 重庆大学
    
    deb [by-hash=force] http://mirrors.cqu.edu.cn/deepin lion main contrib non-free
    
    deb-src http://mirrors.cqu.edu.cn/deepin lion main contrib non-free
    
    # 北京交通大学
    deb [by-hash=force] https://mirror.bjtu.edu.cn/deepin lion main contrib non-free
    deb-src https://mirror.bjtu.edu.cn/deepin lion main contrib non-free
    
    # 清华大学
    #deb [by-hash=force] https://mirrors.tuna.tsinghua.edu.cn/deepin lion main contrib non-free
    
    #deb-src https://mirrors.tuna.tsinghua.edu.cn/deepin lion main contrib non-free
    

    更新

    sudo apt update
    sudo apt upgrade
    
  • 相关阅读:
    Linux 第一个脚本程序
    Linux 8开启FTP功能服务
    PPT 倒计时时钟,用 GIF 动画实现,可直接使用 -- 附 Python 实现代码
    python flask 虚拟环境迁移
    GOLANG学习之路之二
    Golang学习之路之一
    vscode 调试flask项目 解决(socket.gaierror: [Errno 11001] getaddrinfo failed)
    windows下部署 flask (win10+flask+nginx)
    git入门
    配置maven的国内镜像
  • 原文地址:https://www.cnblogs.com/javayanglei/p/13305284.html
Copyright © 2011-2022 走看看