/bin/bash -c "$(curl -fsSL ...
brew install ghc
Steps:
sudo apt update
sudo apt install ghc
pkg update
termux-setup-storageYour Android files are linked under storage or you can go directly to /sdcard.
pkg install proot-distroWhen that is done
proot-distro install ubuntu
proot-distro login ubuntuInside Ubuntu, you should first update the distro:
apt updateThen you can install GHC
apt install ghcIf your PATH environment variable is set up properly, you can run many Termux utilities from Ubuntu. Some installations like LaTeX will not work, because the directories are in the wrong places. You can install additional Ubuntu specific utilities using the apt install command, as usual.
/data/data/com.termux/files/homeThe Ubuntu files are in:
/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu/rootYou can also access your Android files from Ubuntu using /sdcard.