Here’s a little script that will identify your system and install the correct version of Linux Kernel 3.6.0 for you.
If you want to upgrade to the latest version of Linux Kernel (3.6), follow this short tip and update your system. This script was tested in Ubuntu 12.04 and 12.10 and it worked flawlessly.
Objectives:
- Install / Upgrade to Linux Kernel 3.6.0 in Ubuntu 12.04 / 12.10
- Enjoy!
To get started, press Ctrl – Alt – T on your keyboard to open the terminal. When it opens, run the commands below to create the script.
gedit /tmp/linux-kernel-3.6
Next, copy and paste this script into the file and save it.
#!/bin/bash#### Script Created By SociallyUncensored.eu #####i386 linkslink1="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-headers-3.6.0-030600_3.6.0-030600.201209302035_all.deb"link2="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-headers-3.6.0-030600-generic_3.6.0-030600.201209302035_i386.deb"link3="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-image-3.6.0-030600-generic_3.6.0-030600.201209302035_i386.deb"link4="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-image-extra-3.6.0-030600-generic_3.6.0-030600.201209302035_i386.deb"#amd64 linksurl1="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-headers-3.6.0-030600-generic_3.6.0-030600.201209302035_amd64.deb"url2="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-image-3.6.0-030600-generic_3.6.0-030600.201209302035_amd64.deb"url3="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-quantal/linux-image-extra-3.6.0-030600-generic_3.6.0-030600.201209302035_amd64.deb"#System architecturearch=`uname -m`if [ $arch = i686 ] || [ $arch = i386 ]; thenmkdir $HOME/kernel3.6-i386sudo rm -rf $HOME/kernel3.6-i386/*cd $HOME/kernel3.6-i386wget $link1wget $link2wget $link3wget $link4sudo dpkg -i *.debsudo rm -rf $HOME/kernel3.6-i386elif [ $arch = "x86_64" ]; thenmkdir $HOME/kernel3.6-amd64sudo rm -rf $HOME/kernel3.6-amd64/*cd $HOME/kernel3.6-amd64wget $link1wget $url1wget $url2wget $url3sudo dpkg -i *.debsudo rm -rf $HOME/kernel3.6-amd64elseecho "Unsupported Architecture"fi
After saving the file, run the commands below to make the file executable.
chmod +x /tmp/linux-kernel-3.6
Finally, run the commands below to install / upgrade your kernel to version 3.6
sudo sh -c '/tmp/linux-kernel-3.6'
After installing, you must restart your computer.
Enjoy!
The original script can be found here.