Skip to content

Instantly share code, notes, and snippets.

View trickybestia's full-sized avatar

trickybestia

  • Moscow, Russia
  • 10:31 (UTC +03:00)
View GitHub Profile
@trickybestia
trickybestia / unison-termux-android.md
Last active January 6, 2026 00:43
Installation of Unison file synchronizer in Termux on Android

I couldn't install OCaml in Termux, so there is workaround which uses x86-64 binaries and QEMU:

pkg install qemu-user-x86-64
curl -LO https://github.com/bcpierce00/unison/releases/download/v2.53.7/unison-2.53.7-ubuntu-x86_64-static.tar.gz
mkdir unison-unpacked
tar xvzf unison-2.53.7-ubuntu-x86_64-static.tar.gz -C unison-unpacked
cp unison-unpacked/bin/unison unison
cp unison-unpacked/bin/unison-fsmonitor unison-fsmonitor-bin
cat << EOF > unison-fsmonitor