如果您未允许安装程序在 /usr/bin 和 /usr/share/man 中创建符号链接,则可能需要更改 PATH 和 MANPATH 环境变量以允许使用 Oracle Developer Studio 12.5 软件。
在要运行 Oracle Developer Studio 的系统上键入以下命令来确定是否需要进行设置,以便访问 Oracle Developer Studio 12.5 软件工具和手册页:
% which cc
/opt/developerstudio12.5/bin/cc
% man codean
Reformatting page. Please wait... done.
User Commands codean(1)
NAME
codean - Command Line Interface of Code Analyzer
...
如果 which 命令返回了消息 no cc in paths 或报告了其他版本的 cc 命令的路径,则需要设置您的 PATH。
如果 man 命令返回了 No manual entry for codean,则需要设置您的 MANPATH。
将 /install-dir/developerstudio12.5/bin 路径添加到 PATH 环境变量中。
将 /install-dir/developerstudio12.5/man 路径添加到 MANPATH 环境变量中。
将 /install-dir/oracle/developerstudio12.5/bin 路径添加到 PATH 环境变量中。
将 /install-dir/oracle/developerstudio12.5/man 路径添加到 MANPATH 环境变量中。
缺省情况下,install-dir 为 /opt。