Installation of Gzip Before Gzip is installed, the gzip patch file needs to be unpacked. patch -Np1 -i ../gzip-&gzip-version;.patch && ./configure --prefix=$LFS/usr && make LDFLAGS=-static && make install && cp $LFS/usr/bin/gunzip $LFS/usr/bin/gzip $LFS/bin && rm $LFS/usr/bin/gunzip $LFS/usr/bin/gzip