ubuntu16.04 method steps to upgrade the kernel

1. Environment

Ubuntu16.04 running on a virtual machine, use the command uname -r to view the current system kernel version

The current version is 4.15.0-45-generic

The kernel to be upgraded is 4.20.2

2. Prepare the required materials

Go to the website https://kernel.ubuntu.com/~kernel-ppa/mainline/ to download the kernel version to be upgraded

Select the corresponding file, mine is amd64

Use command to download (you can also download from the web)

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20.2/linux-headers-4.20.2-042002_4.20.2-042002.201901171620_all.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20.2/linux-headers-4.20.2-042002-generic_4.20.2-042002.201901171620_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20.2/linux-image-unsigned-4.20.2-042002-generic_4.20.2-042002.201901171620_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20.2/linux-modules-4.20.2-042002-generic_4.20.2-042002.201901171620_amd64.deb

Three, installation

Use the command sudo dpkg -i *.deb

After the installation is complete, restart the ubuntu system and use the command uname -r to view the current version number

The kernel upgrade was successful.

Fourth, encounter problems and solutions

Appeared during installation

solve:
You need to install the package libssl1.1. If you use the command directly, the installation will fail. You need to add the source. The update data of this package can only be updated from sources officially recognized by ubuntu.
Go to this website to view https://packages.ubuntu.com/bionic/libssl1.1
Choose the one corresponding to your own system

Add the official source to source.list,

Use the command to open the file sudo vi /etc/apt/sources.list

Save and exit, update the source sudo apt-get update, then you can install libssl1.1, enter the command sudo apt-get install libssl1.1 in the terminal and execute sudo dpkg -i *.deb again. Successful installation.

5. Reference URL

https://www.linuxidc.com/Linux/2016-05/131481.htm

Recommended Posts

ubuntu16.04 method steps to upgrade the kernel
Steps to upgrade Laravel 5.4 to 5.6 in Ubuntu 16.04
How to upgrade to Ubuntu 20.04
CentOS6.5 upgrade kernel to 3.10.28
How to upgrade to Ubuntu 20.04
Use the command line to detect the Ubuntu version method
Upgrade Ubuntu 18.04 on Azure to 18.10
Detailed steps to install Sogou input method on Ubuntu 20.04
The specific steps to upgrade python on Raspberry Pi
How to upgrade to Ubuntu 16.04 LTS
Find the kernel source code corresponding to the running Ubuntu version
Detailed steps to automatically set the line number in ubuntu16.04
ubuntu 12.04 configure the kernel crash to automatically restart and dump
Method steps to increase python font
How to upgrade CentOS7 to CentOS8 (detailed steps)
ubuntu20.04 Chinese input method installation steps
Windows10 update Ubuntu20.04 LTS method steps
Ubuntu 20.04 Shuangpin input method installation steps
How to upgrade to PHP 7 on Ubuntu 14.04
Linux: Centos7 upgrade the original kernel
Centos6 method steps to build gitlab
CentOS 6.8 method steps to install vsftpd
Detailed steps to install MySQL to change the default password in Ubuntu
Steps to build LNMP environment on ubuntu 20.04
Ubuntu17.04 configuration method to replace domestic sources
Ubuntu20.04 steps to install cuda10.1 (graphic tutorial)
Ubuntu modified the default sh to bash
How to modify the hostname on Ubuntu 20.04
How to upgrade all Python libraries on Ubuntu 18.04
Ubuntu16 upgrade Python3
Solution for Ubuntu unable to connect to the network
ubuntu kernel compilation
Detailed steps to install Anaconda on Linux (Ubuntu 18.04)
ubuntu16.0.4 method to set a fixed IP address
Explain the solution to the Ubuntu 16.04 launcher icon exception
CentOS6.X upgrade kernel Kernel
Use the command to solve the Ubuntu projector problem:
The solution to the failure to install .deb under Ubuntu 16.04
Detailed steps to install Anaconda on Linux (Ubuntu 18.04)
How to open the ubuntu system in win10
The road to reinstallation of ubuntu 18.04 from scratch
Wsl sets the default account to root (ubuntu18.04)
Publish the node.js project under Ubuntu to heroku
Steps to add toolkit for Matlab_Linux under ubuntu
The ultimate guide to install gooderp on ubuntu
Introduction to the use of Hanlp in ubuntu
Centos7 upgrade kernel
How to run the parsing server on Ubuntu 14.04
Ubuntu14 upgrade MySQL
ubuntu14.04.1 upgrade openssh
The latest method of installing Mongodb on Ubuntu 16.04
How to install Chinese input method on ubuntu
How to check the installed JDK on Ubuntu
How to install the latest MySQL on Ubuntu 18.04
ubuntu16.04 upgrade python2
Solution to the virtual machine ubuntu16.04 cannot connect to the Internet
How to add the gzip module to Nginx on Ubuntu 14.04
How to turn the language of Ubuntu into Chinese? ?
Complete steps to configure IP address in Ubuntu 18.04 LTS
Solutions to the black screen when installing ubuntu (3 types)
Complete steps to realize face recognition login in Ubuntu