--- created: 2024-08-11T19:31:39.000Z type: note updated: 2024-08-11T19:31:39.000Z --- # Anbox ```bash sudo -i # apt install openjdk-16-jre # installing Java Enviroment snap install --devmode --beta anbox # installing anbox apt install dkms -y # installing ubuntu 20.04 dkms modules because currently ppa is disabled by default from Ubuntu security apt install linux-headers-generic -y # installing the headers snap install render # installs a render lib which helps anbox of rendering the windows and that's why some of you got issues when running from command line or it was super slow ``` ```bash apt install build-essential cmake cmake-data debhelper dbus google-mock \ libboost-dev libboost-filesystem-dev libboost-log-dev libboost-iostreams-dev \ libboost-program-options-dev libboost-system-dev libboost-test-dev \ libboost-thread-dev libcap-dev libexpat1-dev libsystemd-dev libegl1-mesa-dev \ libgles2-mesa-dev libglm-dev libgtest-dev liblxc1 \ libproperties-cpp-dev libprotobuf-dev libsdl2-dev libsdl2-image-dev lxc-dev \ pkg-config protobuf-compiler python3-minimal git clone https://github.com/anbox/anbox.git --recurse-submodules cd anbox mkdir build cd build cmake .. make ``` ```bash # add-apt-repository ppa:morphis/anbox-support # apt update # apt install linux-headers-generic anbox-modules-dkms git clone https://github.com/anbox/anbox-modules cd andbox-modules ./INSTALL.sh ```