Installing Quartus Prime Lite 16.1 on Ubuntu 16.04

First, a note about OS choice.  I had originally installed Xilinx and Altera/Intel software on CentOS 7, mainly because Red Hat 7 is a common supported OS for both.  In fact, I still use a CentOS 7 virtual machine in VirtualBox that I can conveniently copy from one machine to another.  For running Linux natively, though, I have had fewer problems with Ubuntu vs. CentOS, especially on laptops.  Xilinx now supports Ubuntu, so I have converted to Ubuntu 16.04 on my NUC and as a dual boot on my Dell laptop.  To get Quartus Prime Lite 16.1 Lite running along with the Modelsim Starter Edition, a few things needed to be done.

The following is a list of additional library installations needed.  I have not completely cleaned this up, so there may be more than is needed, but this should work for Quartus 16.1 and Ubuntu 16.04.  Most of these are needed specifically for Modelsim.
  • sudo dpkg --add-architecture i386
  • sudo apt-get update
  • sudo apt-get install libxft2:i386 libxext6:i386 libncurses5:i386
  • sudo apt-get install libc6:i386
  • sudo apt-get install libstdc++6:i386
  • sudo apt-get install unixodbc-dev
  • sudo apt-get install lib32ncurses5-dev
  • sudo apt-get install libzmq3-dev
Finally, there is a problem with the Modelsim executables related to kernel version 4.  Edit the following file:
<install_directory>/intelFPGA_lite/16.1/modelsim_ase/vco

Add the highlighted line:



Remember to add to your $PATH:

PATH=<install_directory>/intelFPGA_lite/16.1/quartus/bin:$PATH
PATH=<install_directory>/intelFPGA_lite/16.1/modelsim_ase/bin:$PATH

A few more items that may cause troubles are below.  These are a few random things I have hunted down on the internet that seems to get things working, but it might be a good idea to back things up before trying them.

1. Add this:
sudo apt-get install gtk2-engines-pixbuf:i386

2. If you see this:

Gtk-WARNING **: Error loading theme icon 'window-close' for stock: Unable to load image-loading module: /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /opt/intelFPGA_lite/16.1/quartus/linux64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.55

Then do this:
  • cd <install_dir>/quartus/linux64
  • sudo mv libstdc++.so.6 libstdc++.so.6.quartus_distrib
  • sudo ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstdc++.so.6
3. If you see this:

Inconsistency detected by ld.so: dl-close.c: 811: _dl_close: Assertion `map->l_init_called' failed!

Then do this:
  • cd <install_dir>/quartus/linux64
  • sudo mv libccl_curl_drl.so libccl_curl_drl.so_backup
4. Finally, getting EDS is an whole new effort.  Check rocketboards.org for some good info.

Comments

  1. Thank you very much for the info, it worked great!

    ReplyDelete
  2. Finally, I was able to install quartus correctly. Thank you very much

    ReplyDelete
  3. Your da man. This was super helpful! I was looking for this for ages. Now all error messages are gone. There were a lot of messages like:
    (quartus:11120): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

    This also works with Quartus 17.0 which i use. No warnings anymore and the selected text, and radio buttons are not invisible anymore. Awesome.

    ReplyDelete

Post a Comment