Forum Discussion

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

problem to use quartus from Nios II SDK bash shell

I have installed quartus 9.1 software suite in ubuntu. I have built the script for a Nios II SDK bash shell. In the shell when i use the command "quartus" i receive this errror:

rpm: Command not found.

Fatal Error: Could not copy registry file from /opt/altera9.1/quartus/mw/system/hklm.bin to /home/simo/.mw/q2_registry_linux.bin.ubuntu.2831_1.

I can use nios2 but not quartus. What is the reason?

4 Replies

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

    As already said in the other thread:

    Questions regarding the Altera software on PC-Linux are better posed in another forum, as this is not related to running Linux on NIOS.

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

    I dont know if this helps but as a newbie linux user I started out with Xubuntu ...had no end of problems until I switched to Centos 5.5 and things have been very straight forward since. Thats probsably because I dont know what I am doing yet :-) Maybe change linux directions...?

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

    Yes i can change my Linux release but i am chosen Ubuntu because it very easy to install from windows using Wuby. In the WIKY is written that is possible use Ubuntu, i have followed the installation step by step but does not work...

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

    If what I think you mean is correct and you are using "NIOS II shell" using the environment provided by altera, it seriously messes up your PATH. Do not use it, I think it is for windoze users (bash is a shell that comes default with linux). Just manually set you environment and then try it.

    export QUARTUS_ROOTDIR=/opt/altera9.1/quartus

    export PATH=$PATH:$QUARTUS_ROOTDIR/bin

    export PATH=$PATH:$QUARTUS_ROOTDIR/../nios2eds/bin

    ......

    .....

    I would recommend learning about UNIX shells, and when it comes to linux, ease of use and installation would not get one anywhere, one needs to get his/her hands dirty.