I think the script mentioned is what is used to build the VM. I don't think it is suitable for users to run on their own machine. I know it says UNTESTED, but here you go with some of the issues.
Don't run apt-get autoremove --purge automatically for users - while normally safe this can have unintended side effects and can really trash someones system. Reality is that if autoremove does break system, there were some configuration problems already, but those problems were probably not causing an error until autoremove was run.
Make it more obvious that this script is going to significantly alter their system - I hope anyone would read the script before running it, but best to be upfront about what it does.
My recommendation is to remove the section, or to change it to something like (note the original was missing an S in 18.04LTS):
Installing the riscv_vm tools directly on Linux
The VM is running Ubuntu 18.04 LTS, as such you can extract installation instructions for installing the tools directly in Linux by consulting the ubuntu_post-install.sh script.
I think the script mentioned is what is used to build the VM. I don't think it is suitable for users to run on their own machine. I know it says UNTESTED, but here you go with some of the issues.
My recommendation is to remove the section, or to change it to something like (note the original was missing an S in 18.04LTS):
Installing the riscv_vm tools directly on Linux
The VM is running Ubuntu 18.04 LTS, as such you can extract installation instructions for installing the tools directly in Linux by consulting the ubuntu_post-install.sh script.