Kernel 3.5 Released – Install/Compile in Redhat, CentOS and Fedora
On July 21, 2012, Linux Torvalds and his fellow developers released Linux Kernel 3.5 and made available for download after two months of hard work. The new updated kernel version comes with much new supported modules you can read all the features at http://kernelnewbies.org/Linux_3.5.
We have practically tested the latest released kernel by installing one of our testing server called CentOS 6.3 and works successfully. So, here in this article we will explain you all how to install and compile the latest Linux Kernel 3.5 in RHEL 6.3/6.2/6.1/6.0, CentOS 6.3/6.2/6.1/6/6.0 and Fedora 17,16,15 using source file.
Kernel 3.5 Dependencies
Installing or Compiling Kernel 3.5 requires following various required packages and up-to-date system packages.
- Latest GCC version
- Latest Ncurses development version
- System packages Up-to-Date
Installing Kernel 3.5 Source in Redhat, CentOS and Fedora
To install Kernel 3.5 you must install all the required dependency packages and keep your system packages up-to-date. To do this just follow all the below commands as root user.
Step 1: Installing Kernel 3.5 Dependencies
Let’s first install dependencies packages gcc, ncurses and then update the system.
# yum install gcc ncurses ncurses-devel # yum update
Step 2: Downloading Kernel 3.5 Source
Download the latest Kernel 3.5 using wget command under /tmp directory. You can also download the latest kernel by going to http://www.kernel.org/.
# cd /tmp # wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.5.tar.bz2
Step 3: Extracting Kernel 3.5 Source
Once the file is downloaded extract it under /usr/src/ directory by running the below command.
# tar -jxvf linux-3.5.tar.bz2 -C /usr/src/ # cd /usr/src/linux-3.5/
Step 4: Configuring Kernel 3.5 Source
For New Kernel Configuration
Now run the make menuconfig command to configure the Linux kernel. Once you execute the below command a pop up window appears with all the menus. Here you can select your new kernel configuration. If you unfamiliar with these menus, just hit ESC key to exit.
# make menuconfig
You will get similar to below screen, where you see number of menus to select configuration for your latest kernel.
For Old Kernel Configuration
If you like to configure your latest kernel with old configuration then simple type the below command.
# make oldconfig
Step 5: Compiling Kernel 3.5
Next, type the make command to compile the Kernel 3.5. The compilation would take at least 30-40 minutes depends on your system configuration.
Step 5: Installing Kernel 3.5
Once the compliation completes cleanly, now install the Kernel 3.5 in your Linux system. The below command will create files under /boot directory and also make a new kernel entry in your grub.conf file.
# make modules_install install
Step 6: Verifying Kernel 3.5
To verify newly installed Kernel just type the following command on the terminal.
# uname -r
That’s it. We hope this article will be much helpful to you all. If you’re facing any problems or difficulties while compiling or installing feel free to ask or post your questions using our comment form below.