I was trying to install Elvish using a virtual machine and Ubuntu 20.04. After following every steps mentioned in the official documentation Get Elvish it doesn’t seem to work for me. When executing just a file with " + 1 2" on terminal like “elvish test.elv” there’s an error "segmentation fault (“core dumped”). Then I tried to install elvish using “sudo apt install elvish” but the problem with that is its version 13 and for no reason it’s not possible to use math and str libraries, the error message is “cannot load math: /home/karen/.elvish/lib/math.elv does not exist” or this one “Exception: variable $str:split~ not found”
I read something about “core dumped” and it’s because the system is trying to capture a bit block which is not existing, This is due to the crashing of binaries of some specific programs. Also the official documentation saids it is recommended to use official prebuilt binaries (Get Elvish) instead.
I tried to install the binary file after “sudo cp elvish-HEAD /usr/bin/elvish” using ./elvish-HEAD but it doesn’t work.
Installing Elvish in a proper way to use math and str utilities.
Thank you in advance