Forum Discussion

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

Quartus II on linux display problem

hi!

i have been trying to install quartus and got some problems.

at first, i could not install it because of '&' syntax error. then i tried sudo bash ./setup command and got over it. but then nothing showed up except 'If nothing shows up, or you don't have an X display' warning.

By the way, i looked up the forum but could not see the messages because of forbidden server..

any ideas?

Thank you.

4 Replies

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

    what distribution, Quartus II version, etc. a paste of your command history would be useful too

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

    If you're running this on some version of Ubuntu, the problem lies in that on Debian-based distributions, /bin/sh is a symlink to /bin/dash, which has a slightly different syntax than bash, which is what the installer scripts were written for. To work around this, do the following in a tty window:

    sudo rm /bin/sh
    sudo ln -s /bin/bash /bin/sh

    <perform the installation>

    and then, optionally:

    sudo rm /bin/sh
    sudo ln -s /bin/dash /bin/sh

    Best regards,

    Ben