Ubuntu – PPA for Android Studio

androidppa

Android Studio was released a few days ago and it's still in early access preview, but I would like to know if there is any PPA I could add to my Ubuntu Raring to automatically keep it updated with apt-get?

Best Answer

Since no official release yet, I made it for myself (which is 13.10 saucy -- I didn't know will it be compatible with other version of Ubuntu?)

add-apt-repository ppa:neizod/ppa
apt-get update
apt-get install android-studio-installer

This package does not resolve Java dependency, you still need to install it manually. My recommend is to use oracle-java7-installer package from ppa:webupd8team/java.

On installation, it will download zip file which size is approx 400MB, so make sure you have at lease 1GB (2 x 400MB) available. Zip file will be auto-remove after installed.

The program directory will be /usr/lib/android-studio/, only one command export to /usr/bin/ is android-studio, which is symlink to /usr/lib/android-studio/bin/studio.sh. If you need other commands, call it with full path under root role, e.g.

sudo /usr/lib/android-studio/sdk/platform-tools/fastboot

I also put android-studio.desktop into /usr/share/applications/, so another way to start program is to use Unity lens and search for Android Studio (might need a reboot to make it show).