Debian Buster and Ubuntu Beaver: feedback on installing DAML

Hi Damls,

Paths

echo 'export PATH="~/.daml/bin:$PATH"' >> ~/.bash_profile worked fine for bash/Ubuntu LTS
echo 'export PATH="home/user/.daml/bin"' >> ~/.zshrc worked for me on zsh/Ubuntu LTS
Daml is up and kickin

Debian/Buster/zsh none of the above worked, extracting the downloaded archive and installing kept failing due to space limits on a 80 GB partition¿.

Worked 4 me:

  1. Manual Download from https://github.com/digital-asset/daml/releases/latest
  2. Tar Extraction and execution of install.sh
  3. echo 'export PATH="$PATH:/home/user/.daml/bin"' >> ~/.zshrc

Result:

DAML SDK versions:
  1.3.0  (default SDK version for new projects)

SDKman might be of help with DAML installation candidate.

Cheers mitch :grinning: :checkered_flag:

1 Like

Hi @airplatform3, Thanks for the feedback. Strange phenomenon you experienced on Debian, but I’m glad you figured it out. SDKman integration is a neat idea. I have no idea how SDKs make their way into SDKman, but that’s something worth exploring.

1 Like

Thanks for the feedback @airplatform3! As for the space limit, the install script currently extracts the tarball into a temporary directory. Some distributions have fairly tight limits on /tmp (because they mount it as a ramdisk and don’t have swap). In that case, you can temporarily set the TMPDIR environment variable to something else on your disk which should get the install script working.

2 Likes