TaterLi's LazyBlog

自言自语,不喜绕路,科学上网,远离天国.

@TaterLi1月前

01/7
15:55
技术控

三句话快速给Raspbian换源

每次重烧系统第一时间就是换源,不然慢死了.

sudo sed -i 's|mirrordirector.raspbian.org|mirrors.ustc.edu.cn/raspbian|g' /etc/apt/sources.list
sudo sed -i 's|archive.raspbian.org|mirrors.ustc.edu.cn/raspbian|g' /etc/apt/sources.list
sudo sed -i 's|//archive.raspberrypi.org|//mirrors.ustc.edu.cn/archive.raspberrypi.org|g' /etc/apt/sources.list.d/raspi.list

 

三句话快速给Raspbian换源