在你的系统或个人配置文件中加入:
export PATH=$PATH:/opt/gnome/bin export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome/lib/pkgconfig export GNOME_LIBCONFIG_PATH=/usr/lib |
在你的 /etc/ld.so.conf 中加入:
cat >> /etc/ld.so.conf << "EOF" # Begin gnome addition to /etc/ld.so.conf /opt/gnome/lib # End gnome addition EOF |
在你的 /etc/man.conf 中加入:
cat >> /etc/man.conf << "EOF" # Begin gnome addition to man.conf MANPATH /opt/gnome/man # END gnome addition to man.conf EOF |