Linux中国
LFS 8.1

简介
Linux From Scratch,简称 LFS,不同于其它的 Linux 发行版,它是一种给使用者指导建议,由使用者自行从头开始自己构建的发行版。LFS 发行版及其衍生版本,都由其同名的手册提供了完整的指导建议。
《Linux From Scratch》(LFS)是由 Gerard Beekmans 等人编写的。这本书可以从在Linux From Scratch网站上免费下载到,当前最新的版本为 8.1。
尽管目标是安装一个与现有发行版毫无关系的系统,安装LFS仍然不能无中生有,而必须要有一个可以编译软件包的运行中的Linux系统。这个系统一般称为宿主系统。在宿主操作系统上安装LFS,需要的基本步骤如下:
- 准备新分区(第二章)
- 软件包与补丁(第三章)
- 最后的准备(第四章)
- 构建临时文件系统(第五章)
- 安装基本的系统软件(第六章)
- 基本系统配置(第七章)
- 让 LFS 系统可引导(第八章)
LFS 的官方网站是: http://www.linuxfromscratch.org/
相关项目
该项目有很多相关子项目:
Beyond Linux From Scratch(BLFS)
标准LFS仅仅安装了足够让系统启动的基本软件,以及使新系统能够编译新软件包的开发工具。BLFS包括了更多的软件包,且都有相应指导。
Crosss Linux From Scratch(CLFS)
为需要进行交叉编译(即在一个平台上编译另一个平台的代码)的用户提供指导,正式版本为1.0,另有两个变种
- CLFS Sysroot 采用Sysroot的方法来进行编译,好处是软件包的编译次数可以减少,坏处是不能支持在编译后对软件进行测试,必须要启动到目标平台上才能测试。
- CLFS Embedded 一般用于极小系统以及嵌入式系统。为此,它使用[uclibc](https://zh.wikipedia.org/w/index.php?title=Uclibc&action=edit&redlink=1 "Uclibc(页面不存在)")而不是一般LFS使用的[glibc](https://zh.wikipedia.org/wiki/Glibc "Glibc")。
Automated Linux From Scratch(ALFS)
标准LFS只是一本书,用户需要根据书上的指引下载软件包并手动输入指令进行编译。ALFS子项目提供了把这一切自动化的脚本。
Hardened Linux From Scratch(HLFS)
这个子项目致力于打造在安全性上无懈可击的Linux系统。
当前版本
LFS 的当前版本是 8.1,分为采用 systemd 的版本和不采用的版本。
手册
Systemd 版本:
- 在线版本: http://www.linuxfromscratch.org/lfs/view/stable-systemd/
- PDF : http://www.linuxfromscratch.org/lfs/downloads/stable-systemd/LFS-BOOK-8.1-systemd.pdf
- 单一 HTML :http://www.linuxfromscratch.org/lfs/downloads/stable-systemd/LFS-BOOK-8.1-systemd-NOCHUNKS.html
- HTML 目录打包 : http://www.linuxfromscratch.org/lfs/downloads/stable-systemd/LFS-BOOK-8.1-systemd.tar.bz2
Systemd 版本(简体中文翻译版本):
LCTT 对 LFS 7.1 systemd 版本进行了翻译,并且 LFS 官方网站收录了相应链接:
- 在线版本: https://linux.cn/lfs/LFS-BOOK-7.7-systemd/index.html
- PDF : https://img.linux.net.cn/lfs/LFS-BOOK-7.7-systemd.pdf
- CHM : https://img.linux.net.cn/lfs/LFS-BOOK-7.7-systemd.chm
- GitHub 翻译仓库 : https://github.com/LCTT/LFS-BOOK-7.7-systemd (欢迎提出修正错误的 PR 和 issues,也可以打包下载所有的 html。)
非 Systemd 版本:
- 在线版本: http://www.linuxfromscratch.org/lfs/view/stable/
- PDF : http://www.linuxfromscratch.org/lfs/downloads/stable/LFS-BOOK-8.1.pdf
- 单一 HTML : http://www.linuxfromscratch.org/lfs/downloads/stable/LFS-BOOK-8.1-NOCHUNKS.html
- HTML 目录打包 : http://www.linuxfromscratch.org/lfs/downloads/stable/LFS-BOOK-8.1.tar.bz2
注:部分资料来自维基百科。
本文转载来自 Linux 中国: https://github.com/Linux-CN/archive
对这篇文章感觉如何?
太棒了
0
不错
0
爱死了
0
不太好
0
感觉很糟
0
5 Comments
Leave a reply
More in:Linux中国
如何通过 VLC 使用字幕
使用 VLC 媒体播放器播放和管理字幕的新手指南。
Unix 桌面:在 Linux 问世之前
仅仅开源还不足以实现开放,还需开放标准和建立共识。
Valve 对于 Ubuntu 的 Snap 版本的 Steam 并不满意:原因何在
你可能会发现,Snap 版本的 Steam 并不如你期待的那样好,你怎么看?
Wine 9.0 发布,实验性地加入了 Wayland 驱动
Wine 的这个新版本正在为未来做好准备!
350fairfax nordvpn coupons
Thanks , I’ve just been looking for information about this topic for a long time and yours is the greatest I’ve came upon till now.
However, what in regards to the bottom line? Are you positive
in regards to the supply?
Admiring the persistence you put into your
blog and detailed information you offer. It’s awesome
to come across a blog every once in a while that isn’t the
same outdated rehashed information. Fantastic read!
I’ve bookmarked your site and I’m including your RSS feeds to my
Google account.
Here is my site nordvpn coupons inspiresensation
Awesome blog you have here but I was curious about if you knew
of any forums that cover the same topics discussed here?
I’d really like to be a part of group where I can get comments from other knowledgeable people that share
the same interest. If you have any recommendations, please let me know.
Many thanks!
My website: nordvpn coupons inspiresensation (t.co)
It’s awesome in favor of me to have a web site, which is valuable for my know-how.
thanks admin
Also visit my web-site nordvpn coupons inspiresensation
Hello there! I know this is kinda off topic but I was wondering which blog
platform are you using for this website? I’m getting sick and tired of WordPress because I’ve had problems with
hackers and I’m looking at options for another platform.
I would be awesome if you could point me in the direction of a good platform.
Also visit my webpage: nordvpn coupons inspiresensation; tinyurl.com,