In this post, we will learn the steps involved to download Android Studio package on Linux machine. We will use Debian based Linux distribution Ubuntu in this example.
- Ubuntu Linux Distribution
- Android Studio Latest Package
Download Android Studio
Launch your favorite web browser on Linux machine.
Navigate to the Android developer download URL:
Click on the Download Android Studio download button.
Read and accept Terms and conditions.
Click on the Download Android Studio <version> for Linux button.
Install Android Studio
Change working directory to the Download directory. Issue the following command.
Unpack all the contents in the tar bundle.
$ tar -xvf android-studio-version-linux.tar.gz
This will extract all the contents to the android-studio directory. Once complete, we can move the android-studio directory to a suitable location using mv command.
mv Linux command
Start Android Studio
Open Terminal. Change directory into the android studio/ bin directory.
Run the Android Studio script. Type the following:
Add bin directory to PATH
Add the bin directory to the PATH environment variable. Make necessary changes to the below commands as per your installation.
$ sudo gedit /etc/profile
PATH=$PATH:<Android Studio Directory>/bin
Setup Wizard Settings
Install Android Studio on Windows operating system