Understand for Linux安装方法

来源:互联网 发布:java方法的定义和调用 编辑:程序博客网 时间:2024/05/20 04:27

转载自Understand官网.
Understand Installation Instruction

Installation Instructions

Uncompress and extract the contents of the installation file. For example:
% tar -xvzf Understand-4.0.800-Linux-64bit.tgz
This will extract Understand. The executable is located in the bin directory.

% cd scitools/bin/linux64
% ./understand
Add to PATH

The PATH variable should be updated for each user, either in a system-specific location or individually by each user. Add the appropriate bin directory to the path e.g.:

% export PATH=$PATH:/home/myname/scitools/bin/linux64
Add STIHOME variable for C API use

If you’re planning on using the C API, add the STIHOME variable to your environment as well. It should point to the directory where Understand is installed. e.g:

% export STIHOME=/home/myname/scitools
Desktop Shortcut

The easist way to create a desktop shortcut to Understand is via a .desktop file saved to ~/.local/share/applications. For example:

understand.desktop

[Desktop Entry]
Name=Understand
Exec=/home/myname/scitools/bin/linux64/understand
Icon=/home/myname/scitools/bin/linux64/understand_64.png
Type=Application
Terminal=false
Comment=Analyze it, measure it, visualize it, maintain it - Understand it
GenericName=Static analysis tool
Categories=Development;IDE;

0 0