linux下,代码阅读工具,understand

https://scitools.com/download/archive/

安装指南

http://www.xuebuyuan.com/1489041.html

官方Linux版本安装指南

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 asystem-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 thedirectory 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;

对于Ubuntu 12.04 32bit版本,要为特定程序或命令创建桌面快捷方式,你可以使用任意文本编辑器创建一个.desktop文件,然后把它放到/usr/share/applications


09E58CD1FB79

增加全局变量的方法

/etc/profile文件中添加变量【对所有用户生效(永久的)】

VI在文件/etc/profile文件中增加变量,该变量将会对Linux下所有用户有效,并且是“永久的”

猜你喜欢

转载自blog.csdn.net/u013215852/article/details/79424170