Software Insallation errors
Sophia Terry
I have been trying to install ghdl and gtkwave but couldn't so far.
Here is what I have been getting:
sudo apt-get install ghdl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ghdl is not available, but is referred to by another package. This may mean that the package is missing,has been obsoleted, or
is only available from another source 2 1 Answer
I used this script to install it directly from the github repository, which was last updated yesterday...
#!/bin/bash
# First get the file from github
git clone
cd ghdl
./configure --prefix=/usr/local
#In case you get the error "Sorry, you need GNAT to build GHDL. See the README" do `sudo apt install gnat`
# fatal error: zlib.h: No such file or directory include <zlib.h>
sudo apt-get -y install libz-dev
make
make install
sudo apt-get -y install gtkwave
# Usage instructions:
printf "\n\n\nUsage instructions:\n"
wget -qO- You can execute the script by copying the following commands into your terminal:
wget
chmod +x ghdl.sh
sudo ./ghdl.sh