Category: Android

9 Nov

Install Android Studio on CentOS 7

If you have installed CentOS7 on your computer, you can install android studio by just running two scripts. The scripts are given below. If you are not interested to install using the scripts, you can run the commands one by one.

For the installation you have to download jdk-8u101-linux-x64.rpm(for 64 bit) and JDK can be downloaded from the link
Assumed that you installed 64 bit version of CentOS.

Android studio zip file can be downloaded from

Take your terminal and login as root. Move the downloaded files to your /opt folder. Then create and in your /opt folder. Run them as

yum group install -y "Development Tools"
yum install -y glibc.i686
yum install -y
yum remove -y java
cd /opt
yum localinstall -y jdk-8u101-linux-x64.rpm
cd /opt
cd android-studio/bin

Oracle JDK is required for Android, because of that we are removing Open JDK and installing Oracle JDK.

See for more information about that.