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,