As a convenience for users on Unix-like systems, there is a [bootstrap.sh] script that will download and install each of cabal-install`'s dependencies in turn.
$ ./bootstrap.sh`
There is such file in the source directory - but maybe it has been already removed:
This issue saying the ghcup command should be used to install cabal - so I did that, but there is an error occurred: /root/.ghcup/bin/ghcup: /lib/aarch64-linux-gnu/libm.so.6: version 'GLIBC_2.29' not found (required by /root/.ghcup/bin/ghcup) "_eghcup upgrade" failed!
Debian Buster has glibc-2.28 IIRC, which is the cause of the error you’re seeing.
I have a feeling Buster isn’t quite “bleeding edge” enough for cardano, Debian likes stable, well tested packages. Ubuntu is a little more “bleeding edge”.
The articles Tom linked above are very useful I found.