Installing Android Studio
-
6. Relocating Android Studio
Again to Relocate Android Studio IDE
For a System wide installation Set the superUser as Holder with:sudo chown -R root:root /tmp/android-studio
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo
Then Move the Android Studio contents into the /opt Directory:sudo mv /tmp/android-studio /opt/
-
7. Amending User’s Path
And to Make Android Studio Command-line Accessible
Amend the User’s Path with:echo "export PATH=/opt/android-studio/bin:$PATH" >> ~/.bashrc
And then to Reload the PATH simply run:
bash
Contents