You can use the same steps for Windows and Linux.) (Our guide ahead has screenshots taken from a macOS machine. We will create Google Pixel 3 virtual device on your computer and install Android R / Android 11 on it.
Make sure to perform each action carefully. The following steps are on installing Android 11 on your PC using the Android Studio emulator. How to Install Android 11 on PC using emulator
Tested on gLinux based on Debian (4.19.67-2rodete2).
See also: How to Setup ADB on Mac and install TWRP on Android device (Apple user’s guide) Windows system requirements