#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 11. General Utilities

- Prev

  shared-mime-info-2.4

- Next

  tidy-html5-5.8.0

- Up
- Home

# Sharutils-4.15.2

## Introduction to Sharutils

The Sharutils package contains utilities that can create 'shell' archives.

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): https://ftpmirror.gnu.org/sharutils/sharutils-4.15.2.tar.xz

- Download MD5 sum: 5975ce21da36491d7aa6dc2b0d9788e0

- Download size: 1.1 MB

- Estimated disk space required: 22 MB (with the test suite)

- Estimated build time: 0.4 SBU (with the test suite)

### Additional Downloads

- Required patch: https://www.linuxfromscratch.org/patches/blfs/svn/sharutils-4.15.2-consolidated-1.patch

## Installation of Sharutils

First, fix issues exposed by current GCC versions:

    patch -Np1 -i ../sharutils-4.15.2-consolidated-1.patch

Install Sharutils by running the following commands:

    autoreconf -fiv                                         &&
    ./configure --prefix=/usr --disable-dependency-tracking &&
    make

To test the results, issue make check.

Now, as the `root` user:

    make install

## Command Explanations

`--disable-dependency-tracking`: This switch is used to disable unneeded code in the build system.

`--with-openssl`: This optional switch is used to enable incorporation of integrity checks into the package's executable programs.

## Contents

Installed Programs: shar, unshar, uudecode, and uuencode
Installed Libraries: None
Installed Directories: None

### Short Descriptions

shar | creates "shell archives" (or shar files) which are in text format and can be mailed
unshar | unpacks a shar file
uudecode | reads a file (or by default the standard input) and writes an encoded version to the standard output. The encoding uses only printing ASCII characters
uuencode | reads a file (or by default the standard input) and decodes the uuencoded version to the standard output

- Prev

  shared-mime-info-2.4

- Next

  tidy-html5-5.8.0

- Up
- Home