We are preparing to develop LFS recently. This gives us a better understanding of the system.

Source: Internet
Author: User
Tags install perl automake

Let's do it this weekend. Linux from scratch version 5.0 Gerard beekmans Translator: Mo jianing blocking Guang Lei Hao yunkui

Copyright 1999-2003 Gerard beekmans

The LFS Installation Guide explains how to build a Linux system by compiling the source code package downloaded from the Internet.

Gifts

This book is dedicated to my loving and supportive wifeBeverly beekmans.

This Chinese translation is for the linuxsir Forum!

Directory

Preface
Preface

Reader Group
What kind of people want to read this book?

What kind of people should not read this book?
Prerequisites

Content Arrangement
First part-Introduction

Part 2-prepare for the LFS System

Part 3-install the LFS System

Part 4-Appendix
I. Part I-Introduction
1. Introduction
How is work done?

Conventions in the document

Document version

Change description

Resources

Thanks
2. Important Information
About $ LFS

About sbus

About test suite

How to seek help
Ii. Part 2-prepare for the LFS System
3. Prepare a new partition
Introduction

Create a new partition

Create a file system on the new partition

Load new partition
4. Materials: software packages and patches
Introduction

All software packages

Required patches
5. Create a temporary system
Introduction

Tool chain technology

Create the $ LFS/tools directory

Add LFS users

Set Environment

Install Binutils-2.14-first time

Install GCC-3.3.1-first time

Install Linux-2.4.22 header files

Install Glibc-2.3.2

"Locking in" glibc

Install Tcl-8.4.4

Install keep CT-5.39.0

Install DejaGnu-1.4.3

Install GCC-3.3.1-second time

Install Binutils-2.14-second time

Installing gawk-3.1.3

Install Coreutils-5.0

Install Bzip2-1.0.2

Install Gzip-1.3.5

Install Diffutils-2.8.1

Install Findutils-4.1.20

Install make-3.80

Install Grep-2.5.1

Install Sed-4.0.7

Install Gettext-0.12.1

Install Ncurses-5.3

Install patch-2.5.4.

Installation of tar-1.13.25

Install Texinfo-4.6

Install Bash-2.05b

Install Util-linux-2.12

Install Perl-5.8.0

Stripping (remove debugging symbols)
Iii. Part 3-install the LFS System
6. Install Basic System Software
Introduction

About debugging symbols

Enter the chroot environment

Change owner

Create directory

Load the proc and devpts file systems

Create important symbolic links

Create passwd and group files

Create a device creating devices (Makedev-1.7)

Install Linux-2.4.22 Headers

Install man-pages-1.60

Install Glibc-2.3.2

Adjust tool chain again

Install Binutils-2.14

Install GCC-3.3.1

Install Coreutils-5.0

Install Zlib-1.1.4

Install Lfs-Utils-0.3

Install Findutils-4.1.20

Installing gawk-3.1.3

Install Ncurses-5.3

Install vim-6.2

Install M4-1.4

Install bison-1.875

Install less-381

Install Groff-1.19

Install Sed-4.0.7

Install Flex-2.5.4a

Install Gettext-0.12.1

Install net-tools-1.60

Install Inetutils-1.4.2

Install Perl-5.8.0

Install Texinfo-4.6

Install Autoconf-2.57

Install Automake-1.7.6

Install Bash-2.05b

Install file-4.04

Install Libtool-1.5

Install Bzip2-1.0.2

Install Diffutils-2.8.1

Install Ed-0.2

Install Kbd-1.08

Install E2fsprogs-1.34

Install Grep-2.5.1

Install grub-0.93

Install Gzip-1.3.5

Install man-1. 5M2

Install make-3.80

Install Modutils-2.4.25

Install patch-2.5.4.

Install Procinfo-18

Install Procps-3.1.11

Install Psmisc-21.3

Install shadow-4.0.3

Install Sysklogd-1.4.1

Install Sysvinit-2.85

Installation of tar-1.13.25

Install Util-linux-2.12

Install GCC-2.95.3

Modified chroot command

Install LFS-Bootscripts-1.12

Configure System Components
7. Set the system startup script
Introduction

What is the startup process when these scripts work?

Configure the setclock script

Do I need the loadkeys script?

Configure the sysklogd script

Configure localnet scripts

Create the/etc/hosts file

Configure a network script
8. Enable the LFS system to start
Introduction

Create a/etc/fstab file

Install Linux-2.4.22

Enable the LFS system to start
9. endpoints
Endpoint

Register on the LFS website

Restart the system

What are you doing now?
Iv. Part 4-Appendix
A. Software Package Description and dependency
Introduction

Autoconf

Automake

Bash

Binutils

Bison

Bzip2

Coreutils

Dejarnu

Diffutils

E2fsprogs

Ed

Secondary CT

File

Findutils

Flex

Gawk

Gcc

Gettext

Glibc

Grep

Groff

Grub

Gzip

Inetutils

KBD

Less

LFS-bootscripts

LFS-utils

Libtool

Linux (the kernel)

M4

Make

Makedev

Man

Man-pages

Modutils

Ncurses

Net-Tools

Patch

Perl

Procinfo

Procps

Psmisc

Sed

Shadow

Sysklogd

Sysvinit

Tar

TCL

Texinfo

Util-Linux

Vim

Zlib
B. Program and library file Indexing
    Forward
    Preface

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.