Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17255 Discussions

altera ACDS 11.0 for linux Installation fail on ubuntu

Altera_Forum
Honored Contributor II
1,455 Views

I'm using Ubuntu 11.04. When running autorun.sh or setup in gnome-terminal. 

It returns: 

 

--- Quote Start ---  

root@papa-ThinkPad-SL400:~/altera# ./autorun.sh 

./autorun.sh: 1: Syntax error: "&" unexpected 

--- Quote End ---  

I also installed tcsh but it didn't help. 

 

--- Quote Start ---  

root@papa-ThinkPad-SL400:~/altera# tcsh ./autorun.sh 

script_path=.: Command not found. 

script_path: Undefined variable. 

--- Quote End ---  

Need your help, thanks. 

 

--------------- 

errrr...... 

Installation started after doing this: 

 

--- Quote Start ---  

root@papa-ThinkPad-SL400:~/altera#bash ./setup 

--- Quote End ---  

 

I suppose Altera can write a Readme file to introduce we beginners to get in hands.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
731 Views

I haven't tried on UBUNTU but I had success on hmm... Scientific Linux 5 I think it was, though maybe one of the install attempts was on a recent Debian based distribution other than UBUNTU. I tried a couple options looking for the best compatibility / performance and in the end it seemed OK so far either way. 

 

I don't recall finding a very good readme / instructions file for the installation among the files on the DVD or in the first couple places I looked online. 

 

Eventually I found these pages / resources in addition to the text files on the DVD and I pieced together something that would work by reading between the lines from the various sources: 

http://quartushelp.altera.com/current/mergedprojects/global/install/gl_pro_download_install_sep.htm 

http://quartushelp.altera.com/current/mergedprojects/global/install/install_pro_sw_command.htm 

http://www.altera.com/literature/manual/quartus_install.pdf 

 

The first time I did it I used the command prompt and the installer script called something like altera_installer.sh which you'll find somewhere in the subdirectories of the extracted files on the DVD image, and I suspect it would also be extracted from the LINUX ".....run" file if you have that instead. 

 

The second time I installed recently I believe I may have launched the installer GUI and used that, but I don't clearly recall the details, and my notes of both of these procedures are in another location, sorry. 

 

Somewhere in the past couple of months in this altera forum there are posts about using Quartus II under UBUNTU and detailing some problems / workarounds that people have had. I vaguely remember something about the default shell mattering whether it was bash, sh, tcsh or whatever. I also seem to remember something about LD_LIBRARY_PATH and shared library versions. There's also the en_US locale setting issue with QSYS. I don't recall other details, but if you search for linux / ubuntu / shell / library you'll probably find all the relevant posts easily. Some weren't necessarily UBUNTU specific but may have related to other LINUX or Quartus versions. 

 

Oh I had to go looking for and install the "fxload" package for my OS to get the USB JTAG support to work too according to the warning at the end of the setup process. 

 

Hmm I think the permissions weren't right to run the shell script from the ISO mounted so I copied the install set to the hard disc first before I could run the script.
0 Kudos
Reply