美文网首页
树莓派更换源(阿里云)

树莓派更换源(阿里云)

作者: StormerX | 来源:发表于2020-08-15 10:56 被阅读0次

    sudo nano /etc/apt/sources.list

    #将原有内容用#注释掉
    deb http://mirrors.aliyun.com/raspbian/raspbian/ buster main contrib non-free rpi
    deb-src http://mirrors.aliyun.com/raspbian/raspbian/ buster main contrib non-free rpi
    

    sudo nano /etc/apt/sources.list.d/raspi.list

    #将原有内容用#注释掉
    deb http://mirrors.aliyun.com/raspbian/raspbian/ buster main
    deb-src http://mirrors.aliyun.com/raspbian/raspbian/ buster main
    

    更新

    sudo apt-mark hold raspberrypi-bootloader //锁住内核和驱动
    sudo apt-get update
    sudo apt-get upgrade -y

    相关文章

      网友评论

          本文标题:树莓派更换源(阿里云)

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