How to install Android Studio on CentOS 8

Android Studio is a well-known software tool for developing Android applications. It is developed by Google and is available for installation on many operating systems such as Linux, Windows, and macOS. Android Studio is a multifunctional mobile app and user interface development tool.

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

Prerequisites

To install Android Studio on your system, you need to have Java installed as a prerequisite. As most Android Studio packages are built in Java.

First, make sure Java is already installed on your system or not using the following command:

$ java -version

Check Java installation and version

If java is not already installed, you can install it using the following command:

$ sudo yum install openjdk-11-jdk

Installing Android Studio on CentOS 8 using a snap

Android Studio is not available in the official Yum package repository for CentOS 8. So you need to install a different method. The snap application can be used to install Android Studio on CentOS 8. To do this, you will first install snap on your system using the following command:

$ sudo yum install snapd

Install Snap Software Installer

After completing the installation of the snap-in, you will install Android studio using the snap-in package manager with the following command:

$ sudo snap install android-studio --classic

Install Android Studio via Snap

After the Android Studio installation is complete, you will launch this tool using the app’s search bar. Enter “android-studio” in the search bar, you will see the android studio icon in the search results as follows:

Android Studio Icon

You can also launch Android Studio by typing android-studio in a terminal window like this:

$ android-studio

You can also uninstall or uninstall Android studio using the following command:

$ sudo snap remove android-studio

Removing Android Studio

Installing Android Studio from the Android site

You can also download the latest Android studio from the official Android website here. https://developer.android.com/studio… Open the URL and click on “Download Options” on the web page that opens.

Download Android Studio

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

Android Studio version for Linux

Accept the following terms to download Android studio:

Terms and Conditions

This will save the Android studio IDE for Linux in your system’s downloads folder.

Save file to disk

Go to Downloads using the following command and a list of files:

$ cd Downloads

$ ls

Now unzip the tar file using the following command:

$ tar -xvf android.tar.gz

Unpack the archive

After extracting the tar file, you will go to the android studio folder and then to bin. Here you run the studio.sh file with the following command:

$ ./studio.sh

Or click this file directly to run it.

Run Android Studio Installation

Now the following dialog will be displayed on your CentOS 8 desktop. Select “Do not import settings” and click “OK”.

Don't import settings

In the next communication dialog box, you select the Do Not Send option.

Don't send usage statistics

At this point, you will see the Android Welcome Wizard installed on the system. Click Next.

Installation wizard

In the next dialog box, you will select the “Standard” installation for Android studio and click “Next”.

Standard installation

You will now select the Light UI theme for Android studio as follows:

Android Studio Theme

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

Check settings

In the next window, you will review the emulator settings and click the “Finish” button.

Complete the setup

After that, all android studio components will start loading into your system.

Installation progress

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

Downloading components

The following window will appear on your system:

Android Studio installation completed successfully

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

In this article, we learned how to install one of the most popular android studio mobile app development tools on CentOS 8 using the snap installer and the official android studio installer. Now you can create new innovative unique applications with this tool.

How to install Android Studio on CentOS 8

Related Posts