This article assumes that you have a certain understanding of the Linux system, have a certain degree of computer knowledge, the article mentioned is a simplified step to the ROOT user sudo-s installation and compilation software GCC library sudoapt-getinstallbuild-essentialbin86kernel-packagelibqt3-headerslibqt3-mt-devwgetlibncurses5libncurses5-dev into the downloaded kernel unzip
This document assumes that you have a certain understanding of the Linux system and have a certain degree of computer knowledge, and describes how to convert the simplified steps to the ROOT user.
Sudo-s
Install and compile the GCC Library
Sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget libncurses5 libncurses5-dev
Go to the downloaded kernel unzip download: http://www.kernel.org/
Cd
Kernel configuration
Make menuconfig
The second includes the second compilation.
Make-kpkg clean
Custom name (lower case, number)
Sudo make-kpkg-initrd -- append-to-version = custom name kernel_image kernel-headers
Then wait for a long time, and the computer will be faster (I spent 30 minutes)
There are two DEB packages in the directory.
The Linux-headers developer is useful.
Let alone another one.
Double-click the installation command.
Sudo dpkg-I Linux-image-package name
View my results
Dpkg-shlibdeps: warning: dependency on libncurses. so.5 cocould be avoided if '/home/heray/Downloads/Linux-2.6.33/debian/Linux-headers-2.6.33inspiron1464/usr/src/Linux-headers-2.6.33inspiron1464/scripts/kconfig/conf' were not uselessly linked against it (they use none of its symbols ).
Test! -E debian/control ~ | Rm-f debian/control ~
Dpkg-gencontrol-isp-DArchitecture = amd64- pLinux-headers-2.6.33inspiron1464 \
-P/home/heray/Downloads/Linux-2.6.33/debian/Linux-headers-2.6.33inspiron1464/
Create_md5sums_fn () {cd $1; find.-type f! -Regex './DEBIAN /.*'! -Regex '. /var /. * '-printf' % P \ 0' | xargs-r0 md5sum> DEBIAN/md5sums; if [-z "DEBIAN/md5sums"]; then rm-f "DEBIAN/md5sums"; fi ;}; create_md5sums_fn/home/heray/Downloads/Linux-2.6.33/debian/Linux-headers-2.6.33inspiron1464
Chown-R root: root/home/heray/Downloads/Linux-2.6.33/debian/Linux-headers-2.6.33inspiron1464
Chmod-R og = rX/home/heray/Downloads/Linux-2.6.33/debian/Linux-headers-2.6.33inspiron1464
Dpkg-build/home/heray/Downloads/Linux-2.6.33/debian/Linux-headers-2.6.33inspiron1464 ..
Dpkg-deb: building package 'linux-headers-2.6.33inspiron1464 'in' ../Linux-headers-2.6.33inspiron1464_2.6.33inspiron1464-10.00.Custom_amd64.deb '.
Cp-pf debian/control. dist debian/control
Make [2]: Leaving directory '/home/heray/Downloads/Linux-2.6.33 ′
Make [1]: Leaving directory '/home/heray/Downloads/Linux-2.6.33 ′
Root @ heray-laptop:/home/heray/Downloads/Linux-2.6.33 #