本章中的软件包需要如下的设置:
设置环境变量来解决安装前缀的问题。
如果你决定用 Gnome 作为桌面:
export GNOME_PREFIX=/usr |
export GNOME_PREFIX=/opt/gnome-2.2 |
第二种配置还要求做下面的配置:
将下面内容加入系统或者个人配置文件:
export PATH=$PATH:/opt/gnome-2.2/bin export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-2.2/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-2.2/lib # End gnome addition EOF |
加入 /etc/man.conf:
cat >> /etc/man.conf << "EOF" # Begin gnome addition to man.conf MANPATH /opt/gnome-2.2/man # END gnome addition to man.conf EOF |