新增运行库安装功能

This commit is contained in:
2023-03-19 14:19:28 +08:00
parent a572839928
commit 0a676993ad
3 changed files with 40 additions and 0 deletions

12
RemoveQemuUser.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# 判断是否有安装 Qemu User
which qemu-i386 > /dev/null
if [[ !$? ]]; then
echo 您已安装过 Qemu User按回车键后退出
read
exit 1
fi
sudo apt update
sudo apt purge qemu-user -y
echo 安装完成,按回车键后退出
read