我最近安装了最新的 Qt SDK,然后我继续将它添加到我的 ~/.bash_profile 中的 PATH 中。
我没有看到变化。我可以,source ~/.bash_profile
但是我的路径是两倍长,但我不能简单地打开一个新的 gnome 终端并更新路径。
为什么?
注意:Fedora 11 在默认 gnome 桌面内运行 GNU bash,版本 4.0.16(1)-release。
.bash_profile 路径配置:
# User specific environment and startup programs
PATH=$PATH:$HOME/bin:/opt/qtsdk-2009.03/qt/bin/:/usr/local/lib/
Run Code Online (Sandbox Code Playgroud)