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 14.04, 14.10, 15.04 and Linux Mint 17 via a PPA.
Install Android Studio in Ubuntu, the official way
You can 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 15.04 repository. Earlier version can use the official PPA to install Ubuntu Make.
To install Ubuntu Make, use the commands below in a terminal:
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make sudo apt-get update sudo apt-get install ubuntu-make
Once you have installed Ubuntu Make, use the command below to install Android Studio in Ubuntu:
It will give you couple of options in the course of 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
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 14.04, 13.10, 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 see 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 :)