/bin/bash -c "$(curl -fsSL ...
brew install ghc
Steps:
sudo apt update
sudo apt install ghc
pkg update
termux-setup-storage
Your Android files are linked under storage or you can go
directly to /sdcard.
pkg install proot-distro
When that is done
proot-distro install ubuntu
proot-distro login ubuntu
Inside Ubuntu, you should first update the distro:
apt update
Then you can install GHC
apt install ghc
If 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.
Back to Fall 2021 CMSC 331 Sections 01&04 Homepage