How to install Android Studio on CentOS 8

s2 0

Android Studio is a well-known software tool for developing Android applications. It was developed by Google and can be installed on many different operating systems such as Linux, Windows, and macOS. Android Studio is a feature-rich tool for developing mobile applications and user interfaces.

In this article, I’ll explain how to install Android Studio on a CentOS 8 desktop system. I’ll show you two installation methods, first using the Snap installer and then using the official Android Studio installer from Google.


To install Android Studio on your system, you need to install Java as a prerequisite. Since most of the Android Studio packages were built on Java.

First, make sure Java is already installed on your system or don’t use the following command:

$ java -version

If Java is not already installed, you can install it with the following command:

$ sudo yum install openjdk-11-jdk

Install Android Studio on CentOS 8 with Snap

Android Studio is not available in the CentOS 8 official Yum package repository. Therefore, you need to install it using a different method. The Snap application allows you to install Android Studio on CentOS 8. To do this, first install Snap on your system with the following command:

$ sudo yum install snapd

Install the Snap software installation tool

Once the Snap installation is complete, install the Android Studio through the Snap package manager using the following command:

$ sudo snap install android-studio --classic

Install Android Studio through Snap

After you have finished installing Android Studio, start this tool from the application search bar. Enter ‘android-studio’ in the search bar, you will see the android studio icon in the search results like this:

Android Studio Iconadvertising

You can also start Android Studio by entering “android-studio” in the terminal window as follows:

$ android-studio

You can also remove or uninstall the Android Studio with the following command:

$ sudo snap remove android-studio

Remove Android Studio

Install Android Studio from the Android website

You can also download the latest version of Android studio from the official Android website here Open the URL and click Download Options on the web page that appears.

Download Android Studio

Here you select the desired Android Studio IDE according to your system requirements. Select the Android Studio IDE for Linux 64-bit System to download.

Linux version of Android Studio

Accept the following terms to download the Android studio:

Terms and Conditions

After that, the Android Studio IDE for Linux will be saved in the download folder of your system.

Save the file to the data carrier

Use the following command to navigate to the downloads and list the files:

$ cd Downloads

$ ls

Now extract the tar file with the following command:

$ tar -xvf android.tar.gz

Unzip the archive

After extracting the tar file, navigate to the Android Studio folder and then to bin. Here run the ‘’ file with the following command:

$ ./

Or click directly on this file to run it.

Start the Android Studio installation

The following dialog is now displayed on the CentOS 8 desktop. Select ‘Do not import settings’ and click OK.

Do not import settings

In the following dialog for data approval, click on the “Do not send” option.

Don't send usage statistics

At that moment, you will see the Android Welcome Wizard set up on the system. Click on Continue.

Setup wizard

In the next dialog select “Standard” setup for an Android studio and click Next.

Standard setup

Now select the UI theme ‘Light’ for the Android studio as follows:

Android Studio theme

In the next wizard, check the installation settings and click the Next button.

Check settings

In the next window, check the emulator settings and click the “Finish” button.

Finish the setup

After that, all of the Android Studio components will be downloaded to your system.

Installation progress

After a while, you will see that all of the components have been downloaded to your CentOS 8 system. Then click on the ‘Finish’ button.

Download components

The following window should appear on your system:

Installation of Android Studio completed successfully

The above window shows that the Android Studio IDE has been successfully configured on your system. Now you can create and enjoy new Android projects.

In this article, we learned how to install one of the most popular mobile application development tools, Android Studio, on CentOS 8 using the Snap installer package and the official Android Studio installer. Now you can use this tool to create new innovative unique applications.

How to install Android Studio on CentOS 8