Skip to content

Instantly share code, notes, and snippets.

@ikbelkirasan
Last active April 4, 2019 00:32
Show Gist options
  • Save ikbelkirasan/f49b69e11a648f9c43b86c4c6415e779 to your computer and use it in GitHub Desktop.
Save ikbelkirasan/f49b69e11a648f9c43b86c4c6415e779 to your computer and use it in GitHub Desktop.
Install Quartus on Ubuntu

Install Quartus on Ubuntu

  1. Download and install quartus lite setup from the official website.

  2. Download libpng and install it

$ wget http://archive.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng_1.2.54.orig.tar.xz

$ tar xvf  libpng_1.2.54.orig.tar.xz 

$ cd libpng-1.2.54
$ ./autogen.sh
$ ./configure
$ make -j8 
$ sudo make install
  1. Update the links
$ sudo ldconfig
  1. Run quartus
@ikbelkirasan
Copy link
Author

Add usbblaster udev rules

  1. Create a file /etc/udev/rules.d/40-usbblaster.rules
$ sudo nano /etc/udev/rules.d/40-usbblaster.rules
  1. Insert the following content:
SUBSYSTEM=="usb", ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6001", GROUP="plugdev", MODE="0666", SYMLINK+="usbblaster"
  1. Reboot your machine.

Source: https://forums.intel.com/s/question/0D50P00003yyHA1SAM/linux-unexpected-error-code-89?language=en_US

@ikbelkirasan
Copy link
Author

ikbelkirasan commented Apr 4, 2019

Bash script that starts quartus

function start_quartus() {
  QUARTUS_PATH=/media/ikbel/ExternalStorage/altera/13.0sp1/quartus
  export QUARTUS_64BIT=1
  export QUARTUS_ROOTDIR_OVERRIDE=$QUARTUS_PATH

  $QUARTUS_PATH/bin/quartus
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment