1. ExperienceR's Avatar
    Hi.I want to install a tar.gz on Android phone.But I dont know how??Device cant recognise package as installer like APK files and when click on it by ASTRO file manager just opens its contents like a zip file.Package is DNSCrypt for android, at this address:
    Main page:DNSCrypt home page
    Downloded from:
    Index of /dnscrypt-proxy/
    Package url:
    02-12-2014 07:57 AM
  2. Paul627g's Avatar
    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.
    fleskenl likes this.
    02-12-2014 08:12 AM
  3. ExperienceR's Avatar
    The files inside archive are without extension and when click it says file type not found.I think there must be a way to install tar.gz program on Android ,Because they put a file for Android on their directory to download,take a look to this links:
    Index of /dnscrypt-proxy/
    But how ? I dont know.Does anyone know??
    02-12-2014 03:56 PM
  4. Rukbat's Avatar
    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


    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.
    02-12-2014 10:34 PM
  5. ExperienceR's Avatar
    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?
    02-13-2014 11:05 AM
  6. Rukbat's Avatar
    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.
    02-13-2014 08:05 PM
  7. ExperienceR's Avatar
    I tried to run libosium.sh by Sh Script Runner,and result was with following errors:
    Line 2 >> Not found
    Line 14 >> Syntax Error 'if'
    What sholud be replaced with ANDROID_NDK_HOME
    My file is in : sdcard/123/
    What about Line 14??
    Which Parameters shound change?
    Link to Script:
    02-17-2014 02:42 PM

Similar Threads

  1. Moto X: terrible battery life on standby
    By austin58m in forum Moto X (2013)
    Replies: 144
    Last Post: 01-12-2015, 12:29 PM
  2. I want to upgrade to KitKat on Gionee E6 phone
    By rachappa in forum Android 4.4 KitKat
    Replies: 4
    Last Post: 04-11-2014, 07:19 AM
  3. HOW do get flash player to install? FRUSTRATED!!
    By Paul Lodge in forum Android 4.4 KitKat
    Replies: 4
    Last Post: 02-17-2014, 02:30 PM
  4. Nexus 5 on Sprint
    By TheAshWilliams in forum Google Nexus 5
    Replies: 4
    Last Post: 02-12-2014, 11:26 AM
  5. Japanese Contacts on UK Phone
    By malifact in forum Sony Xperia Series
    Replies: 0
    Last Post: 02-12-2014, 04:21 AM