Linux HOWTOs

About | Home | Search


HOWTO: arts
Description: Analog realtime synthesizer
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# aRts 1.5.1
# ==========
# Slackware 8.1's 'arts' package includes version 1.0.1, 9.0's includes 1.1,
# 9.1's includes 1.1.4, 10.0's includes 1.2.3, 10.1's includes 1.3.2, and
# 10.2's includes 1.4.2
#
# Slackware 10.2 includes KDE 3.4.2

# Check out my KDE howto for more info.

# If you want to uninstall aRts, or clean up files from an old version
# before installing a new one, skip down to the bottom for instructions.

# Prerequisites:
# gawk
# sed
# grep
# XFree86 or X.org
# zlib
# libpng
# libjpeg
# perl
# Qt
# libaudioio (optional)
# NAS' libaudio
# esd
# audiofile
# alsa
# pkg-config
# glib-2.0
# JACK
# Ogg/Vorbis
# mad

# 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/arts-1.5.1.tar.bz2 &&
 mv installed/kde/arts-1.5.1.tar.bz2 .
test -f installed/arts-1.5.1.tar.bz2 &&
 mv installed/arts-1.5.1.tar.bz2 .
test ! -f arts-1.5.1.tar.bz2 &&
 wget http://download.kde.org/stable/3.5.1/src/arts-1.5.1.tar.bz2

# Verify tarball w/ md5sum:
echo "71c4996de36aa7f8726e54bb3d5bf059  arts-1.5.1.tar.bz2" | md5sum -c

find src/kde src -maxdepth 1 -type d -name "arts-*" -exec rm -r {} \;
cd src/kde
tar xjvf ~/arts-1.5.1.tar.bz2
cd arts-1.5.1
test $UID = 0 && chown -R root:root .
./configure --prefix=/opt/kde --disable-debug
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg arts
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

cd
rm -f installed/kde/arts-*.tar.* installed/arts-*.tar.*
mv arts-1.5.1.tar.bz2 installed/kde/


# If you ever want to uninstall aRts, this should do it:
cd
su
test -d src/arts-* && ( cd src/arts-* ; make uninstall )
( cd /opt/kde/bin
  rm -f artsc-config artscat artsd artsdsp artsplay artsrec artsshell \
   artswrapper mcopidl )
test -d /opt/kde/include/arts && rm -r /opt/kde/include/arts
( cd /opt/kde/lib
  rm -f libartsc.* libartscbackend.* libartsdsp.* libartsdsp_st.* \
   libartsflow.* libartsflow_idl.* libartsgslplayobject.* \
   libartswavplayobject.* libgmcop.* libkmedia2.* libkmedia2_idl.* \
   libmcop.* libmcop_mt.* libqtmcop.* libsoundserver_idl.* \
   libx11globalcomm.* )
test -d /opt/kde/lib/mcop/Arts && rm -r /opt/kde/lib/mcop/Arts
( cd /opt/kde/lib/mcop ; rm -f artsflow.mcopclass artsflow.mcoptype )
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "arts-*" -exec rm -r {} \;
rm -f ~/installed/arts-*.tar.*

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>