树莓派 64位 换源

文章讲述了如何在Linux系统中使用`sudonano`编辑sources.list文件,以阿里云镜像源替换默认源,并执行`aptupdate`,`aptfull-upgrade`,`aptupgrade`,和`aptautoremove`等命令进行软件包管理。
摘要由CSDN通过智能技术生成
//更换文件 sources.list
sudo nano /etc/apt/sources.list

deb https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb-src https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib


//更换文件 raspi.list
sudo nano /etc/apt/sources.list.d/raspi.list

deb http://mirrors.aliyun.com/raspberrypi/ buster main ui

//运行
sudo apt update 
sudo apt full-upgrade -y 
sudo apt upgrade -y 
sudo apt autoremove -y

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值