0% found this document useful (0 votes)
44 views2 pages

Instalar Qemu 8 Script

This document provides a step-by-step guide to install QEMU 8.1.0 on Termux. It includes commands for creating a startup script, updating package lists, installing necessary dependencies, downloading QEMU, extracting the files, configuring the build, and finally compiling and installing QEMU. The instructions are detailed and include specific package installations required for the setup.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views2 pages

Instalar Qemu 8 Script

This document provides a step-by-step guide to install QEMU 8.1.0 on Termux. It includes commands for creating a startup script, updating package lists, installing necessary dependencies, downloading QEMU, extracting the files, configuring the build, and finally compiling and installing QEMU. The instructions are detailed and include specific package installations required for the setup.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

INSTALAR QEMU 8.1.

Download Termux
https://f-droid.org/en/packages/com.termux/

A)

nano start-ubuntu20.sh

Copie e cole. Copy past

command+=" -b /storage"

ctrl + x + y enter

./start-ubuntu20.sh

B)

apt-get update

apt install gcc g++ -y && apt install libvirglrenderer-dev -y && apt install mesa-
common-dev -y && apt install libspice-client-gtk-3.0-dev -y && apt install
libepoxy-dev -y && apt install libgbm-dev -y && apt install libdrm-dev -y && apt
install libsdl2-2.0-0 -y && apt install python3-sdl2 -y && apt install libpng-dev -
y && apt install libjpeg-dev -y && apt install libssl-dev -y && apt install
libspice-protocol-dev -y && apt install libspice-server-dev -y && apt install
libfdt-dev -y && apt install libsdl2-dev -y && apt install libusb-dev -y && apt
install libusb-1.0-0-dev -y && apt install build-essential -y && apt install
libusbredirhost-dev -y && apt install libseccomp-dev -y && apt install libcap-ng-
dev -y && apt install libaio-dev -y && apt install xz-utils -y && apt install wget
-y && apt install libvulkan-dev -y && apt install mesa-vulkan-drivers -y && apt
install xserver-xorg-video-qxl -y && apt install python3-setuptools -y && apt
install python3-setuptools-git -y && apt install cmake -y && apt install pkg-config
-y && apt install libpixman-1-dev -y && apt install libglib2.0-dev -y && apt
install zlib1g-dev -y && apt install liblzo2-dev -y && apt install libiscsi-dev -y
&& apt install liblocale-msgfmt-perl -y && apt install libnuma-dev -y && apt
install libattr1-dev -y && apt install libgles2-mesa-dev -y && apt install libxcb-
composite0-dev -y && apt install libxcursor-dev -y && apt install libcairo2-dev -y
&& apt install libgbm-dev -y && apt install libpam0g-dev -y && apt install xutils-
dev -y && apt install libgl1-mesa-dev -y && apt install libepoxy-dev -y && apt
install libepoxy0 -y && apt install libcap-dev -y && apt install sudo -y && sudo
apt install python3-pip -y && pip install sphinx && pip install sphinx-rtd-
theme>=0.5.0 && apt install libslirp-dev -y && sudo apt-get install ninja-build -y

C)

pkg-config libjpeg-dev libssl-dev libspice-protocol-dev libspice-server-dev


libvulkan-dev libvirglrenderer-dev libdrm-dev libsdl2-dev libusb-1.0-0-dev
libspice-client-gtk-3.0-dev libepoxy-dev libsdl2-dev libaio-dev libusbredirhost-dev
libusb-dev mesa-common-dev libgbm-dev libcap-ng-dev libnuma-dev libgles2-mesa-dev
libxcursor-dev libattr1-dev libcairo2-dev libgl1-mesa-dev libcap-dev libslirp-dev
D)

####Download Qemu####

wget https://download.qemu.org/qemu-8.1.0-rc1.tar.xz

Comando para extrair

tar xvf qemu-8.1.0-rc1.tar.xz

clear

cd qemu-8.1.0-rc1

mkdir build

cd build

E)

../configure --target-list=i386-softmmu,x86_64-softmmu,arm-softmmu,aarch64-softmmu
--enable-guest-agent --enable-vnc --enable-kvm --enable-spice --enable-sdl --
enable-virglrenderer --enable-opengl --enable-libusb --enable-usb-redir --enable-
gtk --enable-tools --enable-lzo --enable-system --enable-modules --enable-slirp

F)

make

make install

@danyewtutorias

You might also like