Easily Install Android Studio Via PPA In Ubuntu And Linux Mint

Care to Share?

How to install Android Studio in Ubuntu

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:

umake android

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 :)

  • Jaime Arturo López Barajas

    tried but failed…
    its seems i cant meet some of the requirements…
    only clue ive got its android-studio : Depends: lib32ncurses5 but it is not installable
    looking for alternatives xD

  • Muhammad Johar

    installed successfully from command terminal
    but how to laungh android studio?
    I am new to ubuntu, but trying my best….
    pleaseeee….

    • http://itsfoss.com/ Abhishek Prakash

      Press Windows key. It will open Unity dash. Now search for Android Studio. It will bring up the application. Just click on it.

      • c7

        its not working icon showing up but clicking on it does nothing!
        it opens when i use this command from terminal:
        /opt/android-studio/bin/studio.sh

        • http://itsfoss.com/ Abhishek Prakash

          very strange… because it works just fine for me

          • 3point0

            Android Studio will not launch for me on Ubuntu 15.04 regardless of how I install it. Any help would be fantastic, thanks.

    • Mike Khan

      What worked for me after the install, was :

      -open an terminal session. and type the following :
      gedit /usr/share/applications/android-studio.desktop

      – Copy paste and Save the following :

      [Desktop Entry]
      Version=1.0
      Type=Application
      Name=Android Studio
      Icon=/opt/android-studio/bin/idea.png
      Exec=/opt/android-studio/bin/studio.sh
      Comment=Develop with pleasure!
      Categories=Development;IDE;
      Terminal=false

      ——

      You’ll find an icon in menu / programming

      Hope this helps,
      Regards,
      Mike Khan

      • http://itsfoss.com/ Abhishek Prakash

        I feature your comment so that others can benefit from it. Thanks for sharing it.

  • ]v[etz

    Doesn’t work for me. Insists it has to install openJDK when I already have oracle java JDK installed.

  • shawn

    What is the path to the android sdk

  • 1337ingDisorder

    These instructions don’t work correctly. After the third command, “sudo apt-get install android-studio” I get the following error:

    E: Unable to locate package android-studio

    This is after adding the PPA and running “sudo apt-get update”

    • http://itsfoss.com/ Abhishek Prakash

      Which Ubuntu version are you using?

      • 1337ingDisorder

        Shouldn’t matter, as the paolorotolo repo doesn’t seem to be version-specific with its listings. That said, the question is moot now as I just downloaded and installed manually from http://developer.android.com

        Thanks for the timely reply though!

        • http://itsfoss.com/ Abhishek Prakash

          I just installed Android Studio in Ubuntu 14.04 last week. It worked without issue. This is why I wanted to know the version.

  • Satish

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

    Above 2 steps worked fine, but 3rd one not. Look at the below. Please help me how to resolve it???

    gathole@satish-gathole:taxi_dispatch$ sudo apt-get install android-studio
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    E: Unable to locate package android-studio

    gathole@satish-gathole:taxi_dispatch$ uname -a

    Linux satish-gathole 3.11.0-26-generic #45-Ubuntu SMP Tue Jul 15 04:02:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

    gathole@satish-gathole:taxi_dispatch$ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 13.10
    Release: 13.10
    Codename: saucy

    • http://itsfoss.com/ Abhishek Prakash

      This PPA is not available on Ubuntu 13.10.
      And in any case 13.10 has reached end of support in July’14 itself. You should upgrade to Ubuntu 14.04.

  • Pingback: How To Install Visual Studio Code On Ubuntu()