Linux HOWTOs

About | Home | Search


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

HOWTO: liba52
Description: Library for decoding ATSC A/52 streams
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


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

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

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/a52dec-*.tar.*
mv a52dec-0.7.4.tar.gz installed/

Back to the list


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