Help installing Elixir on Linux Mint

I’m not confident I can figure out how to uninstall everything, so maybe my best bet is to get asdf working. I followed the instructions on how to do it, and when installing the erlang version it got as far as saying it was missing fop and another tool for building documentation. Usually when I was installing from source this is where the installation ended, but with asdf I waited 5 minutes before killing the process as it seemed like the command would never terminate. I also got stuck on the command

bash ~/.asdf/plugins/nodejs/bin/import-release-team-keyring

it said I was waiting for a key for a long time.