zoukankan      html  css  js  c++  java
  • 树莓派更新中国软件源

    1、sudo  nano  /etc/apt/sources.list  ,进入编辑页面

    2、注释掉之前的源地址。

    3、复制以下地址

    deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi

    deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi

    deb http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi

    deb-src http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi

    deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi

    deb-src http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi

    4、在Nano编辑页面,点击鼠标右键,即可将复制内容粘贴其中。

    5、ctrl+o保存

    6、回车 ,ctrl+x退出

    7、更新源,sudo apt-get update

    8、更新软件列表,sudo apt-get upgrade

    这样更新更彻底

    sudo apt-get update

    sudo apt-get upgrade -y

    sudo apt-get dist-upgrade -y

  • 相关阅读:
    暂时转换
    内置函数⼆
    day13内置函数⼀
    day12⽣成器和⽣成器表达式
    20181031作业
    20181030函数2
    20181029函数1
    20181026
    20181025
    20181024
  • 原文地址:https://www.cnblogs.com/500m/p/10668625.html
Copyright © 2011-2022 走看看