Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Synopsys in ubuntu18.04

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

In this issue, the editor will bring you about how to install Synopsys in ubuntu18.04. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

The main difficulty of Synopsys series installation is to crack, and because of the verification server mode, you can crack it in advance and then install the software. The following first describes the cracking method, the cracking software can be downloaded from the address below.

Https://download.csdn.net/download/lingyag/4510513

After downloading, extract it and get two folders, as shown in the following figure.

First obtain the host name and network card mac address through the hostname command and the ip address command in ubuntu 18.04

Under windows, go to the EFA LicGen 0.4b folder and run LicGen.exe, then click Open, select the Synopsys.lpd file in the packs folder under that directory, and click Open.

Click on the figure below to fill in the mac address you just got, and then click the Generate button.

In the pop-up box, change the field after the first line Server to the hostname of ubuntu, then click Save, save the file as synopsys.dat, and put it in the Synopsys SSS Feature Keygen folder.

You can close the LicGen.exe window at this point. Next, open cmd, go to the Synopsys SSS Feature Keygen folder and run the following command to get SECRET DATA.

Sssverify synopsys.dat

Run KeyGen.exe in the same directory, fill in the SECRET data output in the above figure and the previously obtained mac address in the appropriate location, and then click the Generate button.

You can see that the license.dat file is generated under this folder as shown below.

Open the license.dat file and the synopsys.dat file with notepad and replace the red box in the license.dat with the red box in the synopsys.dat, as shown in the following figure.

The synopsys.dat file after the replacement is as follows

At this point, the cracking is complete, and the synopsys.dat file is copied to ubuntu18.04 for backup.

The Synopsys software can be downloaded from the following address

Link: http://pan.baidu.com/s/1kUWZ2Ur password: tp5v

The downloaded folder structure is shown in the following figure.

Before installing Design Compiler, install some of the necessary libraries.

Sudo apt-get install csh lsb-core

The Design Compiler to be installed is in the folder syn, and each package is a version.

But the cracking process is not complete, in order to complete the cracking, first open scl and extract the folder inside.

Open the terminal, go to the v11.10 folder above, run the sssverify command, and detect the synopsys.dat file you just generated, as shown in the following figure.

It can be seen that the license file has passed the check. Open the synopsys.dat file, change line 2 to the location of snpslmd, and save it. Notice in the figure above that sssverify and snpslmd are in the same directory.

Put the modified synopsys.dat into a folder, where you create a license folder under the Synopsys folder and put the synopsys.dat in it.

In order to work properly, the network card needs to be set to eth0. The new version of ubuntu uses a new network card naming method, but this version of Synopsys verification cracking only supports the old eth0 network card form, so it needs to be modified. Install net-tools first

Sudo apt-get install net-tools

Open the / etc/default/grub file with root permission, and change the GRUB_CMDLINE_LINUX option to GRUB_CMDLINE_LINUX= "net.ifnames=0" (if not, add this line)

Create a soft link in / etc/udev/rules.d and execute grub-mkconfig, as shown below

Sudo ln-s / dev/null / etc/udev/rules.d/80-net-setup-link.rulessudo grub-mkconfig-o / boot/grub/grub.cfg

Restart ubuntu after completion, and then check ifconfig. You can see that the name of the Nic has been restored to eth0.

Create a new bash script file and enter the following statement.

Export PATH=/home/praise/Synopsys/scl/v11.10/linux64/bin:$PATHexport SNPSLMD_LICENSE_FILE=27000@praise-VMlmgrd-c / home/praise/synopsys/license/synopsys.dat-l ~ / tmp/syn_lic.log

The first sentence sets the path of scl, the second sentence sets the license file information and path, and the last sentence runs the license verification service. These paths need to be modified according to your own situation. Note that the ~ / tmp/syn_lic.log after the option-l is the output log. You need to create a new tmp folder under the user's home directory to store log files. You also need to create a new link / usr/tmp (or folder), which is created here with the following statement.

Sudo ln-s / home/praise/tmp / usr/tmp

Save this file, save it as synoplic here and put it in the bin directory. Chmod increases the execution permission and runs it directly.

If no error is reported in the log file, there is no problem with cracking.

Next, install Design Compiler, extract the corresponding version, and select the latest K-2015.06.tar.gz here. In fact, the file is compressed after installation, so you only need to set the environment variable to use it after decompression. Create a new file and enter the following statement.

Export SYNOPSYS=/home/praise/Synopsys/syn/K-2015.06export PATH=$SYNOPSYS/bin:$PATHexport LM_LICENSE_FILE=/home/praise/Synopsys/license/synopsys.dat

Save the file, save it as set_dc_path here, and then run the following statement in the terminal.

Source set_dc_pathdesign_vision

You can see the running error, can not find the dynamic link library, use apt to install one by one, here a total of the following libraries are installed.

Sudo apt-get install libjpeg62 libmng2

Some libraries are already available in the system, but the version or path is not quite right, so you can try to solve it with soft links. For example, libtiff, the program requires libtiff.so.3, but the system is installed with libtiff.so.5. If you are installed directly through apt, you can use the following statement to check the location of libtiff, and then create a soft link.

Ldconfig-p | grep "libtiff" sudo ln-s / usr/lib/x86_64-linux-gnu/libtiff.so.5 / usr/lib/x86_64-linux-gnu/libtiff.so.3

Some libraries only have a new version in the apt repository, or you can try to create soft links using the above methods after installation, such as libmng.

It is worth noting that the library libpng12 has been upgraded to libpng16 in ubuntu18.04, and the two are not compatible and cannot be handled in the above way, so you can only download them from the following URL.

Https://download.csdn.net/download/imbak/10030755

Download and copy it to the / usr/lib/x86_64-linux-gnu directory.

After all the above issues have been resolved, run design_vision to see the graphical interface.

The installation of other synopsys software is similar, because the license server is already running normally, just unzip it and find the corresponding executable file and run it. If you encounter a lack of dynamic link libraries, just install them one by one as above. It is important to note that you must run the synoplic script to start the license service before you can run synopsys's software. However, after synoplic is running, as long as the system is not restarted, license services can always be used, and multiple synopsys software can be executed normally. If you need to stop the license service manually, you can view and kill the lmgrd process with the following command.

Ps-e | grep "lmgrd" pkill lmgrd

The above is how to install Synopsys in the ubuntu18.04 shared by the editor. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report