GHDL is an open-source simulator for the VHDL language. GHDL allows you to compile and execute your VHDL code directly in your PC. The latest stable release is version 0.36. Documentation and “getting started” can be found here.
To download the source code and switch to the right tag use following commands:
$ git clone https://github.com/ghdl/ghdl.git $ git checkout tags/v0.36
Install some requirements using apt:
$ sudo apt install gnat libz-dev
Now you can configure, build and install the simulator:
$ ./configure --prefix=/usr/local/ $ make $ sudo make install