Popt-1.16

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

### Chapter 9. General Libraries

- Prev

  PCRE2-10.33

- Next

  Pth-2.0.7

- Up
- Home

# Popt-1.16

## Introduction to Popt

The popt package contains the popt libraries which are used by some programs to parse command-line options.

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

### Package Information

- Download (HTTP): http://rpm5.org/files/popt/popt-1.16.tar.gz

- Download (FTP): ftp://anduin.linuxfromscratch.org/BLFS/popt/popt-1.16.tar.gz

- Download MD5 sum: 3743beefa3dd6247a73f8f7a32c14c33

- Download size: 702 kB

- Estimated disk space required: 8 MB (includes installing documentation)

- Estimated build time: 0.1 SBU

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/popt

## Installation of Popt

Install popt by running the following commands:

    ./configure --prefix=/usr --disable-static &&
    make

If you have Doxygen-1.8.16 installed and wish to build the API documentation, issue:

    doxygen

To test the results, issue: make check.

Now, as the `root` user:

    make install

If you built the API documentation, install it using the following commands issued by the `root` user:

    install -v -m755 -d /usr/share/doc/popt-1.16 &&
    install -v -m644 doxygen/html/* /usr/share/doc/popt-1.16

## Command Explanations

`--disable-static`: This switch prevents installation of static versions of the libraries.

## Contents

Installed Programs: None
Installed Library: libpopt.so
Installed Directories: /usr/share/doc/popt-1.16

### Short Descriptions

`libpopt.so` | is used to parse command-line options.

Last updated on 2019-08-17 15:07:08 -0700

- Prev

  PCRE2-10.33

- Next

  Pth-2.0.7

- Up
- Home