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

### Chapter 11. General Utilities

- Prev

  tidy-html5-5.8.0

- Next

  tree-2.3.2

- Up
- Home

# Time-1.9

## Introduction to Time

The time utility is a program that measures many of the CPU resources, such as time and memory, that other programs use. The GNU version can format the output in arbitrary ways by using a printf-style format string to include various resource measurements.

Although the shell has a builtin command providing similar functionalities, this utility is required by the LSB.

### 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/time/time-1.9.tar.gz

- Download MD5 sum: d2356e0fe1c0b85285d83c6b2ad51b5f

- Download size: 584 KB

- Estimated disk space required: 4.0 MB (with tests)

- Estimated build time: 0.1 SBU (with tests)

## Installation of Time

First, fix compiling this package with GCC-15:

    sed -i 's/sighandler interrupt_signal/__sighandler_t interrupt_signal/' src/time.c

Install Time by running the following commands:

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

To test the results, issue: make check.

Now, as the `root` user:

    make install

## Contents

Installed Program: time
Installed Library: None
Installed Directory: None

### Short Descriptions

time | reports various statistics about an executed command

- Prev

  tidy-html5-5.8.0

- Next

  tree-2.3.2

- Up
- Home