Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

problem to use quartus from Nios II SDK bash shell

Altera_Forum
Honored Contributor II
1,207 Views

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?  

 

 

0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
493 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
493 Views

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...?

0 Kudos
Altera_Forum
Honored Contributor II
493 Views

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...

0 Kudos
Altera_Forum
Honored Contributor II
493 Views

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.
0 Kudos
Reply