Android Studio, Google’s own IDE for Android development, is a nice alternative to Eclipse with ADT plugin. Android Studio can be installed from its source code but in this quick post, we shall see how to install Android Studio in Ubuntu 18.04, 16.04 and corresponding Linux Mint variants.

Before you proceed to install Android Studio, make sure that you have Java installed in Ubuntu.

Install Android Studio in Ubuntu and other distributions using Snap

Ever since Ubuntu started focusing on Snap packages, more software have started providing easy to install Snap packages. Android Studio is one of them. Ubuntu users can simply find the Android Studio application in the Software Center and install it from there.

Android Studio is available in the Software Center

If you see an error while installing Android Studio from Software Center, you can use the Snap commands to install Android studio.

sudo snap install android-studio --classic

Easy peasy!

Alternative Method 1: Install Android Studio using umake in Ubuntu

You can also easily install Android Studio using Ubuntu Developer Tools Center, now known as Ubuntu Make. Ubuntu Make provides a command line tool to install various development tools, IDE etc. Ubuntu Make is available in Ubuntu repository.

To install Ubuntu Make, use the commands below in a terminal:

sudo apt-get install ubuntu-make﻿

Once you have installed Ubuntu Make, use the command below to install Android Studio in Ubuntu:

umake android

It will give you a couple of options in the course of the installation. I presume that you can handle it. If you decide to uninstall Android Studio, you can use the same umake tool in the following manner:

umake android --remove

Alternative Method 2: Install Android Studio in Ubuntu and Linux Mint via unofficial PPA

Thanks to Paolo Ratolo, we have a PPA which can be used to easily install Android Studio in Ubuntu 16.04, 14.04, Linux Mint and other Ubuntu based distributions. Just note that it will download around 650 MB of data. So mind your internet connection as well as data charges (if any).

Open a terminal and use the following commands:

sudo apt-add-repository ppa:paolorotolo/android-studio sudo apt-get update sudo apt-get install android-studio

Was it not easy? While installing a program from source code is fun in a way, it is always nice to have such PPAs. Once we have seen how to install Android Studio, lets see how to uninstall it.

Uninstall Android Studio:

If you don’t have already, install PPA Purge:

sudo apt-get install ppa-purge

Now use the PPA Purge to purge the installed PPA:

sudo apt-get remove android-studio

sudo ppa-purge ppa:paolorotolo/android-studio

That’s it. I hope this quick helps you to install Android Studio in Ubuntu and Linux Mint. Before you run Android Studio, make sure to install Java in Ubuntu first. In similar posts, I advise you to read how to install and configure Ubuntu SDK and how to easily install Microsoft Visual Studio in Ubuntu.

Any questions or suggestions are always welcomed. Ciao :)