wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.9.3.tar.gz
linux
tar -xzf linux-3.9.3.tar.gz
cd linux-3.9.3
make menuconfig
這個時候會出現
ui
*** Unable to find the ncurses libraries or the
es5
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
你須要安裝開發包libncurses5-dev,請執行下面的語句:
code
sudo apt-get install libncurses5-dev
開發
get
make
make modules
make modules_install
make install