B
B
Bartar2016-08-03 22:05:41
linux
Bartar, 2016-08-03 22:05:41

How to install/run the tar.gz program?

In general, I'm the wildest noob, I installed ubuntu, I decided to run android studio. The archive was unpacked with the help of the archive manager and a mustache, where is the local exe so to speak?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vladimir, 2016-08-04
@rostel

although the author does not need it anymore, because I gave up at the sight of the penguin
I'll leave this here for future questioners
download the Studio SDK JDK
everything is supposed to be downloaded to /tmp

$ cd ${HOME}
$ mkdir AndroidDev
$ cd AndroidDev/
$ unzip /tmp/android-studio-ide-143.2915827-linux.zip
$ tar zxf /tmp/android-sdk_r24.4.1-linux.tgz
$ tar zxf /tmp/jdk-8u101-linux-x64.tar.gz
$ touch var

add three lines to the var file:
export JAVA_HOME=${HOME}/AndroidDev/jdk1.8.0_101
export ANDROID_HOME=${HOME}/AndroidDev/android-sdk-linux
export PATH=${JAVA_HOME}/bin:${ANDROID_HOME}/tools:${HOME} /AndroidDev/android-studio/bin:${PATH}
apply variables to the environment and launch Studio (from this point all further launches)
$ source var
$ studio.sh

A
abcd0x00, 2016-08-04
@abcd0x00

The archive was unpacked with the help of the archive manager and a mustache, where is the local exe so to speak?

Then you go into the folder and do
it. It prepares the project for assembly in this architecture.
Then you do
It collects the project (just the binary files you need).
Then you do
It installs the program where it should be.
In general, you first need to request a program through the repositories. Most often it is already in the repositories. Then it is downloaded and installed with one command. It happens that some repositories are not connected initially, but you should have read the beginner's guide, in which everything is usually written.

S
sergey, 2016-08-03
@zorro76

As for a noob, I’ll try to explain: firstly, in Linux, almost everything is installed from under the console (terminal), then in order of priority: Ubuntu Application Center, then follows the Synaptic Package Manager, and only then the wildest Windows installation, for which there are files ending in .deb
read a little here: Compiling and installing programs from source
Installing programs

I
Igor Nikolaev, 2016-08-04
@nightvich

Easiest way for ubuntu since 15:

apt install ubuntu-make && umake android --accept-license

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question