轉到內容

Linux 核心/更新

75% developed
摘自華夏公益教科書


大部分 Linux 系統發行版都會自動將核心更新為建議的已測試版本。如果您想要自行研究原始碼副本、編譯並執行,則可以手動進行。

下面是簡短而快速的入門說明

git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git 
cd linux
cp /boot/config-$(uname -r) .config  # reuse current working config
make olddefconfig # configure using current config and default options
make
sudo make modules_install install


其他用於配置的 make 目標

  • menuconfig
    • 需要 libncurses5-dev
  • gconfig
    • 需要 libglade2-dev
  • xconfig
    • 需要 libqt4-dev


📚 參考


💾 歷史記錄

華夏公益教科書