Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

Quartus II 9.1sp2 on Ubuntu 12.04

Hi,

I need to install QII v9.1 sp2 on my Ubuntu due to compatibility problems with college, which has v9.1sp2.

I downloaded the linux installer from the altera website

https ://www altera com/download/software/quartus-ii-se/9.1

Extracted: tar xvf 91sp2_quartus_linux.tar

Installed tcsh: sudo apt-get install tcsh

Running install: sudo tcsh install (tried csh also)

got: if: Expression Syntax.

Any ideas?

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I think the installer only runs on bash (and sh on Ubuntu is dash, not bash)

    And also IIRC before 10.0 the Linux version of Quartus was subscription only and you will need a valid license to run it.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hmm... but my default shell is bash here =p...

    And even with the license, it should run at least.

    I'll try v12 and see what happens
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    By "default shell" you mean your user shell I assume? The problem is that the installation script uses /bin/sh, assuming incorrectly that it is always bash. But on Ubuntu, /bin/sh now points to dash and the installation failed.

    AFAIK Altera still hasn't fixed this, so you can try either to edit the script to make it use /bin/bash, or change your /bin/sh so that it points to bash.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'm have this problem in my Debian Installation. The script uses csh, i installed csh, and when i try the installation, i have this message in STOUT:

    $ ./install

    $ if: Expression Syntax.

    I'm trying install the Altera Complete Design Suite 7.2, in Debian GNU/Linux 7, Kernel Linux 3.16.0-4-686-pae, with csh version 20110502-2.1.

    Follow the excerpt of script:

    # !/bin/csh# Altera Tools Install Script

    .

    .

    .

    unalias *

    if ( $?QINST_VERBOSE ) then

    set expert_mode = 1

    else

    set expert_mode = 0

    endif

    if ( $?QINST_DEBUG ) then

    set debug = 1

    else

    set debug = 0

    endif

    .

    .

    .
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Try to use the latest release version of Quartus since altera had fixed a lot of bugs there