第一步:安装更新系统安装包
sudo apt update && sudo apt upgrade
第二步:安装依赖包
sudo apt install whiptail parted lua5.1 alsa-utils psmisc
第三步:先下载raspi-config deb包
找到最新的deb 包并下载:http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian/pool/main/r/raspi-config/
wget http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian/pool/main/r/raspi-config/raspi-config_20240313_all.deb
第四步:在ubuntu系统下安装raspi-config deb包
sudo dpkg -i raspi-config_20240313_all.deb
第五步:在ubuntu系统下启动raspi-config工具
sudo raspi-config