Showing results for 
Search instead for 
Did you mean: 

Quartus for Debian Wheezy

Quartus for Debian Wheezy

Installation of Quartus on Debian Wheezy amd64 (Testing) from 13.12.2011

1. Install used library’s and tools

aptitude install ia32-libs ia32-libs-gtk libxerces-c28 zsh

2. Extract Quartus

./ --noexec

3. Edit setup file

Edit first line of ./11.1sp1_216_quartus_free_linux/

#! /bin/zsh

4. Add missing locales

dpkg-reconfigure locales -> Select all en_US

5. Setup Quartus

cd ./11.1sp1_216_quartus_free_linux/


6. Stupid hack because altera forgot some libraries...

cd altera/11.1sp1/quartus/

cp /usr/lib/ linux64/

cp /usr/lib/ linux64/

cp /usr/lib/ linux64/

cp /usr/lib/ linux64/

7. Add group blaster and add user to group

addgroup blaster

adduser username blaster

8. Setup udev for USB-Blaster

-> (Changed for use of group / new udev)

Add the following lines to the /etc/udev/rules.d/51-usbblaster.rules file:

# USB-Blaster

SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", GROUP="blaster"

SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6002", GROUP="blaster"

SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6003", GROUP="blaster"

# USB-Blaster II

SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6010", GROUP="blaster"

SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6810", GROUP="blaster"

# BeMicro

SUBSYSTEM=="usb", ATTR{idVendor}=="0403", ATTR{idProduct}=="a4a0", GROUP="blaster"

9. (Optional) BeMicro Driver

Download driver from: -> Download Reference Design

Direct link:

Extract the Archive and copy the driver:

cp driver/linux-x86_64/ altera/11.1sp1/quartus/linux64/

10. Paths

Add the folowing lines to your ~/.profile:

export QUARTUS_ROOTDIR="$HOME/altera/11.1sp1/quartus"


export PATH=$PATH:"$HOME/altera/11.1sp1/quartus/bin"

export PATH=$PATH:"$HOME/altera/11.1sp1/nios2eds/bin"

export PATH=$PATH:"$HOME/altera/11.1sp1/modelsim_ase/bin"

Now you should log out and log in again. Then you can call all commands from a terminal. It is also possible to add the programs to the menue of Gnome. quartus and eclipse-nios2 works but vsim has to be called this way:

xterm -e vsim


If you get errors like:

Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/ wrong ELF class: ELFCLASS64

GTK_PATH has to be set for the 32-Bit librarys. But this doesn't work global in .profile because then 64-Bit programs have problems. So the best way is to create startup scripts for quartus and eclipse-nios2 in ~/bin/:

#! /bin/sh

export GTK_PATH=/usr/lib32/gtk-2.0


#! /bin/sh

export GTK_PATH=/usr/lib32/gtk-2.0


12. Fix for sof2flash, elf2flash, elf2hex, bin2flash

These scripts are not compatible with dash, so modify the first line from #!/bin/sh to #!/bin/bash in the folowing files:

sof2flash elf2flash elf2hex bin2flash

Version history
Revision #:
1 of 1
Last update:
‎06-27-2019 12:46 AM
Updated by: