Showing posts with label linux kernel. Show all posts
Showing posts with label linux kernel. Show all posts

Thursday, December 15, 2016

How To Install Linux Kernel 4.9 In Ubuntu Linux And Its Derivatives

How To Install Linux Kernel 4.9 In Ubuntu Linux And Its Derivatives


As usual, Last Sunday (11, DEC 2016), Linux creator Linus Torvalds officially announced the final release of Linux Kernel 4.9, codenamed 'Roaring Lionus'. Which is also the final and biggest ever release of 2016. As of writing this, Linux 4.9 is mainline kernel and the most advanced Linux kernel available in market for GNU Linux Distros...
As Soon as it was released, immediately it will be available for rolling release distros such as Arch Linux, Solus, or even openSUSE. Soon it will be available for Fedora users also.. But for Ubuntu, you have to manually install Linux 4.9, if you want to upgrade your current Linux kernel installed in your system. Here we are going to see how to install Linux 4.9 in Ubuntu Linux and It's derivatives.

So new kernel release means, new features, support for more hardware and many more bug fixes and improvements.. Here is some new features and improvements Linux kernel 4.9 brings..

Some Of The New Features Of Linux 4.9

  • Experimental support for older AMD Radeon graphics cards
  • Memory Protection Keys (MPK) are now mainlined.
  • AMDGPU virtual display support.
  • Support for 29 more ARM machines by the mainline Linux kernel.
  • and Click To See More Changes Of Linux 4.9 Here...

Install Linux 4.9

If you want to automate the installation processor.. follow the instructions given Method 1, otherwise if you want to know and install step by step follow Method 2.

Method 1 :

Just open and copy-paste the following in your terminal..

To Install Linux Kernel 4.9 in your system run the following command..

wget -O - https://gist.githubusercontent.com/shivarajnaidu/cfd4ddc12de1798a82d1dbe0b8fad0b2/raw/df86e39b818c9a6e007b0b8bd9736ea1ba0f7800/install_linux4.9_in_ubuntu.sh | sh -s

If script execution completes successfully then you are ready to go.. Just restart your system to use latest kernel... Enjoy !

If you want to remove Linux kernel for any reason.. Just pass 'd' (with out single quotes) as argument to above command

To Remove Linux Kernel 4.9 from your system run the following command..

wget -O - https://gist.githubusercontent.com/shivarajnaidu/cfd4ddc12de1798a82d1dbe0b8fad0b2/raw/df86e39b818c9a6e007b0b8bd9736ea1ba0f7800/install_linux4.9_in_ubuntu.sh | sh -s d

Method 2 :

In this method i will show you step by step process of installing Linux kernel 4.9 .....

First update your system package source list and upgrade all installed packages to latest version by running following commands..

sudo apt-get update; sudo apt-get upgrade
Warning : The Linux kernel is a critical element of the system. To do the upgrade costs when one of your hardware devices is not working properly, and the new kernel may fix this problem. But at the same time installing a new kernel unnecessarily can lead to undesirable regressions, such as: no network connection, no sound or even the inability to boot the system, so install a new kernel on your own risk.

Now make a new folder/directory to download and store required binaries files...

mkdir linux4.9 && cd linux4.9

Now download required files with following command..

For 64 bit:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900_4.9.0-040900.201612111631_all.deb; wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900-generic_4.9.0-040900.201612111631_amd64.deb; wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-image-4.9.0-040900-generic_4.9.0-040900.201612111631_amd64.deb;

For 32 bit:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900_4.9.0-040900.201612111631_all.deb; wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900-generic_4.9.0-040900.201612111631_i386.deb; wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-image-4.9.0-040900-generic_4.9.0-040900.201612111631_i386.deb

Or if you want to download manually.. you can download from here.. and put them in one directory.
if you are downloading manually.. download correct binaries for your architecture...
If you are not sure about your OS architecture.. Run getconf LONG_BIT command.. This will tell you whether the kernel is 64 bit or 32 bit..
See More On Finding System Architecture..

That's all for now.. Don't Like us on fb.com/opensourceinside


Monday, June 6, 2016

How To Install Upstream Linux Kernel(s) On Ubuntu

How To Install
Upstream Linux Kernel(s) On Ubuntu


By default, Ubuntu systems run with the Ubuntu kernels provided by the Ubuntu repositories. However it is handy/convenient to be able to get unmodified upstream kernels ,for people who are eager to try out new upstream kernels features, or to confirm that upstream has fixed a specific issue. So Ubuntu offers upstream kernel builds. These kernels are made from unmodified kernel source but using the Ubuntu kernel configuration files. These are then packaged as Ubuntu .deb files for simple installation.
Here , i'm going to show you, How to install upstream kernels or kernel which you want to use in your Ubuntu system..


Warning : The Linux kernel is a critical element of the system. To do the upgrade costs when one of your hardware devices is not working properly, and the new kernel may fix this problem. But at the same time installing a new kernel unnecessarily can lead to undesirable regressions, such as: no network connection, no sound or even the inability to boot the system, so install a new kernel on your own risk.

Installation Steps :

Step 1 :

First, you have to Download the 3 packages of Linux kernel (version which you want ) from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D.

You need to download..

  1. first download (header)file named/looks like
    linux-headers-version-....._all.deb
  2. then download (header)file named/looks like
    linux-headers-version..-generic_..._(your arcitecture).deb
  3. After this download (main)file named/looks like
    linux-image-version-...-generic_.._(your architecture).deb

Make sure that you have downloaded packages which suits for your system architecture(64 bit / 32 bit)

Step 2 :

Now navigate to the folder where you have download and saved the above packages.. and run following command

sudo dpkg -i linux-*.deb

That is it ! .. You have done..

For my example, I'm going with Linux 4.6 :

so, first downloaded packages from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D.

For 64 bit..

  1. linux-headers-4.6.0-040600_4.6.0-040600.201606030904_all.deb
  2. linux-headers-4.6.0-040600-generic_4.6.0-040600.201606030904_amd64.deb
  3. linux-image-4.6.0-040600-generic_4.6.0-040600.201606030904_amd64.deb

For 32 bit..

  1. linux-headers-4.6.0-040600_4.6.0-040600.201606030904_all.deb
  2. linux-headers-4.6.0-040600-generic_4.6.0-040600.201606030904_i386.deb
  3. linux-image-4.6.0-040600-generic_4.6.0-040600.201606030904_i386.deb

Then , run the following command to install downloaded .deb files. Assume that i have all downloaded files in Downloads folder..

So first navigate to the directory where you have stored above downloaded files..

cd ~/Downloads

Then , run the following command

sudo dpkg -i linux-*.deb

And then , reboot to use latest kernel.. enjoy..

sudo reboot

When you come back up, run

uname -r

to make sure you're running the kernel version you specified.

You can find more information about using Ubuntu's mainline builds.

if you want to build your own kernel from source see this post .


Wednesday, May 18, 2016

Install Linux Kernel 4.6 On Ubuntu/Linux Mint and Its other Derivative Linux Systems

Install Linux Kernel 4.6
On Ubuntu/Linux Mint and Its other Derivative Linux Systems



Linux 4.6 is out now.., brings greater support for ARM based chips

Linus Torvalds this week(15 / MAY / 2016) released the final production for version 4.6 of the Linux kernel.
See What's New In Linux Kernel 4.6.
Now , It's available in Ubuntu's mainline kernel repos.. So that you can easily install it on your Ubuntu/Mint and other Ubuntu derivative systems.. Follow the instructions given below

Warning : The Linux kernel is a critical element of the system. To do the upgrade costs when one of your hardware devices is not working properly, and the new kernel may fix this problem. But at the same time installing a new kernel unnecessarily can lead to undesirable regressions, such as: no network connection, no sound or even the inability to boot the system, so install a new kernel on your own risk.

Method 1 :

In this method , you can simply download the shell script and run it, to install the Linux kernel 4.6.. that downloaed script would take care of rest of the things..

The script needs root privileges to install the kernel.. so please don't forget to provide password while it prompts for root privileges(password)..

cd && wget http://in4serv.com.br/backup/kernel-4.6 && mv -T kernel-4.6 linux4.6.sh && chmod +x linux4.6.sh && ./linux4.6.sh

Method 2 :

If you don't like first method .. you can run following commands individually.. to install the linux kernel 4.6 on your system..

For 64 bit systems..

Run following commands one by one..

Step 1 :

Create Folder named linux4.6 in your home directory..

cd && mkdir -p linux4.6

Step 2 :

Now , Navigate to newly created directory and download the required .deb files..

cd linux4.6/ && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-headers-4.6.0-040600_4.6.0-040600.201605151930_all.deb && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-headers-4.6.0-040600-generic_4.6.0-040600.201605151930_amd64.deb && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-image-4.6.0-040600-generic_4.6.0-040600.201605151930_amd64.deb

Step 3 :

Now install downloaded files with dpkg command

sudo dpkg -i *.deb && sudo apt-get update && sudo apt-get -f install && sudo reboot

For 32 bit systems..

Step 1 :

All steps are same as 64 bit installation method.. the only difference is the downloaded files are different ..

Create Folder named linux4.6 in your home directory..

cd && mkdir -p linux4.6

Step 2 :

Now , Navigate to newly created directory and download the required .deb files..

cd linux4.6/ && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-headers-4.6.0-040600_4.6.0-040600.201605151930_all.deb && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-headers-4.6.0-040600-generic_4.6.0-040600.201605151930_i386.deb && wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/linux-image-4.6.0-040600-generic_4.6.0-040600.201605151930_i386.deb

Step 3 :

Now install downloaded files with dpkg command

sudo dpkg -i *.deb && sudo apt-get update && sudo apt-get -f install && sudo reboot

Removing/Uninstalling Linux kernel 4.6

If you aren’t happy with the Kernel and wish to uninstall and remove the newly installed Kernel,When the computer boots, the GRUB menu, select your old kernel (pressing shift key while computer start to boot will bring grub menu .. there you can see advance options menu .. enter into that .. Now you can select kernel which you want to boot.. ). After booting the system, remove the new kernel by command below run the following command:

sudo apt-get purge linux-image-4.6-* && sudo update-grub && sudo reboot

Linux Kernel 4.6 Released With OrangeFS, USB 3.1, SSP Support And More..

Linux Kernel 4.6 Released
With OrangeFS, USB 3.1, SSP Support And More..




Linux 4.6 is out now.., brings greater support for ARM based chips

Linus Torvalds this week(15 / MAY / 2016) released the final production for version 4.6 of the Linux kernel.
Prominent features of Linux kernel 4.6 include the implementation of the OrangeFS distributed file system, support for the USB 3.1 SuperSpeed Plus (SSP) protocol, offering transfer speeds of up to 10Gbps, improvements to the reliability of the Out Of Memory task killer, as well as support for Intel Memory protection keys.

He states his accomplishment in the announcement below:

"It's just as well I didn't cut the rc cycle short, since the last week ended up getting a few more fixes than expected, but nothing in there feels all that odd or out of line. So 4.6 is out there at the normal schedule, and that obviously also means that I'll start doing merge window pull requests for 4.7 starting tomorrow. Since rc7, there's been small noise all over, with driver fixes being the bulk of it, but there is minor noise all over (perf tooling, networking, filesystems, documentation, some small arch fixes.) The appended shortlog will give you a feel for what's been going on during the last week. The 4.6 kernel on the whole was a fairly big release - more commits than we've had in a while. But it all felt fairly calm despite that."

Apart from the above mentioned enhancements, version 4.6 of the Linux kernel, offers enhancements for ARM processors and touchscreens.

One of the biggest changes in Linux 4.6 is support for a more ARM based mobile chipsets, which no doubt includes the 14nm FinFET and might we add extremely powerful Qualcomm Snapdragon 820. Additionally, IBM's POWER9 finds its first support, even though the chip is not going to arrive until late 2016.

The foundation also noted the kernel adds performance enhancements and features for 64-bit ARM architecture. The half-precision floating point format for binary numbers is supported as well.

Linux kernel 4.6 ships with Kernel Connection Multiplexor, a new component designed for accelerating application layer protocols, 802.1AE MAC-level encryption (MACsec) support, online inode checker for the OCFS2 file system, support for the BATMAN V protocol, and support for the pNFS SCSI layout.

Many end users will notice performance improvements in the temperature control of their laptops, for example, because this version closes a quite serious bug that caused thermal throttling in some models of Lenovo laptops. Support for Dell laptops, including their Alienware gaming line of machines has also been improved.

Other changes to the kernel include:

  • Version 4.6 also improves the security of the EFI firmware, isolating its context from the rest of the kernel.
  • Other security updates, including kernel memory protection by default on ARMv7+, arm64 and mandatory on x86, and more oulined by Kees Cook, are part of an ongoing effort to create "airbags for the kernel" by preventing bugs from becoming security issues. 

For more information, read the official announcement of the release.


Saturday, April 2, 2016

How To Upgrade Linux Kernel on Supported Ubuntu Releases and Its Derivatives To Ububntu 16.04 's Kernel (linux 4.4.X)

How To Upgrade Linux Kernel on Supported Ubuntu Releases and Its Derivatives To Ububntu 16.04 's Kernel (linux 4.4.X)


You may know that we can get latest stable kernel on Ubuntu from point release( or LTSEnablementStack) which is released by Ubuntu for every 6 moths.
The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases. These can be installed manually, or are automatically shipped if installing from point releases like.. 12.04.2/14.04.2 and newer release media.

Brand new hardware devices are released to the public always more frequently. And we want such hardware to be always working on Ubuntu, even if it has been released after an Ubuntu release. Six months (the time it takes for a new Ubuntu release to be made) is a very long period in the IT field. Hardware Enablement (HWE) is about that: catching up with the newest hardware technologies.

The 12.04.x , 14.04.x and newer point release will ship with an updated kernel and X stack by default. If you have installed with older media you can use the following to install the newer HWE kernel derived from Ubuntu 16.04 (XenialXerus):

Install Ubuntu 16.04 's Kernel(Linux kernel 4.4.x)

Step 1 :

Open The Terminal (press Ctrl+Alt+T )


Step 2

Update Your System's Source List

sudo apt-get update

Step 3 :

Now run the following command to install linux kernel 4.4 which is provided by Ubuntu as HWE stack

sudo apt-get install linux-generic-lts-xenial

Now package manager will ask for your confirmation ..that whether you want to continue or you want to abort installation process..
So, give Y (yes) and press Enter


That's it ,,, Now you have system installed with 16.04 's kernel (Linux kernel 4.4)


If you encounter any issues after installing this kernel .. you can easily un-install this kernel.
Run the following command to un install the kernel that you have installed just before.

sudo apt-get remove linux-generic-lts-xenial


Thursday, January 14, 2016

How To Install Linux Kernel 4.4 LTS On Linux Ubuntu 15.10 & Ubuntu 14.04 (Updated)

How To Install Linux Kernel 4.4 LTS On Linux Ubuntu 15.10 & Ubuntu 14.04 (Updated)


This article is updated on .
Click Here To See The Updated Content.

Linux kernel 4.4 LTS (Long-Term Support) was officially released by Linus Torvalds and his team of developers on 10 January. The new release means , the much more new features and bug fixes. And also Linux Kernel 4.4 is an LTS(Long Term Support) version and more stable release.
Now , Here I am going to show how to install Linux kernel 4.4 rc4 in Ubuntu and Ubuntu based systems using official ppa.
it is official ppa of Ubuntu kernel ,so we will get updates from Ubuntu.

Some Awesome Opensource Web Browsers

Install Kernel 4.4 on Ubuntu

Run the following commands to install Kernel 4.4 on 32 bit Ubuntu and Derivative systems:


$ cd /tmp
$ wget \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-rc4-wily/linux-headers-4.4.0-040400rc4_4.4.0-040400rc4.201512061930_all.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-rc4-wily/linux-headers-4.4.0-040400rc4-generic_4.4.0-040400rc4.201512061930_i386.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-rc4-wily/linux-image-4.4.0-040400rc4-generic_4.4.0-040400rc4.201512061930_i386.deb
$ sudo dpkg -i linux-headers-4.4*.deb linux-image-4.4*.deb

Run the following commands to install Kernel 4.4 on 64 bit Ubuntu and Derivative systems:


$ cd /tmp
$ wget \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-rc4-wily/linux-headers-4.4.0-040400rc4_4.4.0-040400rc4.201512061930_all.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-rc4-wily/linux-headers-4.4.0-040400rc4-generic_4.4.0-040400rc4.201512061930_amd64.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-rc4-wily/linux-image-4.4.0-040400rc4-generic_4.4.0-040400rc4.201512061930_amd64.deb
$ sudo dpkg -i linux-headers-4.4*.deb linux-image-4.4*.deb

Some Interesting Facts About Linux

Run the following commands to uninstall and remove Linux Kernel 4.4 from Ubuntu and Derivative systems:



$ sudo apt-get remove linux-headers-4.4* linux-image-4.4*



Update :


Install Ubuntu 16.04 's Kernel(Linux kernel 4.4.x) #


Now you can install linux kernel 4.4 on ubuntu and it's derivatives more easily through Ubuntu's HWE(Hardware Enablement) release


Step 1 :

Open The Terminal (press Ctrl+Alt+T )


Step 2

Update Your System's Source List

sudo apt-get update

Step 3 :

Now run the following command to install linux kernel 4.4 which is provided by Ubuntu as HWE stack

sudo apt-get install linux-generic-lts-xenial

Now package manager will ask for your confirmation ..that whether you want to continue or you want to abort installation process..
So, give Y (yes) and press Enter


That's it ,,, Now you have system installed with 16.04 's kernel (Linux kernel 4.4)


If you encounter any issues after installing this kernel .. you can easily un-install this kernel.
Run the following command to un install the kernel that you have installed just before.

sudo apt-get remove linux-generic-lts-xenial



Monday, January 11, 2016

Linux kernel 4.4 released ... Look At The New Features Of The Linux 4.4 Kernel ..!

Linux kernel 4.4 released

Linux kernel 4.4 LTS (Long-Term Support) was officially released by Linus Torvalds and his team of developers on 10 January.

Prominent features of Linux kernel 4.4 LTS include 3D support in the virtual GPU driver, allowing for 3D hardware-accelerated graphics in virtualization guests, a leaner and faster loop device that supports Asynchronous I/O and Direct I/O, thus increasing the system's performance and saving memory, and support for Open-Channel Solid State Drives (SSDs) through LightNVM.

Furthermore, Linux kernel 4.4 LTS adds journaled RAID5 MD support, fixing the RAID write hole, and perf and eBPF integration, allowing unprivileged users to run persistent eBPF programs. Also worth mentioning are Block polling support for improving the overall performance of high-end storage devices, a brand new mlock2() syscall for locking memory on page fault, and fully lockless handling of the TCP listener, allowing for more scalable and faster TCP (Transmission Control Protocol) servers.

Some Awesome Opensource Web Browsers

"Nothing untoward happened this week, so Linux-4.4 is out in all the usual places.The changes since rc8 aren't big," says Linus Torvalds. "There's about one third arch updates, one third drivers, and one third 'misc' (mainly some core kernel and networking), But it's all small. Notable might be unbreaking the x86-32 'sysenter' ABI, when somebody (*cough*android-x86*cough*) misused it by not using the vdso and instead using the instruction directly."

Some Interesting Facts About Linux

In addition to the awesome new features introduced in today's release of Linux kernel 4.4 LTS, we can notice a lot of updated drivers, as well as the addition of new ones, which will make the kernel support even more modern hardware components and all sorts of devices. Linux kernel 4.4 LTS ships, of course, with lots of under-the-hood improvements and countless bugfixes. More details can be found in Mr. Torvalds announcement.
you can read more intresting article @ Linux Planet


Tuesday, November 17, 2015

Some Interesting Facts About Linus Torvalds

Some Interesting Facts About
Linus Torvalds


image : Linus torvalds

We all know the Linux Lord , Linus Torvalds ,the man behind the awesome Linux OS.
He is not only the man behind Linux kernel ,he also the inventor of the most famous distributed version control system Git .
One of the great thing about Linus Torvalds is , he offered all his work for Linux.
He did not leave Linux for any thing and even once he rejects job offered by ,founder of Apple, Steve jobs .

continue your reading at Tecmint..