Forum Discussion
Hi Dina,
Sorry for the inconvenience caused.
bug reports was filled for the same issue.
Please check below link
https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base/tools/2019/why-does-my-quartus-prime-18-1-fail-to-run-on-ubuntu-18-04-lts-.html
Regards
Anand
The problem exists within the included perl distribution being compiled with the wrong paths!
Full error (with additional line breaks):
Can't locate Getopt/Long.pm in @INC (you may need to install the Getopt::Long module) (
@INC contains:
/opt/altera/19.1/quartus/sopc_builder/bin/europa
/opt/altera/19.1/quartus/sopc_builder/bin
/opt/altera/19.1/quartus/../ip/altera/sopc_builder_ip/common
/opt/altera/19.1/quartus/../ip/altera/sopc_builder_ip/altera_avalon_pio
/tools/perl/5.28.1/linux64/lib/site_perl/5.28.1/x86_64-linux
/tools/perl/5.28.1/linux64/lib/site_perl/5.28.1
/tools/perl/5.28.1/linux64/lib/5.28.1/x86_64-linux
/tools/perl/5.28.1/linux64/lib/5.28.1
) at /opt/altera/19.1/quartus/../ip/altera/sopc_builder_ip/altera_avalon_pio/generate_rtl.pl line 18.It seems like the perl distribution points to the wrong directory because the library is located at /opt/altera/19.1/quartus/linux64/perl/lib/5.28.1/Getopt/Long.pm
I've found a bunch references in the perl distribution pointing to the wrong directory ( https://pastebin.com/wfUKcSjq )
A "fix" seems to be to link to the system perl executeable: http://www.armadeus.org/wiki/index.php?title=Quartus_installation_on_Linux#Perl_Getopt::Long
Full log: https://pastebin.com/b91vNq3k
Linux Distribution: Arch
$ quartus --version
Quartus Prime Design Software
Version 19.1.0 Build 670 09/22/2019 SJ Lite Edition
$ which quartus
/opt/altera/19.1/quartus/bin/quartus