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

### Chapter 12. System Utilities

- Prev

  Which-2.21 and Alternatives

- Next

  Programming

- Up
- Home

# Zip-3.0

## Introduction to Zip

The Zip package contains Zip utilities. These are useful for compressing files into `ZIP` archives.

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

### Package Information

- Download (HTTP): https://downloads.sourceforge.net/infozip/zip30.tar.gz

- Download (FTP): ftp://ftp.info-zip.org/pub/infozip/src/zip30.tgz

- Download MD5 sum: 7b74551e63f8ee6aab6fbc86676c0d37

- Download size: 1.1 MB

- Estimated disk space required: 6.4 MB

- Estimated build time: 0.1 SBU

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/zip

## Installation of Zip

Install Zip by running the following commands:

    make -f unix/Makefile generic_gcc

This package does not come with a test suite.

Now, as the `root` user:

    make prefix=/usr MANDIR=/usr/share/man/man1 -f unix/Makefile install

## Command Explanations

make prefix=/usr -f unix/Makefile install: This command overrides the `prefix` variable that is set to `/usr/local` in the `unix/Makefile`. Alternatives to `generic_gcc` can be seen with a make -f unix/Makefile list command.

## Contents

Installed Programs: zip, zipcloak, zipnote, and zipsplit
Installed Libraries: None
Installed Directories: None

### Short Descriptions

zip | compresses files into a `ZIP` archive
zipcloak | is a utility to encrypt and decrypt a `ZIP` archive
zipnote | reads or writes comments stored in a `ZIP` file
zipsplit | is a utility to split `ZIP` files into smaller files

Last updated on

- Prev

  Which-2.21 and Alternatives

- Next

  Programming

- Up
- Home