ERROR: Slooooow dooooown... this page load was delayed.


kdeadmin - Sysadmin packages for KDE ChangeLog

HOWTO


# kdeadmin 3.5.1
# ==============
# Slackware 8.1's 'kdeadmin' package includes version 3.0.1, 9.0's includes
# 3.1, 9.1's includes 3.1.4, 10.0's includes 3.2.3, 10.1's includes 3.3.2,
# and 10.2's includes 3.4.2
#
# Slackware 10.2 includes KDE 3.4.2

# Check out my KDE 3.5 howto for more info.

# If you ever want to uninstall kdeadmin, cd into the source directory, run
# 'make uninstall' (as root), remove the source directory, and remove the
# tarball.

# Prerequisites:
# gawk
# sed
# grep
# gettext
# XFree86 or X.org
# zlib
# libpng
# libjpeg
# perl
# Qt >= 3.3.2
# kdelibs
# aRts
# PAM (optional)
# shadow (optional)
# libxml2 >= 2.4.8 (recommended)
# libxslt >= 1.0.7 (recommended)
# lm_sensors (optional)
# freetype >= 2.0.0 (recommended)

# I create a directory for KDE source directories and one for tarballs and
# put all of them in there
mkdir -p -m 0700 ~/src/kde ~/installed/kde

cd
test -f installed/kde/kdeadmin-3.5.1.tar.bz2 &&
mv installed/kde/kdeadmin-3.5.1.tar.bz2 .
test -f installed/kdeadmin-3.5.1.tar.bz2 &&
mv installed/kdeadmin-3.5.1.tar.bz2 .
test ! -f kdeadmin-3.5.1.tar.bz2 &&
wget http://download.kde.org/stable/3.5.1/src/\
kdeadmin-3.5.1.tar.bz2

# Verify tarball w/ md5sum:
echo "08e9bddd2b42e0783d7f79d08cdb031b  kdeadmin-3.5.1.tar.bz2" | \
md5sum -c

find src/kde src -maxdepth 1 -type d -name "kdeadmin-*" \
-exec rm -r {} \;
cd src/kde
tar xjvf ~/kdeadmin-3.5.1.tar.bz2
cd kdeadmin-3.5.1
test $UID = 0 && chown -R root:root .

# If you use PAM, replace --with-shadow with --with-pam

./configure --prefix=/opt/kde --disable-debug --with-shadow \
--with-first-uid=1000 --with-first-gid=100 --with-mailbox-gid=12
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg kdeadmin
make install

# Add /opt/kde/lib to /etc/ld.so.conf if it's not already in there:
grep "^/opt/kde/lib$" /etc/ld.so.conf > /dev/null 2>&1 ||
echo "/opt/kde/lib" >> /etc/ld.so.conf
ldconfig

# Create a /etc/profile.d/kde.sh
cat << EOF > /etc/profile.d/kde.sh
#!/bin/sh
KDEDIR=/opt/kde
PATH="\$PATH:\$KDEDIR/bin"
MANPATH="\$MANPATH:\$KDEDIR/man"
export KDEDIR PATH MANPATH
EOF
chmod 755 /etc/profile.d/kde.sh

# Become yourself again
exit

# Update your non-root shell
echo $PATH | grep -q "/opt/kde/bin" ||
export PATH="$PATH:/opt/kde/bin"
echo $MANPATH | grep -q "/opt/kde/man" ||
export MANPATH="$MANPATH:/opt/kde/man"

cd
rm -f installed/kde/kdeadmin-*.tar.* \
installed/kdeadmin-*.tar.*
mv kdeadmin-3.5.1.tar.bz2 installed/kde/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2006-04-27 10:12am
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]