Linux HOWTOs

About | Home | Search


HOWTO: libvisual
Description: Audio visualization library
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


# libvisual
# =========
# Prerequisites:
# gawk
# sed
# grep
# pkg-config

# Just in case you have something that uses version 0.2.0, but not 0.4.0
# I'll include both, though I may remove the older one in a future update.

# If you ever want to uninstall libvisual, cd into the source directory,
# run 'make uninstall, remove the source directory and the tarball.  Then
# run 'ldconfig' for good measure.


# libvisual 0.4.0
# ===============
cd
test -f installed/libvisual-0.4.0.tar.gz &&
 mv installed/libvisual-0.4.0.tar.gz .
test ! -f libvisual-0.4.0.tar.gz &&
 wget http://download.sf.net/libvisual/libvisual-0.4.0.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libvisual-*" -exec rm -r {} \;
tar xzvf ~/libvisual-0.4.0.tar.gz
cd libvisual-0.4.0
test $UID = 0 && chown -R root:root .
./configure
make

# Become root to install it
su

test -d /usr/include/libvisual && rm -f /usr/include/libvisual
rm -f /usr/lib/libvisual.* /usr/lib/pkgconfig/libvisual.pc
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libvisual-*.tar.*
mv libvisual-0.4.0.tar.gz installed/


# libvisual 0.2.0
# ===============
cd
test -f installed/libvisual-0.2.0.tar.gz &&
 mv installed/libvisual-0.2.0.tar.gz .
test ! -f libvisual-0.2.0.tar.gz &&
 wget http://download.sf.net/libvisual/libvisual-0.2.0.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libvisual-*" -exec rm -r {} \;
tar xzvf ~/libvisual-0.2.0.tar.gz
cd libvisual-0.2.0
test $UID = 0 && chown -R root:root .
./configure
make
su -c "make install ; ldconfig"
cd
mkdir -p -m 0700 installed
rm -f installed/libvisual-*.tar.*
mv libvisual-0.2.0.tar.gz installed/

Back to the list


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