Command to install Android Studio on Ubuntu 20.04 Linux


To create Android apps, developers can download a free official platform called “Android Studio”. It is based on IntelliJ IDEA, a complete development environment, bundles all the functions required to develop and debug applications. This gives developers an alternative to the Android SDK, which basically consists of Eclipse and the ADT plugin. It’s available to download and install for Windows 10/8/7, macOS, Linux, and ChromeOS.

Android Studio comes with the development environment that allows you to do the following:

  • Advanced construction tools
  • Powerful source code development (smart editing, advanced code refactoring, static code analysis)
  • An improved graphical interface
  • Easier access to Google services
  • Open source development

Steps to install Android Studio on Ubuntu 20.04 LTS

Here we are using Ubuntu 20.04 LTS, however the steps will be the same for Ubuntu 21.04 / 18.04 including Linux Mint, Debian, MX Linux, Elementary OS and other similar derived Linux distributions.

1. Run the system update

To refresh the Ubuntu repositories and update the installed packages, let’s first run the system update command:

sudo apt update

2. Install Java Opensource

Android Studio requires JDK for proper functioning. At the time of writing this tutorial, the latest version of Open JDK was available for direct installation using the official Ubuntu-OpenJDK-14 repository.

sudo apt install openjdk-14-jdk

Once the installation is complete, check the version by typing: java -version


openjdk version "14.0.2" 2020-07-14
OpenJDK Runtime Environment (build 14.0.2+12-Ubuntu-120.04)
OpenJDK 64-Bit Server VM (build 14.0.2+12-Ubuntu-120.04, mixed mode, sharing)

3. Command to install Android Studio

There are two ways to install Android Studio on Ubuntu 20.04 LTS: one uses the SNAP package manager and the other is to manually download the Android Studio package. However, since SNAP is disabled on Linux Mint, by default, we will therefore show both methods. Use whichever you think is appropriate.

To see– how to activate SNAP on Linux Mint

1st method using SNAP:

This is the easiest method to install this development platform on Linux. And at the time of writing this tutorial, the last version of Android Studio to install through Snapcraft was It might be different in your case, however, the command to get it using SNAP will be the same.

sudo snap install android-studio --classic

Also, if you don’t want to use the command line interface, directly open Ubuntu Software Center and install Studio using the graphical user interface.

  • Go to All applications
  • To research Ubuntu Software
  • Open it and click on the Look for given icon on the upper left side.
  • Type Android Studio, wait a few seconds, as it appears in the results, click on it.
  • Finally, press the To install button and it will be automatically installed on your Linux operating system.

Install Android Studio on Ubuntu 20.04 using Software Center GUI

# 2nd method using the manually downloaded package

4. Download the Android Studio IDE packages

Now for some reason you don’t want to use the SNAP package, then it is possible to get the Android Studio package to be installed on the Linux system directly from the official website. Here is the link, visit the page and download the latest IDE package available for Linux.

5. Install dependencies

Before going any further, make sure that the following dependency packages are on your system …

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386

6. Unzip the Studio Tar file

Once you’ve downloaded the file, it’s time to unzip it. Follow the following commands:

cd Downloads

sudo tar -xf android-studio-ide-*.*-linux.tar.gz -C /usr/local/

7. Run the Android Studio setup script

After extracting the package and moving it to the local folder, let’s run the script to configure this Android app development and emulation platform.

sudo sh /usr/local/android-studio/bin/

If you already have a previous setup or installation folder, you can select it, otherwise leave the default option selected.

Import configurations

Configure Android Studio Packages

Select how you want to configure the development environment for Android Studio. To install selective components, choose Custom, otherwise leave the Standard option selected.

Standard or Custom installation type

8. Select the UI theme -Dark or Light

Although we can also set it later, if you want, do it here to set the default dark or light theme.

Select dark or light theme from Android studio

9. Create Android Studio desktop shortcut and command line entry

Once the installation is complete. You will see the Android Studio, Create a new project and give your project a name and you will be on the main screen of this app development platform.

Click on Tools and select Create an office entry ability to create a shortcut to easily access Android Studio from any application or desktop.

Create Android Studio Desktop or Command Line Shortcut on Ubuntu 20.04

While running Studio from the command line, select Create a command line launcher. Once done, you will be able to start the platform by simply typing


in the terminal.

Command line entry for the Studio developer tool


Comments are closed.