您的位置:首页 > 运维架构 > Linux

linux下,代码阅读工具,understand

2018-03-02 15:51 579 查看
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.tgzThis 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下所有用户有效,并且是“永久的”。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux