[linux]armbian修改为清华源

博客介绍了在Armbian系统中修改软件源为清华源的操作。先查看系统发行版本,本机是基于Debian的armbian buster,所以使用清华Debian源。接着备份原文件,将对应源替换到sources.list中,最后进行更新。
查看系统发行版本
  • 命令lsb_release -a
    在这里插入图片描述

本机为基于Debian的armbian buster
所以用清华Debian源

修改apt为清华软件源
  1. 备份原文件:
    sudo cp /etc/apt/sources.list /etc/apt/sources.list-bak
  2. 修改源
    sudo vi /etc/apt/sources.list
  3. 将下列源替换到sources.list中
    这里还添加了OMV的官方源,主要是为安装OMV做准备,不打算用OMV的可以不添加
#tsinghua source 清华源

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free

deb https://mirrors.tuna.tsinghua.edu.cn/debia
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值