GHC needs the following packages pre-installed:
sudo apt install gcc g++ build-essential curl libffi-dev zlib1g-dev libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5It might be a good idea to stick to ghcup as it lets us know whenever an upgrade is available. For example: