1,先安装依赖项

sudo apt install whiptail parted lua5.1 alsa-utils psmisc

sudo apt install lua5.1  libatopology2 libfftw3-single3 libsamplerate0 alsa-utils 

2,官网下载deb包

http://archive.raspberrypi.org/debian/pool/main/r/raspi-config/

3,安装deb

sudo dpkg -i raspi-config_20210604_all.deb

4,正常运行命令

sudo raspi-config