Linux HOWTOs

About | Home | Search


HOWTO: libid3tag
Description: ID3 tag manipulation 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


# libid3tag 0.15.1b
# =================
# Slackware 9.0 and down didn't include libid3tag.  9.1's 'libid3tag'
# package includes version 0.15.0b  10.0 and 10.1's include 0.15.1b

# Prerequisites:
# gawk
# sed
# grep
# zlib

cd
test -f installed/libid3tag-0.15.1b.tar.gz &&
 mv installed/libid3tag-0.15.1b.tar.gz .
test ! -f libid3tag-0.15.1b.tar.gz &&
 wget http://download.sf.net/mad/libid3tag-0.15.1b.tar.gz

# Verify tarball w/ md5sum:
echo "e5808ad997ba32c498803822078748c3  libid3tag-0.15.1b.tar.gz" | md5sum -c

# Verify tarball w/ sha1sum:
echo "4d867e8a8436e73cd7762fe0e85958e35f1e4306  libid3tag-0.15.1b.tar.gz" | \
 sha1sum -c

# Verify tarball w/ gpg:
( gpg --list-keys 4BF38A33 > /dev/null 2>&1 || gpg --recv-keys 4BF38A33 ) &&
 wget -nc http://download.sf.net/mad/libid3tag-0.15.1b.tar.gz.sign &&
 gpg --verify libid3tag-0.15.1b.tar.gz.sign &&
 rm libid3tag-0.15.1b.tar.gz.sign 

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libid3tag-*" -exec rm -r {} \;
tar xzvf ~/libid3tag-0.15.1b.tar.gz
cd libid3tag-0.15.1b
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --disable-debugging
make

# Become root to install it
su
removepkg libid3tag
rm -f /usr/lib/libid3tag.*
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libid3tag-*.tar.*
mv libid3tag-0.15.1b.tar.gz installed/

Back to the list


Last updated: Wed, 29 Apr 2020 22:04:50 -0400
Jason Englander <jason at englanders dot us>