deep-wine-runner/QemuSystemInstall.sh

13 lines
381 B
Bash
Raw Normal View History

2023-04-08 11:57:36 +08:00
#!/bin/bash
# 如果是 Arch Linux
if [[-f /etc/arch-release ]]; then
sudo pacman -Syu
2024-02-01 18:52:19 +08:00
sudo pacman -S qemu-user qemu-user-static qemu-full --noconfirm
exit
fi
2023-08-09 22:57:14 +08:00
sudo apt update
sudo apt install qemu-system qemu-user qemu-efi qemu-efi-aarch64 qemu-efi-arm -y
2023-08-09 23:08:19 +08:00
sudo apt install qemu-user-static binfmt-support qemu-system-gui -y
2023-04-08 11:57:36 +08:00
echo 安装完成!按回车键退出
2023-07-12 18:24:20 +08:00
read