pigz - Parallel implementation of gzip for multi-processor/multi-core ChangeLog

HOWTO


# pigz 2.8 (2023-08-19)
# ========
# pigz = pig zee = Parallel Implementation of GZip

# Prerequisites:
# zlib >= 1.2.3
# pthreads
# groff and ps2pdf (if you run 'make pigz.pdf')

# If you ever need to remove pigz as installed below, become root,
# remove /usr/local/bin/pigz and unpigz, remove /usr/local/man/man1/pigz.1,
# remove the source, remove the tarball.

# [pigz-announce] pigz 2.8 released
# pigz-announce mailing list
# GitHub pigz Tags v2.8
# pigz manual (PDF)
# slackbuilds.org: 15.0 System pigz 2.8

# Get the tarball
cd
test -f installed/pigz-2.8.tar.gz && mv -f installed/pigz-2.8.tar.gz .
test ! -f pigz-2.8.tar.gz && wget https://zlib.net/pigz/pigz-2.8.tar.gz

# Verify tarball w/ sha256sum:
echo "eb872b4f0e1f0ebe59c9f7bd8c506c4204893ba6a8492de31df416f0d5170f\
d0  pigz-2.8.tar.gz" | sha256sum -c

# Verify tarball w/ gpg:
( gpg --list-keys 783FCD8E58BCAFBA > /dev/null 2>&1 ||
  gpg --recv-keys 783FCD8E58BCAFBA ) &&
wget -nc https://zlib.net/pigz/pigz-2.8-sig.txt &&
  gpg --verify pigz-2.8-sig.txt pigz-2.8.tar.gz &&
   rm pigz-2.8-sig.txt

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

# Build it
make

# Test the build
make test

# Run it to make sure it is OK
./pigz --version

# Become root to install it
su

# Install it
install -s -m 0755 pigz unpigz /usr/local/bin/
install -m 0644 pigz.1 /usr/local/man/man1/

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

# Become your non-root user gain
exit

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

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2025-04-10 3:49pm
Copyright © 2001-2025 Jason Englander. All Rights reserved.
[HTML5]