beekmans g. - linux from scratch ver 4.0)(en)
TRANSCRIPT
-
8/9/2019 Beekmans G. - Linux From Scratch Ver 4.0)(en)
1/275
Linux From Scratch
Version 4.0
Gerard Beekmans
Copyright 19992002 by Gerard Beekmans
This book describes the process of creating a Linux system from scratch, using nothing but the sources of the
required software.
Copyright (c) 19992002, Gerard Beekmans
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that
the following conditions are met:
Redistributions in any form must retain the above copyright notice, this list of conditions and the
following disclaimer.
Neither the name of "Linux From Scratch" nor the names of its contributors may be used to endorse
or promote products derived from this material without specific prior written permission.
Any material derived from Linux From Scratch must contain a reference to the "Linux From Scratch"
project.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS ORSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Dedication
This book is dedicated to my loving and supportive wife Beverly Beekmans.
-
8/9/2019 Beekmans G. - Linux From Scratch Ver 4.0)(en)
2/275
Table of ContentsPreface..................................................................................................................................................................1
Foreword..................................................................................................................................................1
Who would want to read this book..........................................................................................................1
Who would not want to read this book....................................................................................................2
Organization.............................................................................................................................................2
Part I Introduction....................................................................................................................2
Part II Installation of the base LFS system..............................................................................2
Part III Appendixes..................................................................................................................2
I. Part I Introduction.............................................................................................................................3
Chapter 1. Introduction......................................................................................................................................4
Acknowledgments....................................................................................................................................4
How things are going to be done.............................................................................................................5
Conventions used in this book.................................................................................................................5
Book version............................................................................................................................................6
Mirror sites...............................................................................................................................................6HTTP Mirrors.............................................................................................................................6
FTP Mirrors................................................................................................................................7
Changelog................................................................................................................................................8
Mailing lists and archives......................................................................................................................13
lfssupport................................................................................................................................13
lfsdev......................................................................................................................................13
lfsannounce.............................................................................................................................13
lfssecurity...............................................................................................................................14
lfsbook............ ........................................................................................................................14
lfschat.....................................................................................................................................14
alfsdiscuss...............................................................................................................................14blfsdev....................................................................................................................................14
blfsbook.......... ........................................................................................................................14
blfssupport...... ........................................................................................................................14
Mail archives.............................................................................................................................14
How to post to a list..................................................................................................................15
How to subscribe?.....................................................................................................................15
How to unsubscribe?.................................................................................................................15
Other list modes........................................................................................................................15
Digests......................................................................................................................................16
Vacation....................................................................................................................................16
News server............................................................................................................................................16FAQ.......................................................................................................................................................16
Contact information.............. .................................................................................................................16
Chapter 2. Important information..................................................................................................................17
About $LFS............................................................................................................................................17
About SBUs...........................................................................................................................................17
Where to store the downloaded software...............................................................................................18
How to install the software....................................................................................................................18
Which Platform?....................................................................................................................................19
How to ask for help................................................................................................................................19
Linux From Scratch
i
-
8/9/2019 Beekmans G. - Linux From Scratch Ver 4.0)(en)
3/275
Table of ContentsChapter 2. Important information
Things to mention.....................................................................................................................19
Configure problems..................................................................................................................20
Compile problems.....................................................................................................................20
II. Part II Installing the LFS system...................................................................................................20
Chapter 3. Packages that need to be downloaded..........................................................................................22
Introduction............................................................................................................................................22
Packages that need to be downloaded....................................................................................................22
Chapter 4. Preparing a new partition.............................................................................................................26
Introduction............................................................................................................................................26
Creating a new partition.........................................................................................................................26
Creating a file system on the new partition...........................................................................................26
Mounting the new partition....................................................................................................................27
Chapter 5. Preparing the LFS system.............................................................................................................28
Introduction............................................................................................................................................28
Why do we use static linking?...............................................................................................................28
Creating the $LFS/static directory................. ........................................................................................29
Install all software as an unprivileged user............................................................................................29
Installing Bash2.05a............................................................................................................................30
Installation of Bash...................................................................................................................30
Command explanations.............................................................................................................31
Contents of Bash.................................... ...................................................................................31
Bash Installation Dependencies.............. ..................................................................................32
Installing Binutils2.13.........................................................................................................................32Installation of Binutils..............................................................................................................32
Command explanations.............................................................................................................32
Contents of Binutils..................................................................................................................33
Binutils Installation Dependencies...........................................................................................35
Installing Bzip21.0.2............................................................................................................................35
Installation of Bzip2..................................................................................................................35
Command explanations.............................................................................................................35
Contents of Bzip2.....................................................................................................................35
Bzip2 Installation Dependencies..............................................................................................36
Installing Diffutils2.8.1........................................................................................................................36
Installation of Diffutils..............................................................................................................37Command explanations.............................................................................................................37
Contents of Diffutils.................................................................................................................37
Diffutils Installation Dependencies..........................................................................................37
Installing Fileutils4.1...........................................................................................................................38
Installation of Fileutils..............................................................................................................38
Command explanations.............................................................................................................38
Contents of Fileutils..................................................................................................................38
Fileutils Installation Dependencies...........................................................................................40
Installing Findutils4.1..........................................................................................................................40
Installing Findutils....................................................................................................................41
Linux From Scratch
ii
-
8/9/2019 Beekmans G. - Linux From Scratch Ver 4.0)(en)
4/275
Table of ContentsChapter 5. Preparing the LFS system
Command explanations.............................................................................................................41
Contents of Findutils.................................................................................................................41
Findutils Installation Dependencies..........................................................................................42
Installing Gawk3.1.1............................................................................................................................42
Installation of Gawk..................................................................................................................42
Contents of Gawk.....................................................................................................................42
Gawk Installation Dependencies..............................................................................................43
Installing GCC3.2................................................................................................................................43
Installation of GCC...................................................................................................................43
Command explanations.............................................................................................................44
Contents of GCC.......................................................................................................................44
GCC Installation Dependencies................................................................................................46
Installing Grep2.5................................................................................................................................46
Installation of Grep...................................................................................................................46
Command explanations.............................................................................................................46Contents of Grep............................... ........................................................................................46
Grep Installation Dependencies................................................................................................47
Installing Gzip1.2.4a............................................................................................................................47
Installation of Gzip...................................................................................................................47
Contents of Gzip.......................................................................................................................47
Gzip Installation Dependencies................................................................................................48
Installing Make3.79.1..........................................................................................................................48
Installation of Make..................................................................................................................48
Contents of Make............................... .......................................................................................49
Make Installation Dependencies...............................................................................................49
Installing Patch2.5.4............................................................................................................................49Installation of Patch..................................................................................................................49
Command explanations.............................................................................................................49
Contents of Patch............................ ..........................................................................................50
Patch Installation Dependencies...............................................................................................50
Installing Sed3.02................................................................................................................................50
Installation of Sed.....................................................................................................................50
Contents of Sed.........................................................................................................................50
Sed Installation Dependencies........... .......................................................................................51
Installing Shutils2.0...........................................................................................................................51
Installation of Shutils..............................................................................................................51
Contents of Shutils.................................................................................................................51Shutils Installation Dependencies...........................................................................................54
Installing Tar1.13.................................................................................................................................55
Installation of Tar......................................................................................................................55
Contents of Tar.........................................................................................................................55
Tar Installation Dependencies..................................................................................................55
Installing Texinfo4.2...........................................................................................................................55
Installation of Texinfo..............................................................................................................56
Contents of Texinfo..................................................................................................................56
Texinfo Installation Dependencies...........................................................................................56
Installing Textutils2.1..........................................................................................................................57
Linux From Scratch
iii
-
8/9/2019 Beekmans G. - Linux From Scratch Ver 4.0)(en)
5/275
Table of ContentsChapter 5. Preparing the LFS system
Installation of Textutils.............................................................................................................57
Contents of Textutils.................................................................................................................57
Textutils Installation Dependencies..........................................................................................59
Installing Utillinux2.11u...................................................................................................................59
Installation of Utillinux..........................................................................................................59
Utillinux Installation Dependencies.......................................................................................60
Chapter 6. Installing basic system software...................................................................................................61
Introduction............................................................................................................................................61
About debugging symbols.....................................................................................................................61
Entering the chroot environment...........................................................................................................62
Changing ownership..............................................................................................................................62
Creating directories................................................................................................................................62
FHS compliance note................................................................................................................63
Mounting the proc file system...............................................................................................................63Creating the mtab symlink.....................................................................................................................64
Creating the bash and sh symlinks.........................................................................................................64
Creating the passwd and group files......................................................................................................64
Creating devices (Makedev1.7)........................... ................................................................................65
Creating devices........................................................................................................................65
Command explanations.............................................................................................................65
Contents of MAKEDEV...........................................................................................................65
MAKEDEV Installation Dependencies....................................................................................66
Installing Linux2.4.19..........................................................................................................................66
Installation of the kernel headers..............................................................................................66
Command explanations.............................................................................................................66Why we copy the kernel headers and don't symlink them........................................................67
Contents of Linux.....................................................................................................................67
Linux Installation Dependencies..............................................................................................68
Installing Manpages1.52...................................................................................................................68
Installation of Manpages........................................................................................................68
Contents of Manpages............................................................................................................68
Manpages Installation Dependencies.....................................................................................68
Installing Glibc2.2.5............................................................................................................................68
Installation of Glibc..................................................................................................................69
Command explanations.............................................................................................................70
Contents of Glibc.............................. ........................................................................................70Glibc Installation Dependencies...............................................................................................75
Installing GCC3.2................................................................................................................................75
Installation of GCC...................................................................................................................75
Command explanations.............................................................................................................76
Contents of GCC.......................................................................................................................76
GCC Installation Dependencies................................................................................................77
Installing Zlib1.1.4..............................................................................................................................78
Installation of Zlib....................................................................................................................78
Contents of Zlib........................................................................................................................78
Zlib Installation Dependencies.................................................................................................78
Linux From Scratch
iv
-
8/9/2019 Beekmans G. - Linux From Scratch Ver 4.0)(en)
6/275
Table of ContentsChapter 6. Installing basic system software
Installing Findutils4.1..........................................................................................................................78
Installing Findutils....................................................................................................................78
FHS compliance notes..............................................................................................................79
Command explanations.............................................................................................................79
Contents of Findutils.................................................................................................................79
Findutils Installation Dependencies..........................................................................................80
Installing Gawk3.1.1............................................................................................................................80
Installation of Gawk..................................................................................................................80
Command explanations.............................................................................................................80
Contents of Gawk.....................................................................................................................80
Gawk Installation Dependencies..............................................................................................81
Installing Ncurses5.2...........................................................................................................................81
Installation of Ncurses..............................................................................................................81
Command explanations.............................................................................................................82
Contents of Ncurses......................... .........................................................................................82Ncurses Installation Dependencies...........................................................................................83
Installing Vim6.1.................................................................................................................................84
Installation of Vim....................................................................................................................84
Command explanations.............................................................................................................84
Contents of Vim........................................................................................................................84
Vim Installation Dependencies.................................................................................................86
Installing Bison1.35.............................................................................................................................86
Installation of Bison..................................................................................................................86
Contents of Bison......................................................................................................................87
Bison Installation Dependencies...............................................................................................88
Installing Less374................................................................................................................................88Installation of Less....................................................................................................................88
Contents of Less........................................................................................................................88
Less Installation Dependencies.................................................................................................89
Installing Groff1.18.............................................................................................................................89
Installation of Groff..................................................................................................................89
Command explanations.............................................................................................................89
Contents of Groff......................................................................................................................89
Groff Installation Dependencies...............................................................................................92
Installing Textutils2.1..........................................................................................................................92
Installation of Textutils.............................................................................................................92
Contents of Textutils.................................................................................................................92Textutils Installation Dependencies..........................................................................................95
Installing Sed3.02................................................................................................................................95
Installation of Sed.....................................................................................................................95
Contents of Sed.........................................................................................................................95
Sed Installation Dependencies..................................................................................................95
Installing Flex2.5.4a............................................................................................................................96
Installation of Flex....................................................................................................................96
Contents of Flex........................................................................................................................96
Flex Installation Dependencies.................................................................................................97
Installing Binutils2.13.........................................................................................................................97
Linux From Scratch
v
-
8/9/2019 Beekmans G. - Linux From Scratch Ver 4.0)(en)
7/275
Table of ContentsChapter 6. Installing basic system software
Installation of Binutils..............................................................................................................97
Command explanations.............................................................................................................97
Contents of Binutils..................................................................................................................98
Binutils Installation Dependencies.........................................................................................100
Installing Fileutils4.1.........................................................................................................................100
Installation of Fileutils............................................................................................................100
Contents of Fileutils................................................................................................................100
Fileutils Installation Dependencies.........................................................................................102
Installing Shutils2.0.........................................................................................................................102
Installation of Shutils....................... .....................................................................................102
FHS compliance notes............................................................................................................103
Command explanations...........................................................................................................103
Contents of Shutils...............................................................................................................103
Shutils Installation Dependencies.........................................................................................106
Installing Gettext0.11.5.....................................................................................................................106Installation of Gettext.............................................................................................................106
Contents of Gettext.................................................................................................................106
Gettext Installation Dependencies..........................................................................................109
Installing Nettools1.60....................................................................................................................109
Installation of Nettools.........................................................................................................109
Command explanations...........................................................................................................110
Contents of Nettools.............................................................................................................110
Nettools Installation Dependencies......................................................................................111
Installing Perl5.8.0.............................................................................................................................111
Installation of Perl...................................................................................................................111
Contents of Perl......................................................................................................................111Perl Installation Dependencies................................................................................................115
Installing Linux threads2.2.5 man pages...........................................................................................115
Installation of Linux threads man pages.................................................................................115
Contents of Linux threads man pages.....................................................................................115
Linux threads man pages installation Dependencies..............................................................116
Installing M41.4.................................................................................................................................116
Installation of M4....................................................................................................................116
Contents of M4.......................................................................................................................116
M4 Installation Dependencies................................................................................................116
Installing Texinfo4.2.........................................................................................................................117
Installation of Texinfo............................................................................................................117Command explanations...........................................................................................................117
Contents of Texinfo................................................................................................................117
Texinfo Installation Dependencies.........................................................................................118
Installing Autoconf2.53.....................................................................................................................118
Installation of Autoconf..........................................................................................................118
Contents of Autoconf................................. .............................................................................118
Autoconf Installation Dependencies.......................................................................................119
Installing Automake1.6.3..................................................................................................................119
Installation of Automake........................................................................................................119
Contents of Automake............................................................................................................119
Linux From Scratch
vi
-
8/9/2019 Beekmans G. - Linux From Scratch Ver 4.0)(en)
8/275
Table of ContentsChapter 6. Installing basic system software
Automake Installation Dependencies.....................................................................................121
Installing Bash2.05a..........................................................................................................................121
Installation of Bash.................................................................................................................121
Contents of Bash............................. ........................................................................................121
Bash Installation Dependencies..............................................................................................122
Installing File3.39..............................................................................................................................122
Installation of File...................................................................................................................122
Contents of File.......................................................................................................................122
File Installation Dependencies................................................................................................122
Installing Libtool1.4.2.......................................................................................................................123
Installation of Libtool.............................................................................................................123
Contents of Libtool.................................................................................................................123
Libtool Installation Dependencies..........................................................................................123
Installing Bin860.16.3.......................................................................................................................124
Installation of Bin86...............................................................................................................124Contents of Bin86...................................................................................................................124
Bin86 Installation Dependencies............................................................................................125
Installing Bzip21.0.2..........................................................................................................................125
Installation of Bzip2................................................................................................................125
Command explanations...........................................................................................................125
Contents of Bzip2...................................................................................................................125
Bzip2 Installation Dependencies............................................................................................126
Installing Ed0.2..................................................................................................................................127
Installation of Ed.....................................................................................................................127
Command explanations...........................................................................................................127
Contents of Ed........................................................................................................................127Ed Installation Dependencies..................................................................................................127
Installing Kbd1.06.............................................................................................................................128
Installation of Kbd..................................................................................................................128
Command explanations...........................................................................................................128
Contents of Kbd......................................................................................................................128
Kbd Installation Dependencies...............................................................................................130
Installing Diffutils2.8.1......................................................................................................................130
Installation of Diffutils............................................................................................................130
Contents of Diffutils...............................................................................................................131
Diffutils Installation Dependencies........................................................................................131
Installing E2fsprogs1.27....................................................................................................................131Installation of E2fsprogs.........................................................................................................131
Command explanations...........................................................................................................132
Contents of E2fsprogs.............................................................................................................132
E2fsprogs Installation Dependencies......................................................................................134
Installing Grep2.5..............................................................................................................................134
Installation of Grep.................................................................................................................134
Contents of Grep............................... ......................................................................................135
Grep Installation Dependencies..............................................................................................135
Installing Gzip1.2.4a..........................................................................................................................135
Installation of Gzip.................................................................................................................135
Linux From Scratch
vii
-
8/9/2019 Beekmans G. - Linux From Scratch Ver 4.0)(en)
9/275
Table of ContentsChapter 6. Installing basic system software
Command explanations...........................................................................................................136
Contents of Gzip.....................................................................................................................136
Gzip Installation Dependencies..............................................................................................137
Installing Man1.5k.............................................................................................................................137
Installation of Man..................................................................................................................137
Command explanations...........................................................................................................137
Contents of Man......................................................................................................................137
Man Installation Dependencies...............................................................................................138
Installing Lilo22.2.............................................................................................................................138
Installation of Lilo..................................................................................................................138
Contents of Lilo......................................................................................................................139
Lilo Installation Dependencies...............................................................................................139
Installing Make3.79.1........................................................................................................................139
Installation of Make................................................................................................................140
Command explanations...........................................................................................................140Contents of Make.................................... ................................................................................140
Make Installation Dependencies.............................................................................................140
Installing Modutils2.4.19...................................................................................................................140
Installation of Modutils...........................................................................................................140
Contents of Modutils..............................................................................................................141
Modutils Installation Dependencies........................................................................................142
Installing Netkitbase0.17.................................................................................................................142
Installation of Netkitbase......................................................................................................142
Contents of Netkitbase.........................................................................................................142
Netkitbase Installation Dependencies...................................................................................143
Installing Patch2.5.4..........................................................................................................................143Installation of Patch................................................................................................................143
Contents of Patch....................................................................................................................143
Patch Installation Dependencies.............................................................................................143
Installing Procinfo18.........................................................................................................................143
Installation of Procinfo...........................................................................................................144
Command explanations...........................................................................................................144
Contents of Procinfo...............................................................................................................144
Procinfo Installation Dependencies........................................................................................144
Installing Procps2.0.7........................................................................................................................144
Installation of Procps..............................................................................................................145
Command explanations...........................................................................................................145Contents of Procps..................................................................................................................145
Procps Installation Dependencies...........................................................................................146
Installing Psmisc21............................................................................................................................147
Installation of Psmisc..............................................................................................................147
Command explanations...........................................................................................................147
Contents of Psmisc..................................................................................................................147
Psmisc Installation Dependencies...........................................................................................148
Installing Shadow4.0.3......................................................................................................................148
Installation of Shadow Password Suite...................................................................................148
Command explanations...........................................................................................................148
Linux From Scratch
viii
-
8/9/2019 Beekmans G. - Linux From Scratch Ver 4.0)(en)
10/275
Table of ContentsChapter 6. Installing basic system software
Contents of Shadow................................................................................................................149
Shadow Installation Dependencies.........................................................................................152
Installing Sysklogd1.4.1....................................................................................................................152
Installation of Sysklogd..........................................................................................................152
Contents of Sysklogd............................. .................................................................................152
Sysklogd Installation Dependencies.......................................................................................152
Installing Sysvinit2.84.......................................................................................................................152
Installation of Sysvinit............................................................................................................153
Contents of Sysvinit....................... .........................................................................................153
Sysvinit Installation Dependencies.........................................................................................154
Installing Tar1.13...............................................................................................................................155
Installation of Tar....................................................................................................................155
Contents of Tar.......................................................................................................................155
Tar Installation Dependencies................................................................................................155
Installing Utillinux2.11u.................................................................................................................156FHS compliance notes............................................................................................................156
Installation of Utillinux........................................................................................................156
Command explanations...........................................................................................................156
Contents of Utillinux............................................................................................................156
Utillinux Installation Dependencies.....................................................................................161
Installing LFSBootscripts1.10.........................................................................................................161
Installation of LFSBootscripts..............................................................................................161
Contents of LFSbootscripts..................................................................................................162
LFSBootscripts Installation Dependencies...........................................................................163
Configuring essential software............................................................................................................163
Configuring Vim.....................................................................................................................163Configuring Glibc...................................................................................................................164
Configuring Dynamic Loader.................................................................................................164
Configuring Sysklogd.............................................................................................................165
Configuring Shadow Password Suite.....................................................................................165
Configuring Sysvinit............................... ................................................................................165
Configuring your keyboard.....................................................................................................166
Creating the /var/run/utmp, /var/log/wtmp and /var/log/btmp files........................................166
Creating root password...........................................................................................................167
Chapter 7. Setting up system boot scripts....................................................................................................168
Introduction..........................................................................................................................................168How does the booting process with these scripts work?......................................................................168
Configuring the setclock script............................................................................................................169
Do I need the loadkeys script?.............................................................................................................169
Configuring the sysklogd script...........................................................................................................169
Configuring the localnet script.............................................................................................................170
Creating the /etc/hosts file...................................................................................................................170
Configuring the network script............................................................................................................171
Configuring default gateway..................................................................................................171
Creating network interface configuration files.......................................................................171
Linux From Scratch
ix
-
8/9/2019 Beekmans G. - Linux From Scratch Ver 4.0)(en)
11/275
Table of ContentsChapter 8. Making the LFS system bootable...............................................................................................172
Introduction..........................................................................................................................................172
Creating the /etc/fstab file....................................... .............................................................................172
Installing Linux2.4.19........................................................................................................................172
Linux Installation Dependencies............................................................................................173
Making the LFS system bootable........................................................................................................173
Chapter 9. The End.........................................................................................................................................175
The End................................................................................................................................................175
Get Counted.........................................................................................................................................175
Rebooting the system...........................................................................................................................175
III. Part III Appendixes.....................................................................................................................176
Appendix A. Package descriptions and dependencies.........................................................................176
Introduction..........................................................................................................................................176
Autoconf..............................................................................................................................................177
Official Download Location...................................................................................................177Contents of Autoconf...................................... ........................................................................177
Autoconf Installation Dependencies.......................................................................................178
Automake....................... ......................................................................................................................178
Official Download Location...................................................................................................178
Contents of Automake............................................................................................................178
Automake Installation Dependencies.....................................................................................180
Bash.....................................................................................................................................................180
Official Download Location...................................................................................................180
Contents of Bash.....................................................................................................................180
Bash Installation Dependencies..............................................................................................181
Bin86.............................. ......................................................................................................................181Official Download Location...................................................................................................181
Contents of Bin86...................................................................................................................181
Bin86 Installation Dependencies............................................................................................182
Binutils........................... ......................................................................................................................182
Official Download Location...................................................................................................182
Contents of Binutils................................................................................................................182
Binutils Installation Dependencies.........................................................................................184
Bison....................................................................................................................................................184
Official Download Location...................................................................................................184
Contents of Bison....................................................................................................................184
Bison Installation Dependencies.............................................................................................185Bzip2....................................................................................................................................................185
Official Download Location...................................................................................................186
Contents of Bzip2...................................................................................................................186
Bzip2 Installation Dependencies............................................................................................187
Diffutils................................................................................................................................................187
Official Download Location...................................................................................................187
Contents of Diffutils...............................................................................................................187
Diffutils Installation Dependencies........................................................................................187
E2fsprogs.............................................................................................................................................188
Official Download Location...................................................................................................188
Linux From Scratch
x
-
8/9/2019 Beekmans G. - Linux From Scratch Ver 4.0)(en)
12/275
Table of ContentsChapter 9. The End
Contents of E2fsprogs.............................................................................................................188
E2fsprogs Installation Dependencies......................................................................................190
Ed.........................................................................................................................................................190
Official Download Location...................................................................................................190
Contents of Ed........................................................................................................................190
Ed Installation Dependencies..................................................................................................191
File.......................................................................................................................................................191
Official Download Location...................................................................................................191
Contents of File.......................................................................................................................191
File Installation Dependencies................................................................................................191
Fileutils................................................................................................................................................192
Official Download Location...................................................................................................192
Contents of Fileutils................................................................................................................192
Fileutils Installation Dependencies.........................................................................................194
Findutils...............................................................................................................................................194Official Download Location...................................................................................................194
Contents of Findutils...............................................................................................................194
Findutils Installation Dependencies........................................................................................195
Flex......................................................................................................................................................195
Official Download Location...................................................................................................195
Contents of Flex......................................................................................................................195
Flex Installation Dependencies...............................................................................................196
Gawk....................................................................................................................................................196
Official Download Location...................................................................................................196
Contents of Gawk...................................................................................................................196
Gawk Installation Dependencies............................................................................................197GCC.....................................................................................................................................................197
Official Download Location...................................................................................................197
Contents of GCC.....................................................................................................................197
GCC Installation Dependencies..............................................................................................199
Gettext............................ ......................................................................................................................199
Official Download Location...................................................................................................199
Contents of Gettext.................................................................................................................199
Gettext Installation Dependencies..........................................................................................202
Glibc.....................................................................................................................................................202
Official Download Location...................................................................................................202
Contents of Glibc....................................................................................................................202Glibc Installation Dependencies.............................................................................................207
Grep......................................................................................................................................................207
Official Download Location...................................................................................................207
Contents of Grep.....................................................................................................................207
Grep Installation Dependencies..............................................................................................208
Groff.....................................................................................................................................................208
Official Download Location...................................................................................................208
Contents of Groff....................................................................................................................208
Groff Installation Dependencies.............................................................................................211
Gzip......................................................................................................................................................211
Linux From Scratch
xi
-
8/9/2019 Beekmans G. - Linux From Scratch Ver 4.0)(en)
13/275
Table of ContentsChapter 9. The End
Official Download Location...................................................................................................211
Contents of Gzip.....................................................................................................................211
Gzip Installation Dependencies..............................................................................................212
Kbd.......................................................................................................................................................212
Official Download Location...................................................................................................212
Contents of Kbd......................................................................................................................212
Kbd Installation Dependencies...............................................................................................215
Less......................................................................................................................................................215
Official Download Location...................................................................................................215
Contents of Less......................................................................................................................215
Less Installation Dependencies...............................................................................................215
LFSBootscripts..................................................................................................................................215
Official Download Location...................................................................................................216
Contents of LFSbootscripts..................................................................................................216
LFSBootscripts Installation Dependencies...........................................................................217Libtool............................ ......................................................................................................................217
Official Download Location...................................................................................................217
Contents of Libtool.................................................................................................................218
Libtool Installation Dependencies..........................................................................................218
Lilo................................. ......................................................................................................................218
Official Download Location...................................................................................................218
Contents of Lilo......................................................................................................................218
Lilo Installation Dependencies...............................................................................................219
Linux (the kernel)................................................................................................................................219
Official Download Location...................................................................................................219
Contents of Linux...................................................................................................................219Linux Installation Dependencies............................................................................................220
M4........................................................................................................................................................220
Official Download Location...................................................................................................220
Contents of M4.......................................................................................................................220
M4 Installation Dependencies................................................................................................220
Make....................................................................................................................................................221
Official Download Location...................................................................................................221
Contents of Make....................................................................................................................221
Make Installation Dependencies.............................................................................................221
MAKEDEV..........................................................................................................................................221
Official Download Location...................................................................................................221Contents of MAKEDEV.........................................................................................................221
MAKEDEV Installation Dependencies..................................................................................222
Man......................................................................................................................................................222
Official Download Location...................................................................................................222
Contents of Man......................................................................................................................222
Man Installation Dependencies...............................................................................................223
Manpages..................... ......................................................................................................................223
Official Download Location...................................................................................................223
Contents of Manpages..........................................................................................................223
Manpages Installation Dependencies...................................................................................223
Linux From Scratch
xii
-
8/9/2019 Beekmans G. - Linux From Scratch Ver 4.0)(en)
14/275
Table of ContentsChapter 9. The End
Modutils...............................................................................................................................................224
Official Download Location...................................................................................................224
Contents of Modutils..............................................................................................................224
Modutils Installation Dependencies........................................................................................225
Ncurses.................................................................................................................................................225
Official Download Location...................................................................................................225
Contents of Ncurses................................................................................................................225
Ncurses Installation Dependencies.........................................................................................227
Netkitbase..........................................................................................................................................227
Official Download Location...................................................................................................227
Contents of Netkitbase.........................................................................................................227
Netkitbase Installation Dependencies...................................................................................227
Nettools..............................................................................................................................................228
Official Download Location...................................................................................................228
Contents of Nettools.............................................................................................................228Nettools Installation Dependencies......................................................................................229
Patch.....................................................................................................................................................229
Official Download Location...................................................................................................229
Contents of Patch....................................................................................................................229
Patch Installation Dependencies.............................................................................................230
Perl.......................................................................................................................................................230
Official Download Location...................................................................................................230
Contents of Perl......................................................................................................................230
Perl Installation Dependencies................................................................................................234
Procinfo................................................................................................................................................234
Official Download Location...................................................................................................234Contents of Procinfo...............................................................................................................234
Procinfo Installation Dependencies........................................................................................234
Procps...................................................................................................................................................235
Official Download Location...................................................................................................235
Contents of Procps..................................................................................................................235
Procps Installation Dependencies...........................................................................................236
Psmisc..................................................................................................................................................236
Official Download Location...................................................................................................236
Contents of Psmisc..................................................................................................................236
Psmisc Installation Dependencies...........................................................................................237
Sed.......................................................................................................................................................237Official Download Location...................................................................................................237
Contents of Sed.......................................................................................................................237
Sed Installation Dependencies........... .....................................................................................238
Shadow.................................................................................................................................................238
Official Download Location...................................................................................................238
Contents of Shadow................................................................................................................238
Shadow Installation Dependencies.................................................................................