-
-
Notifications
You must be signed in to change notification settings - Fork 691
Android
Install termux
Install termux on android for a shell
This method compiles faster as it uses prebuilt docs & bytecode. However if your platform bytecode is not supported (e.g maybe riscv), you should build from source (git) instead
# grab dependencies
pkg install wget make clang binutils fontconfig libcairo pango
# grab the latest stable version
wget "https://download.racket-lang.org/installers/8.17/racket-8.17-src-builtpkgs.tgz"
cd racket-8.17/src/
# prefix installation directory, and compile&install
configure --prefix=/data/data/com.termux/files/usr && make && make install
racketInstall with termux package.
Note that this installs BC minimal. See the termux build script. There's an unmerged PR for full BC. Because it installs BC minimal, those that want CS full should install by compiling from source instead until termux updates this package
$ pkg install unstable-repo
$ pkg install racketon your android device, install termux and run these commands:
$ pkg install git make clang binutils fontconfig libcairo pango
$ git clone https://github.com/racket/racket --depth=1
$ cd racket
$ git checkout stable
$ time make in-place
$ ./racket/bin/racketThe binary will be located at racket/racket/bin/racket
Download the termux-x11 apk(arm64-v8a is the most common android arch): https://github.com/termux/termux-x11/releases/tag/nightly
pkg install gtk
termux-x11 :1 -xstartup "dbus-launch --exit-with-session drracket"
Switch to the termux-x11 app and it should be running
