p7zip is the Unix command-line port of 7-Zip, a file archiver that archives with high compression ratios. It handles 7z, ZIP, GZIP, Brotli, BZIP2, XZ, TAR, APM, ARJ, CAB, CHM, CPIO, CramFS, DEB, DMG, FAT, HFS, ISO, Lizard, LZ5, LZFSE, LZH, LZMA, LZMA2, MBR, MSI, MSLZ, NSIS, NTFS, RAR, RPM, SquashFS, UDF, VHD, WIM, XAR, Z, and Zstd formats.
This package is known to build and work properly using an LFS-10.1 platform.
Download (HTTP): https://github.com/jinfeihan57/p7zip/archive/v17.03/p7zip-17.03.tar.gz
Download MD5 sum: fd7e6b082db89edfc047c1ce2d810850
Download size: 6.2 MB
Estimated disk space required: 66 MB
Estimated build time: 2.3 SBU (with tests)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/p7zip
First, prevent p7zip from installing compressed manual pages:
sed '/^gzip/d' -i install.sh
Install p7zip by running the following commands:
make all3
To test the results, issue: make test.
Now, as the root
user:
make DEST_HOME=/usr \ DEST_MAN=/usr/share/man \ DEST_SHARE_DOC=/usr/share/doc/p7zip-17.03 install
If using DESTDIR techniques, use DEST_DIR instead.
Last updated on 2021-02-20 11:35:58 -0800