Linux & EDA
Using Linux as your quotidian OS isn't just for computer savvies, coders or hackers, Linux is also the best bet of whoever wants freedom and independence.
Here I write a how-to for installing two most popular EDA software, namely: EAGLE for PCB design and ModelSim for HDL design.
Fedora is a bleeding-edge distro and Fedora 24 was released just a week ago.
How to install CadSoft EAGLE on Fedora 24
1. Download eagle-lin64-7.6.0.run from CadSoft
2. Since EAGLE wants libssl.so.1.0.0 and libcrypto.so.1.0.0, you have to create “symbolic link” to your libssl.so.1.0.x and libcrypto.so.1.0.x:
a) Go to /usr/lib64 directory:
$ cd /usr/lib64
b) Find your libssl and libcrypto :
$ ls -l | grep libssl
$ ls -l | grep libcrypto
For ferdora 24, they’re libssl.so.1.0.2h and libcrypto.so.1.0.2h
c) Redirect libssl.so.1.0.0 and libcrypto.so.1.0.0 to your verstio:
$ ln -s /usr/lib64/libssl.so.1.0.2h /usr/lib64/libssl.so.1.0.0
$ ln -s /usr/lib64/libcrypto.so.1.0.2h /usr/lib64/libcrypto.so.1.0.0
3. Run eagle-lin64-7.6.0.run to install EAGLE software:
$ sh eagle-lin64-7.6.0.run
4. Now go to your installation directory and run EAGLE:
$ cd /opt/eagle-7.6.0/bin
$ ./eagle
How to install ModelSim on Fedora 24
1. You need a file like ModelSimSetup-xx.run
2. Add execute permissions and then run it:
$ chmod u+x ModelSimSetup-xx.run
$ ./ModelSimSetup-xx.run
3. If you run vsim, you would get "Error: cannot find ./../linux_rh60/vsim. There are two solution to this problem you can either edit the vsim or create a symbolic link of the linux directory to linux_rh60.
$ emacs -nw your_path_to_modelsim/bin/vsim
C-x C-q
change the line vco="linux_rh60" ;; to vco="linux" ;
but more straightforward solution is to create soft like with ln commend as follow:
$ ln -s linux linux_rh60
4. The most irritating part is to solve 32-bit libraries dependency such as freetype2, ncureses, bzip2. It took me half a day to find true versions of these libraries so for your convenience I've gathered all necessary libraries in directory named "lib32".
a) You can download "lib32" from here:
b) Copy "lib32" somewhere in your ModelSim directory:
$ cp your_path_to_Downloads/lib32 your_path_to_modelsim
c) Add a line to vsim :
$ emacs -nw your_path_to_modelsim/bin/vsim
C-x C-q
Type below scrip just above the first non-commented line
export LD_LIBRARY_PATH=your_path_to_modelsim/lib32
5. Now go to your_path_to_modelsim/bin and simply run Modelsim:
$ ./vsim
All things I mentioned above can be applied to OpenSUSE Leap 42 as well.
Staff Design Verification Engineer at Analog Devices
8 年I can confirm that the solution to ModelSim also works on Ubuntu 16.10. Thank you so much!