7zip-26.00

#### Beyond Linux® From Scratch (systemd Edition) - Version 13.0

### Chapter 12. System Utilities

- Prev

  System Utilities

- Next

  AccountsService-23.13.9

- Up
- Home

# 7zip-26.00

## Introduction to 7zip

7zip is 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.

### Note

This package is known to build and work properly using an LFS 13.0 platform.

### Package Information

- Download (HTTP): https://github.com/ip7z/7zip/archive/26.00/7zip-26.00.tar.gz

- Download MD5 sum: 0bba20e1926df7187dff85c1199215b8

- Download size: 2.2 MB

- Estimated disk space required: 45 MB

- Estimated build time: 1.4 SBU

### 7zip Dependencies

#### Optional

UASM

## Installation of 7zip

Install 7zip by running the following commands:

    (for i in Bundles/{Alone,Alone7z,Format7zF,SFXCon} UI/Console; do
        make -C CPP/7zip/$i -f ../../cmpl_gcc.mak || exit
    done)

This package does not have a test suite.

Now, as the `root` user:

    install -vDm755 CPP/7zip/Bundles/Alone{/b/g/7za,7z/b/g/7zr} \
                    CPP/7zip/Bundles/Format7zF/b/g/7z.so        \
                    CPP/7zip/UI/Console/b/g/7z                  \
                    -t /usr/lib/7zip/                           &&

    install -vm755 CPP/7zip/Bundles/SFXCon/b/g/7zCon \
                   /usr/lib/7zip/7zCon.sfx           &&

    (for i in 7z 7za 7zr; do
        cat > /usr/bin/$i << EOF || exit
    #!/bin/sh
    exec /usr/lib/7zip/$i "\$@"
    EOF
        chmod 755 /usr/bin/$i || exit
    done) &&

    cp -rv DOC -T /usr/share/doc/7zip-26.00

## Contents

Installed Programs: 7z, 7za, and 7zr
Installed Libraries: None
Installed Directory: /usr/lib/7zip and /usr/share/doc/7zip-26.00

### Short Descriptions

7z | is a file archiver utility
7za | is a stand-alone executable handling less archive formats than 7z
7zr | is a minimal version of 7za that handles only 7z archives

- Prev

  System Utilities

- Next

  AccountsService-23.13.9

- Up
- Home