In this tutorial, we will show you how to install Android Studio on Debian 11. For those of you who didn’t know, Android Studio is the official Integrated Development Environment (IDE) for Android app development, based on IntelliJ IDEA. Android Studio is developed by Google and it can run on different operating environments like Windows, macOS, and Linux.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of the Android Studio on a Debian 11 (Bullseye).
Prerequisites
- A server running one of the following operating systems: Debian 10 or Debian 11.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Android Studio on Debian 11 Bullseye
Step 1. Before we install any software, it’s important to make sure your system is up to date by running the following apt
commands in the terminal:
sudo apt update sudo apt upgrade
Step 2. Installing Java OpenJDK.
You need to install Java JDK software which is required for the Android Studio. Run the following command to install the OpenJDK 11 package:
sudo apt install openjdk-11-jdk
Verify the installed Java version:
java -version
Step 3. Installing Android Studio on Debian 11.
- Install Android Studio from the official source.
By default, Android Studio is not available on Debian 11 base repository. So, now run the following command below to download the lastet verison of Android Studio using wget
command:
wget https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2021.1.1.22/android-studio-2021.1.1.22-linux.tar.gz
Next, extract the downloaded archive:
tar -xvzf android-studio-*-linux.tar.gz
Finally, execute the program using the following command below:
sudo ./android-studio/bin/studio.sh
- Install Android Studio using Snap.
If Snapd package manager is not already installed then you can install it by running the following command below:
sudo apt install snapd
To install Neovim, simply use the following command:
sudo snap install android-studio --classic
Step 3. Accessing Android Studio on Debian.
Once successfully installed, launch the Android Studio can be found in the following path Activities -> Show Applications -> Android Studio
.Also, you can launch it from the terminal as below:
android-studio
Congratulations! You have successfully installed Android Studio. Thanks for using this tutorial for installing the latest version of the Android Studio on Debian 11 Bullseye. For additional help or useful information, we recommend you check the official Android website.