This is an old revision of the document!
Install Quartus 18.1 on Lubuntu 18.04 LTS
Download
Download from
Install
Make sure that you install the software at “/opt/altera/18.1”. Create the altera directory and change the owner to your username. Replace “fritz:fritz” with your username and group.
sudo mkdir /opt/altera sudo chown fritz:fritz /opt/altera
When you run the installation, you can deselect all FPGA device families, except Cyclone V.
mkdir /tmp/qi cd /tmp/qi cp <TheQuartusTarFile> . tar -xvf Quartus-lite-18.1.0.625-linux.tar ./setup.sh
Setting PATH Variable
In order to be able to start the binaries from the commandline, the path for the binaries has to be in the PATH environment variable. For that you have to modify the .profile file in your home directory. Append the following snippet to the .profile file:
.profile
# Include the ALTERA fpga software PATH="$PATH:/opt/altera/18.1/quartus/bin" # Include the ALTERA Modelsim VHDL simulator PATH="$PATH:/opt/altera/18.1/modelsim_ase/bin"
To see the changes in the PATH variable, you have to logout and login again. After that you can already start modelsim and quartus (see below). To check the setting of the PATH variable do:
fritz@vcae:~$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/altera/18.1/quartus/bin:/opt/altera/18.1/modelsim_ase/bin fritz@vcae:~$
You can see that the altera directories are now part of the PATH variable.
Run Quartus and install remaining libraries
Missing libpng12
fritz@vcae:~$ quartus quartus: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory fritz@vcae:~$
The following check shows that libpng16 is installed but quartus needs libpng12.
fritz@vcae:~$ dpkg -l | grep png ii libpng16-16:amd64 1.6.34-1ubuntu0.18.04.1 amd64 PNG library - runtime (version 1.6) fritz@vcae:~$
So download, compile and copy the libpng12 library to the quartus install directory
sudo apt install build-essential wget https://www.hs-augsburg.de/homes/beckmanf/public/libpng-1.2.59.tar.gz tar -xvzf libpng-1.2.59.tar.gz cd libpng-1.2.59 ./configure make cp .libs/libpng12.so* /opt/altera/18.1/quartus/linux64