Line 26: |
Line 26: |
| | MD5 checksums for Linux installers | | | MD5 checksums for Linux installers |
| |} | | |} |
| + | |
| + | == Installation == |
| + | |
| + | === Ubuntu 20.04 (focal) === |
| + | |
| + | You can use the <code>alien</code> utility to convert the <code>.rpm</code> to a <code>.deb</code> suitable for installation under Ubuntu. If you don't want to install it globally, you can instead use <code>rpm2cpio</code> and <code>rpm</code> to extract the RPM contents and view the post-install script that needs to be run. |
| + | |
| + | <pre># unpack the RPM |
| + | mkdir ~/apps/diamond |
| + | cd ~/apps/diamond |
| + | rpm2cpio ~/Downloads/diamond_3_12-base-240-2-x86_64-linux.rpm | cpio -idmv |
| + | |
| + | # run the relevant commands from the post install script |
| + | export RPM_INSTALL_PREFIX=~/apps/diamond/usr/local |
| + | rpm -qp --scripts ~/Downloads/diamond_3_12-base-240-2-x86_64-linux.rpm | sed -n '/^postinstall scriptlet/,${p;/^preuninstall scriptlet/q}' - | grep tar | source /dev/stdin |
| + | |
| + | # place license.dat file in the default license search directory |
| + | mv ~/Downloads/license.dat ~/apps/diamond/usr/local/diamond/3.12/license/</pre> |
| + | |
| + | The following online guides are useful: |
| + | |
| + | * [https://ycnrg.org/lattice-diamond-on-ubuntu-16-04/ Lattice Diamond on Ubuntu 16.04] |
| + | * [http://timallen.name/index.php/2019/01/14/installing-lattice-diamond-on-ubuntu-18-04/ Installing Lattice Diamond on Ubuntu 18.04 – Tim E Allen] |
| | | |
| == Online Resources == | | == Online Resources == |
Line 32: |
Line 55: |
| | | |
| [https://www.latticesemi.com/Support/Licensing Licensing - Lattice Semiconductor] | | [https://www.latticesemi.com/Support/Licensing Licensing - Lattice Semiconductor] |
| + | |
| + | [http://www.latticesemi.com/Support/Licensing/DiamondAndiCEcube2SoftwareLicensing/DiamondFree Lattice Diamond Free Software - Lattice Semiconductor] |
| | | |
| [https://en.wikipedia.org/wiki/Lattice_Semiconductor Lattice Semiconductor - Wikipedia] | | [https://en.wikipedia.org/wiki/Lattice_Semiconductor Lattice Semiconductor - Wikipedia] |