windows10 更新Ubuntu20.04 LTS的方法步骤

 更新时间:2020年06月01日 11:51:21   作者:夏洛的克  
这篇文章主要介绍了windows10 更新Ubuntu20.04 LTS的方法步骤,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧

2020年4月23日,今天Windows 上的 Ubuntu 20.04 允许使用 Ubuntu Terminal 并运行 Ubuntu 命令行实用程序,包括 bash、ssh、git、apt 等。它要求 Windows 10 版本 16215.0 或更高版本,支持 ARM64 和 x64 体系结构。要注意的是,该程序在 Windows 10 S 上不受支持。

升级方法:

我这里只针对已有ubuntu的用户

打开ubuntu 或 Windows Terminal,运行命令do-release-upgrade。

frank@LAPTOP-0OCJTGJR:~$ do-release-upgrade
Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS develoment release
set Prompt=normal in /etc/update-manager/release-upgrades.

可能会出现上面的报错信息。

打开文件sudo vi /etc/update-manager/release-upgrades

# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting behavior, valid options:
#
# never - Never check for, or allow upgrading to, 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 supported 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 if this option is used and
#      the currently-running release is not itself an LTS release the
#      upgrader will assume prompt was meant to be normal.
#Prompt=lts
Prompt=normal

默认设置时Prompt=lts,将其改为Prompt=normal.,重新执行命令do-release-upgrade

期间会有两次人工参与

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done

Calculating the changes

Calculating the changes

Do you want to start the upgrade?


40 packages are going to be removed. 424 new packages are going to be
installed. 690 packages are going to be upgraded.

You have to download a total of 547 M. This download will take about
6 minutes with your connection.

Installing the upgrade can take several hours. Once the download has
finished, the process cannot be canceled.

 Continue [yN] Details [d]y

大概需要30'+的时间可以完成整个升级过程。

相关连接

Windows Subsystem for Linux(WSL)文件系统改进
第41章——从 Windows 命令行运行 Linux 工具
第42章——从 WSL 运行 Windows 工具

到此这篇关于windows10 更新Ubuntu20.04 LTS的方法步骤的文章就介绍到这了,更多相关windows10 更新Ubuntu20.04 LTS内容请搜索脚本之家以前的文章或继续浏览下面的相关文章希望大家以后多多支持脚本之家! 

相关文章

  • Linux CentOS6.6系统中安装mysql源码包的方法

    Linux CentOS6.6系统中安装mysql源码包的方法

    Linux系统中如何安装mysql的源码包呢?这里以CentOS6.6系统中安装MySQL的源码包,进行讲解。本文分步骤给大家介绍的非常详细,感兴趣的朋友一起看看吧
    2016-10-10
  • 详解Linux中如何安全地抹去磁盘数据

    详解Linux中如何安全地抹去磁盘数据

    离过职的小伙伴都知道,离职的时候需要上交公司电脑,但是电脑里面有许多我们的个人信息,所以我们就需要先把这些信息都删除,确保无法恢复之后才上交,下面我们来看一下在 Linux 中如何安全地抹去磁盘数据吧
    2023-10-10
  • vsftpd用户禁止ssh登陆的实现方法

    vsftpd用户禁止ssh登陆的实现方法

    这篇文章主要给大家介绍了关于vsftpd用户禁止ssh登陆的实现方法,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
    2019-01-01
  • ubuntu 13.10编译安装mono环境(二)

    ubuntu 13.10编译安装mono环境(二)

    接上篇,上篇仅安装了Mono本身,并没有安装libgdiplus、gtk-sharp、mod_mono、MonoDevelop 等其他相关的软件。 这篇主要是配置安装libgdiplus。
    2014-07-07
  • linux Apache服务器系统安全设置与优化

    linux Apache服务器系统安全设置与优化

    结合,mod_gzip 和缓冲工具等,我们完全可以使一台配置较低的 PC 有足够的能力处理各种 HTML/CGI 等的请求。
    2008-07-07
  • Centos7.3 RabbitMQ分布式集群搭建示例

    Centos7.3 RabbitMQ分布式集群搭建示例

    本篇文章主要介绍了Centos7.3 RabbitMQ分布式集群搭建示例,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧
    2018-05-05
  • Linux bash:./xxx:无法执行二进制文件报错

    Linux bash:./xxx:无法执行二进制文件报错

    这篇文章主要介绍了Linux bash:./xxx:无法执行二进制文件报错,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
    2020-03-03
  • Linux服务器和docker时区修改问题

    Linux服务器和docker时区修改问题

    这篇文章主要介绍了Linux服务器和docker时区修改问题,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下
    2023-06-06
  • Linux输出信息并将信息记录到文件(tee命令)

    Linux输出信息并将信息记录到文件(tee命令)

    这篇文章主要介绍了Linux中如何能在输出信息的同时把信息记录到文件的相关资料,文中主要使用的是tee命令,需要的朋友可以参考借鉴,下面来一起看看吧。
    2017-02-02
  • Linux删除文件不同方法效率对比

    Linux删除文件不同方法效率对比

    这篇文章主要介绍了Linux删除文件不同方法效率对比,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下
    2020-08-08

最新评论