1. 更新 !!! sudo apt update 特别是刚装的系统,如果安装东西,可能报错如下 E: Unable to locate package yum 2. 安装 yum sudo apt install yum 3. 安装 expect sudo apt install expect