一:插入U盘,查看U盘在哪里。
fdisk -l
二:挂载
假如在dev/sdb1 挂载到mnt下
mount /dev/sdb1 /mnt
三:查询挂载在mnt下U盘的文件
ls /mnt/BaseOS/Packages/ | grep wpa_supplicant
四:使用这个文件
sudo rpm -ivh /mnt/BaseOS/Packages/wpa_supplicant-xxx-xxx.x86_64.rpm