Installing tar.gz on Android??

Paul627g

AC Moderator All-Star
Moderator
Nov 25, 2010
15,963
2,752
0
Visit site
a " tar.gz " file is commonly seen used for factory restore packages for Samsung devices and the flashing program Odin. Google uses a similar type setup too for their Factory Images on the Nexus devices.

But you get the idea, basically unzip the contents and see whats inside. You won't be able to actually " flash " the actual tar.gz file itself but the contents are a different story.
 

Rukbat

Retired Moderator
Feb 12, 2012
44,529
26
0
Visit site
They put up the same file for Android that they did for any other *nix OS. And it has to be installed the same way - from the terminal.

Read the part starting at

Installation

The daemon is known to work on recent versions of OSX, OpenBSD, Bitrig, NetBSD, Dragonfly BSD, FreeBSD, Linux, iOS (requires a jailbroken device), Android (rooted), Solaris (SmartOS) and Windows (requires MingW).
Install libsodium. There might be a pre-built binary package for your operating system already. On Linux, don't forget to run ldconfig if you installed it from source.

Download the latest dnscrypt-proxy version and extract it:

$ bunzip2 -cd dnscrypt-proxy-*.tar.bz2 | tar xvf -
$ cd dnscrypt-proxy-*
Compile and install it using the standard procedure:

$ ./configure && make -j2
# make install​

That's how you start installing it. If you can't do a standard configure and make, you won't be able to install it. This is not a normal Android "download and click Install" app, it's a system daemon.
 

ExperienceR

New member
Feb 12, 2014
4
0
0
Visit site
Thanks Rukbat for your help.Now I have the libosodium [Sh] file , how to compile this file to be executable on Android.
Another Question:Is this program for command line ability on Android?If not how to run command line on Android?
 

Rukbat

Retired Moderator
Feb 12, 2012
44,529
26
0
Visit site
All of this is command line - you run a terminal app.

As far as compiling it, with gcc, I'd assume. The same way you'd compile any program on a *nix box.