Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21602 Discussions

Install QuartusII 10.1 to Ubuntu 10.04 error!

Altera_Forum
Honored Contributor II
2,095 Views

Hi : 

When I install QuartusII 10.1 on Ubuntu 10.04, 

I find those error message. 

Can you help me!  

thansk.............. 

 

joe@joe-ubuntu-10:~$ bash ./10.1_quartus_free_linux.sh  

 

log : 

:command not find us_free_linux.sh: line 3:  

:command not find us_free_linux.sh: line 9:  

:command not find us_free_linux.sh: line 16:  

./10.1_quartus_free_linux.sh: line 20: syntax error near unexpected token `elif' 

'/10.1_quartus_free_linux.sh: line 20: `elif test -x /usr/ucb/echo; then
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
1,229 Views
0 Kudos
Altera_Forum
Honored Contributor II
1,229 Views

absolutely yes

0 Kudos
Altera_Forum
Honored Contributor II
1,229 Views

Try the following: 

 

sudo rm /bin/sh 

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

 

<install the software> 

 

Works for me. 

 

Best regards, 

 

 

Ben
0 Kudos
Altera_Forum
Honored Contributor II
1,229 Views

There is a same problem I met, is there other meathod? Thanks a lot!

0 Kudos
Altera_Forum
Honored Contributor II
1,229 Views

i installed it, but i dont know how to run, does any one have a idea?

0 Kudos
Altera_Forum
Honored Contributor II
1,229 Views

I already fix it. 

Because I download 10.1_quartus_linux.sh by windows system, it have ^M issue. 

So I download in Ubuntu 10.04 platform by => sudo wget ftp:\\ftp.altera.com\outgoing\release\10.1_quartus_linux.sh

Then => sudo sh 10.1_quartus_linux.sh
0 Kudos
Altera_Forum
Honored Contributor II
1,229 Views

 

--- Quote Start ---  

i installed it, but i dont know how to run, does any one have a idea? 

--- Quote End ---  

 

 

1. sudo gedit /etc/profile 

2. Add this setting in the file end. 

SOPC_KIT_NIOS2=/home/XXX/altera/10.1/nios2eds 

SOPC_BUILDER_PATH=/home/XXX/altera/10.1/nios2eds 

QUARTUS_ROOTDIR=/home/XXX/altera/10.1/quartus PATH=$PATH:/home/XXX/altera/10.1/quartus/bin:/home/XXX/altera/10.1/nios2eds/bin:/home/XXX/altera/10.1/quartus/linux 

PATH=$PATH:/home/XXX/altera/10.1/modelsim_ae/linuxaloem:/home/XXX/altera/10.1/nios2eds/bin/nios2-gnutools/H-i686-pc-linux-gnu/bin 

LD_LIBRARY_PATH=/lib:/usr/lib:/home/XXX/altera/10.1/linux 

unset GCC_EXEC_PREFIX 

export LM_LICENSE_FILE QUARTUS_ROOTDIR SOPC_KIT_NIOS2 SOPC_BUILDER_PATH 

export PATH LD_LIBRARY_PATH QUARTUS_64BIT 

/* XXX is your name */ 

 

3. reboot your system 

4. Type quartus in command line.
0 Kudos
Reply