是一个非 lts 版本,这意味着它将只支持 9 个月,直到 2022 年 7 月。如果您更喜欢稳定性而不是前沿,那么坚持使用 ubuntu 20.04。但是如果你想体验最新最好的软件,你可以按照这个教程进行升级。
将 升级到 ubuntu 21.10
步骤 1. 首先,通过apt
在终端中运行以下命令确保所有系统包都是最新的。
sudo apt update
sudo apt upgrade
步骤 2. 升级到 ubuntu 21.10 (impish indri)。
要升级到 ubuntu 21.10,请运行以下命令升级现有软件:
sudo apt update sudo apt dist-upgrade
接下来,请确保您有和安装包:update-manager-core
ubuntu-release-upgrader-core
sudo apt install update-manager-core ubuntu-release-upgrader-core
之后,使用 nano 文本编辑器编辑配置文件:
sudo nano /etc/update-manager/release-upgrades
在此文件的底部,将 prompt 的值从 更改lts
为normal
:
# default behavior for the release upgrader. [default] # default prompting behavior, valid options: # # never - never check for a new release. # normal - check to see if a new release is available. if more than one new # release is found, the release upgrader will attempt to upgrade to # the release that immediately succeeds the currently-running # release. # lts - check to see if a new lts release is available. the upgrader # will attempt to upgrade to the first lts release available after # the currently-running one. note that this option should not be # used if the currently-running release is not itself an lts # release, since in that case the upgrader won't be able to # determine if a newer release is available.prompt=normal
保存并关闭文件,然后执行以下命令:
do-release-upgrade -d
步骤 3. 验证系统信息。
安装过程完成后,我们重新启动,我们将使用 ubuntu 21.04 或使用以下命令检查您的 ubuntu 版本:
lsb_release -a
输出:
distributor id: ubuntu description: ubuntu 21.10 release: 21.10 codename: impish
感谢您使用本教程将 ubuntu 20.10 (groovy gorilla) 升级到 ubuntu 21.04 (hirsute hippo) 系统。如需其他帮助或有用信息,我们建议您查看。
原创文章,作者:校长,如若转载,请注明出处:https://www.yundongfang.com/yun224046.html