Linux HOWTOs

About | Home | Search


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

HOWTO: tnef
Description: Extracts Micro$loth MS-TNEF attachments
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


# tnef 1.3.3
# ==========
# Prerequisites:
# gawk
# grep

cd
test -f installed/tnef-1.3.3.tar.gz && mv installed/tnef-1.3.3.tar.gz .
test ! -f tnef-1.3.3.tar.gz &&
 wget http://download.sf.net/tnef/tnef-1.3.3.tar.gz

# Verify tarball w/ md5sum:
# (this is from Jason's copy of the tarball, not the author's)
echo "9c45dd2a453aaf7af95d2a662930fe5d  tnef-1.3.3.tar.gz" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "tnef-*" -exec rm -r {} \;
tar xzvf ~/tnef-1.3.3.tar.gz
cd tnef-1.3.3
test $UID = 0 && chown -R root:root .
./configure
make
su -c "make install"
cd
mkdir -p -m 0700 installed
rm -f installed/tnef-*.tar.*
mv tnef-1.3.3.tar.gz installed/

# If you ever need to uninstall it, run this:
rm -f ~/installed/tnef-1.3.3.tar.gz
find ~/src -maxdepth 1 -type d -name "tnef-*" -exec rm -r {} \;
su -c "rm -f /usr/local/bin/tnef /usr/local/man/man1/tnef.1"

Back to the list


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