lfs linux

2013-02-03

Linux From Scratch (LFS) is a project that provides you with step-by-step instructions for building your own custom Linux system, entirely from source code.

1、在制作Linux发行版中Linux from Scratch可谓是真正的大师级。

2、How to Build an LFS System
https://www.linuxfromscratch.org/lfs/view/12.1/chapter01/how.html
3、# Simple script to list version numbers of critical development tools

#!/bin/bash

bash --version | head -n1 | cut -d" " -f2-4

echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-

bison --version | head -n1

bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6-

echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2

diff --version | head -n1 find --version | head -n1

gawk --version | head -n1

gcc --version | head -n1

$(find /lib{,64} -name libc.so.6) | head -n1 | cut -d" " -f1-7

grep --version | head -n1

gzip --version | head -n1

uname -s -r

make --version | head -n1 tic -V

patch --version | head -n1

sed --version | head -n1

tar --version | head -n1

which --version | head -n1

openssl version

file --version | head -n1

busybox | head -n1

netstat -V| head -n1

makeinfo --version | head -n1

 

3、https://www.linuxfromscratch.org/

分类:Linux操作系统 | 标签: |

相关日志

评论被关闭!