linux安装Quartus13
step 1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
| dassein@pad:~$ su root Password: root@pad:/home/dassein# /mnt bash: /mnt: Is a directory root@pad:/home/dassein# c /mnt c: command not found root@pad:/home/dassein# cd /mnt root@pad:/mnt# ./setup.sh root@pad:/mnt# tar -xvf Quartus-13.0.0.156-linux.tar components/DSPBuilderSetup-13.0.0.156.run components/FlexlmSetup-13.0.0.156.run components/ModelSimSetup-13.0.0.156.run components/QuartusHelpSetup-13.0.0.156.run components/QuartusProgrammerSetup-13.0.0.156.run components/QuartusSetup-13.0.0.156.run setup.sh root@pad:/mnt# ./setup.sh root@pad:/mnt# tar -xvf Quartus-13.0.0.156-devices1.tar tar: Quartus-13.0.0.156-devices1.tar: Cannot open: No such file or directory tar: Error is not recoverable: exiting now root@pad:/mnt# tar -xvf Quartus-13.0.0.156-devices-1.tar components/DeviceInstall-13.0.0.156.run components/cyclone-13.0.0.156.qdz components/cyclonev-13.0.0.156.qdz components/max-13.0.0.156.qdz components/stratix-13.0.0.156.qdz components/stratixiv-13.0.0.156.qdz components/stratixv-13.0.0.156.qdz components/DeviceInstall-13.0.0.156.exe root@pad:/mnt# tar -xvf Quartus-13.0.0.156-devices-2.tar components/DeviceInstall-13.0.0.156.run components/arria-13.0.0.156.qdz components/arriav-13.0.0.156.qdz components/arriavgz-13.0.0.156.qdz components/DeviceInstall-13.0.0.156.exe root@pad:/mnt# /mnt/components bash: /mnt/components: Is a directory root@pad:/mnt# cd /mnt/component bash: cd: /mnt/component: No such file or directory root@pad:/mnt# cd /mnt/components root@pad:/mnt/components# DeviceInstall-13.0.0.156.run DeviceInstall-13.0.0.156.run: command not found root@pad:/mnt/components# ./DeviceInstall-13.0.0.156.run root@pad:/mnt/components# /opt/altera13/13.0/quartus/bin/quartus quartus: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory root@pad:/mnt/components# ./opt/altera13/13.0/quartus/bin/quartus bash: ./opt/altera13/13.0/quartus/bin/quartus: No such file or directory root@pad:/mnt/components# ./opt/altera13/13.0/quartus/bin/quartus bash: ./opt/altera13/13.0/quartus/bin/quartus: No such file or directory root@pad:/mnt/components# /opt/altera13/13.0/quartus/bin/quartus quartus: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory root@pad:/mnt/components# locate libpng12.so.0 /lib/x86_64-linux-gnu/libpng12.so.0 /lib/x86_64-linux-gnu/libpng12.so.0.49.0 /usr/local/MATLAB/R2014a/bin/glnxa64/libpng12.so.0 /usr/local/MATLAB/R2014a/bin/glnxa64/libpng12.so.0.39.0 /usr/local/MATLAB/R2014a/toolbox/sl3d/orbisnap/bin/glnxa64/libpng12.so.0 /usr/local/MATLAB/R2014a/toolbox/sl3d/orbisnap/bin/glnxa64/libpng12.so.0.39.0 root@pad:/mnt/components# ldconfig root@pad:/mnt/components# /opt/altera13/13.0/quartus/bin/quartus quartus: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory root@pad:/mnt/components# ln -sf /usr/lib/libpng.so /usr/lib/x86_64-linux-gnu/libpng12.so.0 root@pad:/mnt/components# /opt/altera13/13.0/quartus/bin/quartusquartus: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory root@pad:/mnt/components# cat /etc/ld.so.conf include /etc/ld.so.conf.d/*.conf
|
step 2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| root@pad:/mnt/components# echo "/usr/local/lib" >> /etc/ld.so.conf root@pad:/mnt/components# ldconfig root@pad:/mnt/components# /opt/altera13/13.0/quartus/bin/quartus quartus: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory root@pad:/mnt/components# echo "/usr/lib/x86_64-linux-gnu" >> /etc/ld.so.conf root@pad:/mnt/components# ldconfig root@pad:/mnt/components# /opt/altera13/13.0/quartus/bin/quartus quartus: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory root@pad:/mnt/components# /opt/altera13/13.0/quartus/bin/quartus quartus: error while loading shared libraries: libpng12.so.0: wrong ELF class: ELFCLASS64 root@pad:/mnt/components# /opt/altera13/13.0/quartus/bin/quartus quartus: error while loading shared libraries: libpng12.so.0: wrong ELF class: ELFCLASS64 root@pad:/mnt/components# /opt/altera13/13.0/quartus/bin/quartus quartus: error while loading shared libraries: libpng12.so.0: wrong ELF class: ELFCLASS64 root@pad:/mnt/components#
|
step 3
破解后启动程序环境:
在终端中输入/<你自己的路径>/altera/13.0/quartus/bin/quartus也是可以打开的。
当然也可以自己制作一个关联启动程序的图标:
编辑quartus_64bit.sh
其中内容是
1 2 3 4 5
| #!/bin/sh
export QUARTUS_ROOTDIR_OVERIDE=/opt/altera13/13.0 //我的安装目录 export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/x86_64-linux-gnu/:/usr/lib/i386-linux-gnu ${QUARTUS_ROOTDIR_OVERIDE}/quartus/bin/quartus --64bit //自己琢磨吧,把 --64去掉就是32位的了。
|
然后, 放置quartus_64bit.sh
1 2 3 4 5 6
| dassein@pad:~$ su root Password: root@pad:/home/dassein# cp /home/dassein/quartus_64bit /opt/altera13/13.0 cp: cannot stat '/home/dassein/quartus_64bit': No such file or directory root@pad:/home/dassein# cp /home/dassein/quartus_64bit.sh /opt/altera13/13.0 root@pad:/home/dassein#
|
step 4
1 2 3 4 5 6
| dassein@pad:/lib/x86_64-linux-gnu$ su root Password: root@pad:/lib/x86_64-linux-gnu# cp libpng12.so.0 /lib root@pad:/lib/x86_64-linux-gnu# cp libpng12.so.0 /lib64 root@pad:/lib/x86_64-linux-gnu# cp libpng12.so.0 /lib32 root@pad:/lib/x86_64-linux-gnu#
|
安装Quartus网络web版 [optional]
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| root@pad:/home/dassein# cd /home/dassein/Downloads/ root@pad:/home/dassein/Downloads# cp 90_altera_webinstall.sh /mnt root@pad:/home/dassein/Downloads# /mnt bash: /mnt: Is a directory root@pad:/home/dassein/Downloads# cd /mnt/ root@pad:/mnt# ./90_altera_webinstall.sh bash: ./90_altera_webinstall.sh: Permission denied root@pad:/mnt# chmod 777 90_altera_webinstall.sh root@pad:/mnt# ./90_altera_webinstall.sh Creating directory webinstall Verifying archive integrity... All good. Uncompressing Altera Installer.............................................. altera_installer: error while loading shared libraries: libSM.so.6: cannot open shared object file: No such file or directory root@pad:/mnt# ./setup.sh
|
安装Quartus15网络web版 [optional]
1
| axel -n 4 -o /home/dassein/Downloads http://download.altera.com/akdlm/software/acdsinst/15.0/145/iso/Quartus-web-15.0.0.145.iso
|
接着运行安装程序
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| dassein@pad:/mnt/Quartus-web-15.0.0.145$ su root Password: root@pad:/mnt/Quartus-web-15.0.0.145# ./setup.sh
(quartus:8317): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
(quartus:8317): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Qt: Session management error: None of the authentication protocols specified are supported Inconsistency detected by ld.so: dl-close.c: 811: _dl_close: Assertion `map->l_init_called' failed!
(quartus:8317): Gtk-WARNING **: Error loading theme icon 'window-close' for stock: Unable to load image-loading module: /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /opt/altera/15.0/quartus/linux64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.57)
(quartus:8317): Gtk-WARNING **: Error loading theme icon 'dialog-information' for stock: Unable to load image-loading module: /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /opt/altera/15.0/quartus/linux64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.57)
(quartus:8317): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
(quartus:8317): Gtk-WARNING **: Error loading theme icon 'dialog-information' for stock: Unable to load image-loading module: /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: /opt/altera/15.0/quartus/linux64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.57) /usr/lib/firefox/firefox: /opt/altera/15.0/quartus/linux64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/firefox/firefox)
|
安装Quartus16 [optional]
1
| axel -n 4 -o /home/dassein/Downloads http://download.altera.com/akdlm/software/acdsinst/16.1.2/203/ib_tar/Quartus-16.1.2.203-linux-complete.tar
|
之后, 同理运行setup.sh