Installing
-
4. Installing Dependencies
Now to Install Required Packages
Simply play:Copysudo apt-get install lib32z1 lib32ncurses* lib32stdc++6
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo. -
5. Installing Oracle JDK
How to Install Required Oracle Java JDK on Ubuntu
Here Install Oracle JDK for UbuntuLink to Install Oracle-Sun Java SE JDK on GNU/Linux Ubuntu Distro -
6. Relocating Android Studio
Again to Relocate Android Studio IDE
For a System wide installation Set the superUser as Holder with:Copysudo chown -R root:root /tmp/android-studio
Then Move the Android Studio contents into the /opt Directory:
Copysudo mv /tmp/android-studio /opt/
-
7. Amending User’s Path
And to Make Android Studio Command-line Accessible
Amend the User’s Path with:Copyecho "export PATH=/opt/android-studio/bin:$PATH" >> ~/.bashrc
And then to Reload the PATH simply run:
Copybash
Contents