If you are new to virtualization, I recommend these products, which are both free:
Download the VMWare image for the latest version of Debian 12 from https://www.linuxvmimages.com/images/debian-12/.
Mac M1, M2, or M3 Users
You need to download an ARM64 version of Debian instead of the prebuilt machines referenced below.You can get the ISO here:
https://cdimage.debian.org/debian-cd/current/arm64/iso-cd/Then execute these commands to make "sudo" work, assuming you are using an account named "debian"
su - apt update apt install sudo -y usermod -aG sudo debian reboot
Unzip the file. A folder is created with several files, including an .ovf file.
Open VMware. From the menu bar, click File, Import. Import the .ovf file.
Launch your Linux machine.
Log in with the username debian and a password of debian
In the Terminal, execute these commands:
sudo apt update
sudo apt install android-tools-adb -y
M 111.1: adb Version (15 pts)
In your Debian machine, open a Terminal window and execute this command:The flag is covered by a green rectangle in the image below.
adb version
Posted 3-10-21
Mentions Debian 11 9-12-22
ARM64 ISO link added and references updated to Debian 12 1-31-24
Post-install commands added to Apple M instructions 9-14-25