update; android tarball

This commit is contained in:
Joey Hess 2013-02-13 14:32:16 -04:00
parent 242c83e66f
commit 63f5284949
4 changed files with 64 additions and 21 deletions

37
doc/install/Android.mdwn Normal file
View file

@ -0,0 +1,37 @@
git-annex can be used on Android, however you need to know your way around
the command line to install and use it. (An Android app may be developed
eventually.)
## prebuilt tarball
Download the [prebuilt tarball](http://downloads.kitenet.net/git-annex/android/).
Instructions below assume it was downloaded to `/sdcard/Download`, which
is the default if you use the web browser for the download.
To use this tarball, you need to install either
[KBOX](http://kevinboone.net/kbox.html) or
[Terminal IDE](https://play.google.com/store/apps/details?id=com.spartacusrex.spartacuside)
(available in Google Play).
This is both to get a shell console, as well as a location under
`/data` where git-annex can be installed.
Open the console app you installed, and enter this command:
cd $(which sh)/..; tar xf /sdcard/Download/git-annex-android.tar.gz
Now git-annex is installed, but to use it you need to enter a special
shell environment:
runshell
Now you have git-annex, git, and some other utilities available, and can
do everything in the [[walkthrough]] and more.
## building it yourself
git-annex can be built for Android, with `make android`.
You need <https://github.com/neurocyte/ghc-android> installed first,
and also have to `cabal install` all necessary dependencies. This is not
yet an easy process.
You also need to install git and all the utilities listed on [[fromscratch]].

View file

@ -6,6 +6,9 @@ This tarball should work on most Linux systems. It does not depend
on anything except for glibc.
[download tarball](http://downloads.kitenet.net/git-annex/linux/)
To use, just unpack the tarball, `cd git-annex.linux` and run `./runshell`
-- this sets up an environment where you can use `git annex`
Warning: This is a last resort. Most Linux users should instead
[[install]] git-annex from their distribution of choice.