lzlib - Data compression library for LZMA ChangeLog

HOWTO


# Lzlib 1.13
# ==========
# For the lzip commandline utility, see that HOWTO

# Get it
cd
test -f installed/lzlib-1.13.tar.gz && mv -f installed/lzlib-1.13.tar.gz .
test ! -f lzlib-1.13.tar.gz &&
wget https://download.savannah.gnu.org/releases/lzip/lzlib/lzlib-1.13.tar.gz

# Verify tarball w/ sha256sum:
# (this came from my gpg-verified tarball)
echo "a1ab58f3148ba4b2674e938438166042137a9275bed747306641acfddc9ffb\
80  lzlib-1.13.tar.gz" | sha256sum -c

# Verify tarball w/ gpg:
( gpg --list-keys 132D7742 > /dev/null 2>&1 || gpg --recv-keys 132D7742 ) &&
wget -nc https://download.savannah.gnu.org/releases/lzip/lzlib/\
lzlib-1.13.tar.gz.sig
  gpg --verify lzlib-1.13.tar.gz.sig && rm lzlib-1.13.tar.gz.sig

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "lzip-*" -exec rm -r {} \;
tar xzvf ~/lzlib-1.13.tar.gz
cd lzlib-1.13
test $UID = 0 && chown -R root:root .

# Read README and INSTALL
# If upgrading, read NEWS for changes since the previous release,
# and ChangeLog for all changes

# Configure the build for 64-bit
# This is NOT an autoconf configure script
./configure --enable-shared --prefix=/usr --infodir=/usr/info \
--libdir=/usr/lib64 --mandir=/usr/man

# Configure the build for anything else
# This is NOT an autoconf configure script
./configure --enable-shared --prefix=/usr --infodir=/usr/info \
--mandir=/usr/man

# Build it
make

# Check the build
make check

# Become root to install it
su

# Install it
make install
ldconfig

# Make sure your non-root user can remove the source later
chown -R $(logname) .
chmod -R u+w .

# Become your non-root user again
exit

# Save the source for later
cd
mkdir -p -m 0700 installed
rm -f installed/gmp-*.tar.*
mv lzlib-1.13.tar.gz installed/


# If you ever want to uninstall Lzlib, this should do it:
cd
su
test -d src/lzip-* && ( cd src/lzip-* ; make uninstall )
rm -f /usr/info/lzlib.info /usr/include/lzlib.h /usr/lib*/liblz.*
exit
find ~/src -maxdepth 1 -type d -name "lzip-*" -exec rm -r {} \;
rm -f ~/installed/lzip-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2023-09-11 5:44pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]