[color="Red"]第七章 KDE Core Packages
终于到了安装KDE的核心软件包的时刻!这是一个激动人心的时刻!我们离成功的目标不远啦!只要把这三个包装上,如果无任何意外情况,…… 呵呵,还早了点,还得再编译两个多小时吧!视机器性能而定。唐师父教导我们:建立一个文件夹,取名07K,将本章所有的软件包和脚本放在里面……
07.01
KDE Pre-installation Configuration
脚本编号:01KDE_Pre-installation_Configuration
------------------------------------------------------------------------------------
#!/bin/sh
set +e
export KDE_PREFIX=/opt/kde-3.5.6
cat >> /etc/profile << "EOF" &&
export PATH=$PATH:/opt/kde-3.5.6/bin
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/kde-3.5.6/lib/pkgconfig
EOF
cat >> /etc/ld.so.conf << "EOF" &&
# Begin kde addition to /etc/ld.so.conf
/opt/kde-3.5.6/lib
# End kde addition
EOF
cat >> /etc/man_db.conf << "EOF"
# Begin kde addition to man_db.conf
MANDATORY_MANPATH /opt/kde-3.5.6/man
# End kde addition to man_db.conf
EOF
exit
------------------------------------------------------------------------------------
07.02
arts-1.5.6
http://mirrors.isc.org/pub/kde/s ... /arts-1.5.6.tar.bz2
脚本编号:02arts-1.5.6
------------------------------------------------------------------------------------
#!/bin/sh
set +e
tar -jxvf arts-1.5.6.tar.bz2
cd arts-1.5.6
export QTDIR=/opt/qt-3.3.7
./configure --prefix=/opt/kde-3.5.6 --disable-debug \
--disable-dependency-tracking \
--with-alsa --with-audiofile &&
make
make install
cd ..
rm -rf arts-1.5.6
exit
------------------------------------------------------------------------------------
07.03
kdelibs-3.5.6
http://mirrors.isc.org/pub/kde/s ... elibs-3.5.6.tar.bz2
脚本编号:03kdelibs-3.5.6
------------------------------------------------------------------------------------
#!/bin/sh
set +e
tar -jxvf kdelibs-3.5.6.tar.bz2
cd kdelibs-3.5.6
export QTDIR=/opt/qt-3.3.7
./configure --prefix=/opt/kde-3.5.6 --sysconfdir=/etc/kde \
--disable-debug --disable-dependency-tracking --with-alsa &&
make
make install
cd ..
rm -rf kdelibs-3.5.6
exit
------------------------------------------------------------------------------------
07.04
kdebase-3.5.6
http://mirrors.isc.org/pub/kde/s ... ebase-3.5.6.tar.bz2
脚本编号:04kdebase-3.5.6
------------------------------------------------------------------------------------
#!/bin/sh
set +e
tar -jxvf kdebase-3.5.6.tar.bz2
cd kdebase-3.5.6
export QTDIR=/opt/qt-3.3.7
./configure --prefix=/opt/kde-3.5.6 --sysconfdir=/etc/kde \
--disable-debug --disable-dependency-tracking &&
make
make install
cd ..
rm -rf kdebase-3.5.6
exit
------------------------------------------------------------------------------------
07.05
Configuring the Core KDE Packages
脚本编号:05ConfigCore_KDE
------------------------------------------------------------------------------------
#!/bin/sh
set +e
echo "exec startkde" >> ~/.xinitrc
ldconfig
exit
------------------------------------------------------------------------------------
至此,如果你一直在X里面执行安装工作,那么你就按Ctrl+Alt+Delete三个键,退出X界面,退到字符界面里面去,运行命令:startx,我们就可以启动伟大的KDE桌面管理器了!恭喜恭喜啊!([color="Red"]特别说明:是Ctrl+Alt+backspace三个键。谢谢Doom3d版主的纠正!真想亲TA一下,以示感激!) |