使用elementary os 5 内核版本升级前:
$ uname -r
4.15.0-36-generic
执行:
sudo apt install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
升级后:
tianlang@tianlang$ uname -r
5.4.0-71-generic
为什么升级内核可以参考Rust游戏引擎Bevy初探
参考网上问答:
You can install the Ubuntu 18.04 LTS Hardware Enablement (HWE) packages in order to get a newer kernel. I've been using this on my Elementary systems for half a year or so without issues (Elementary 5.0 Juno is built from Ubuntu 18.04).
At time of typing this my main system is using 5.0.0-31-generic.
HTH
To enable HWE, type the following command in the Terminal:
sudo apt install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04