![Ubuntu 18.04 LTS "Bionic Beaver" default wallpaper](https://i-blog.csdnimg.cn/blog_migrate/c4db7c19543cf474b8047c901b3e361f.png)
Canonical just released Ubuntu 18.04.3 LTS, which features Linux kernel 5.0. This kernel, also found in Ubuntu 19.04, includes improved hardware support and performance tweaks. But, if you installed the original Ubuntu 18.04 LTS, you won’t automatically be updated.
Canonical刚刚发布了具有Linux内核5.0的 Ubuntu 18.04.3 LTS 。 在Ubuntu 19.04中也发现了该内核,包括改进的硬件支持和性能调整。 但是,如果您安装了原始的Ubuntu 18.04 LTS ,则不会自动进行更新。
全部与硬件支持(HWE)有关 (It’s All About Hardware Enablement (HWE))
![Software Updater application on Ubuntu 18.04](https://i-blog.csdnimg.cn/blog_migrate/5015ccde8ed286d000e26cba7294ff7b.png)
Here’s how this works. Instead of offering the original Ubuntu 18.04 LTS image for years and forcing everyone to update a lot of software after installing it, Ubuntu regularly releases new Ubuntu 18.04 installers in ISO form. These include the latest software updates that would typically be installed after you install Ubuntu 18.04. There have now been several versions of Ubuntu 18.04 released: the original 18.04, 18.04.1, 18.04.2, and 18.04.3.
这是这样的。 多年来,Ubuntu不会提供原始的Ubuntu 18.04 LTS映像并强迫每个人在安装后更新很多软件,而是定期以ISO形式发布新的Ubuntu 18.04安装程序。 其中包括最新的软件更新,这些更新通常会在安装Ubuntu 18.04之后安装。 现在已经发布了多个版本的Ubuntu 18.04:原始的18.04、18.04.1、18.04.2和18.04.3。
The Ubuntu 18.04.2 release included a new “hardware enablement” (HWE) stack. The stack consists of a newer Linux kernel, X.org graphical server, and graphics drivers. These weren’t automatically installed on existing systems to ensure they don’t break anything. After all, Long Term Service releases are all about stability. Businesses don’t necessarily want a big new kernel update arriving out of nowhere.
Ubuntu 18.04.2发行版包含一个新的“硬件启用”(HWE)堆栈 。 该堆栈由更新的Linux内核,X.org图形服务器和图形驱动程序组成。 这些不会自动安装在现有系统上以确保它们不会损坏任何东西。 毕竟,长期服务版本都是关于稳定性的。 企业不一定希望大批新内核更新无处不在。
If you installed Ubuntu 18.04 using the Ubuntu 18.04.2 installer, you will automatically get the Ubuntu 18.04.3 update featuring the new Linux kernel. If you installed Ubuntu 18.04 using Ubuntu 18.04.1 or the original Ubuntu 18.04, you won’t automatically get the new Linux kernel.
如果使用Ubuntu 18.04.2安装程序安装了Ubuntu 18.04,则会自动获得具有新Linux内核的Ubuntu 18.04.3更新。 如果使用Ubuntu 18.04.1或原始Ubuntu 18.04安装了Ubuntu 18.04,则不会自动获得新的Linux内核。
Either way, all Ubuntu 18.04 systems are getting most of the same updates. Older ones just don’t have the hardware enablement stack.
无论哪种方式,所有Ubuntu 18.04系统都将获得大多数相同的更新。 较旧的设备没有硬件支持堆栈。
Not sure which release of Ubuntu you installed? Ubuntu 18.04.2 was released on February 14, 2019. If you installed Ubuntu after that, you likely have the new stack, and you’ll get Linux 5.0 via the standard software updating tools.
不知道您安装了哪个版本的Ubuntu? Ubuntu 18.04.2已于2019年2月14日发布。如果在此之后安装Ubuntu,则可能拥有新堆栈,并且可以通过标准软件更新工具获得Linux 5.0。
如何获取新的硬件支持堆栈 (How to Get the New Hardware Enablement Stack)
You can opt into the hardware enablement update if you like. LTS releases are supposed to be rock solid and not change much so Ubuntu won’t automatically install it for you. That said, we expect things will perform fine on almost all systems out there.
如果愿意,可以选择启用硬件启用更新。 LTS发行本应该坚如磐石,并且变化不大,因此Ubuntu不会自动为您安装它。 话虽如此,我们希望目前几乎所有系统都能正常运行。
To install Linux 5.0 along with the new X server and graphics drivers, launch a terminal and run the following command. You can just copy-paste it into the terminal and press Enter:
要与新的X服务器和图形驱动程序一起安装Linux 5.0,请启动终端并运行以下命令。 您可以将其复制粘贴到终端中,然后按Enter:
sudo apt install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
Enter your password when prompted and type “y” to confirm when required. Ubuntu will update to the latest system with the latest hardware enablement stack.
出现提示时输入密码,然后在需要时键入“ y”进行确认。 Ubuntu将使用最新的硬件支持堆栈更新到最新的系统。
![Installing Linux 5.0 on Ubuntu 18.04](https://i-blog.csdnimg.cn/blog_migrate/922a7b78d9bbe836c36c4163a56495e8.png)
You’ll have to reboot your system to install the new kernel. After you do, a quick uname -r
or uname -a
command will show the version of Linux you’re running: Linux 5.0.
您必须重新引导系统才能安装新内核。 完成后,快速的uname -r
或uname -a
命令将显示您正在运行的Linux版本 :Linux 5.0。
![uname command showing Linux kernel 5.0 running on Ubuntu "Bionic Beaver"](https://i-blog.csdnimg.cn/blog_migrate/506e751769968d3103fafcfb2f4d6c5c.png)
Thanks to OMG! Ubuntu for highlighting the release of Ubuntu 18.04.3 LTS and its Linux 5.0 kernel.
感谢OMG! Ubuntu突出显示了Ubuntu 18.04.3 LTS及其Linux 5.0内核的发布。
翻译自: https://www.howtogeek.com/436507/how-to-install-the-linux-5.0-update-on-ubuntu-18.04-lts/