Kernel decompression and installation-General Linux technology-Linux programming and kernel information. The following is a detailed description. For more information, see.
The kernel source code is stored in the/usr/src/kernels Directory. if the kernel is upgraded online, it is also stored in this directory;
If no content exists in/usr/src/kernels/in your system, it means that you have not installed the kernel source package kernel-devel package.
If you install the kernel source code package online, such as through apt + synaptic or yum, the kernel source code will be placed in the directory under/usr/src/kernel, you need to enter the corresponding directory for compilation;
If you are downloading the rpm Package of kernel and kernel-devel, you can install it through;
[Root @ panda] # rpm-ivh kernel *. rpm
If you are downloading a linux-2.6.13.tar.bz2 or linux-2.6.13.tar.gz similar to kernel.org, move the downloaded file to the/usr/src directory to decompress it; then go to the decompressed directory for configuration and compilation;
[Root @ panda] # music linux-2.6.13.tar.bz2
[Root @ panda] # cd/usr/src/
[Root @ panda src] # tar xvjpf linux-2.6.12.3.tar.bz2
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service