Linux From Scratch
Prev | Chapter 5. Preparing the LFS system | Next

# Installing Sed

## Installation of Sed

Install Sed by running the following commands:

> `export CPPFLAGS=-Dre_max_failures=re_max_failures2 &&`
> `./configure --prefix=$LFS/usr --bindir=$LFS/bin &&`
> `unset CPPFLAGS &&`
> `make LDFLAGS=-static &&`
> `make install`

## Contents

The Sed package contains the sed program.

## Description

sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input from a pipeline).

Prev | Home | Next
Installing Patch | Up | Installing Sh-utils