打造一个通用性MCU架构,支持CX32/AT32/NRF51/NRF52等。 OS支持RTX4/RTX5/FreeRtos。 采用VsCode+GCC组合,VsCode+KEIL5,超强开发方式。 QQ群:524408033

LiSun

打造一个通用性MCU架构,支持CX32/AT32/NRF51/NRF52等。 OS支持RTX4/RTX5/FreeRtos。 采用VsCode+GCC组合,VsCode+KEIL5,超强开发方式。 QQ群:524408033

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

基于windos应用商店的ubuntu系统,解压即用,方便快捷,

下载地址:https://download.csdn.net/download/qq_29246181/85211796

一、 任意目录解压后,如图

在这里插入图片描述

然后打开windos子系统:(必须)
1.控制面板–>程序–>启用或关闭Windows功能–>勾选适用于Windows的Linux子系统
2.勾选“应用于Linux的Windows子系统”点击确定之后,需要重启电脑
在这里插入图片描述

二、 双击运行“ubuntu.exe”

  1. 初次运行,会解压文件,稍等几分钟。

  2. 安装完毕后,会提示创建用户号和密码
    在这里插入图片描述

  3. 创建完毕后,如图
    在这里插入图片描述

三、 自动将windos硬盘映射。(演示位置)

在这里插入图片描述
映射位置如图,在mnt位置挂载了C盘和D盘

四、 修改镜像源,方便下载工具
终端命令: sudo vim /etc/apt/sources.list
在这里插入图片描述

  1. 替换以下内容
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse

# deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
# deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
# deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
# deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse

## Pre-released source, not recommended.
# deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
# deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse

  1. 执行更新命令

sudo apt update
sudo apt upgrade

【卸载Linux】

# 查看注册了哪些
wslconfig /l
# 注销 wls 服务
wslconfig /u Ubuntu

在这里插入图片描述

【重装Linux】

完成上文的卸载后,直接运行ubuntu.exe,就完成重装。

posted on 2022-08-13 11:00  xuejianqiang  阅读(34)  评论(0编辑  收藏  举报
打造一个通用性MCU架构,支持CX32/AT32/NRF51/NRF52等。 OS支持RTX4/RTX5/FreeRtos。 采用VsCode+GCC组合,VsCode+KEIL5,超强开发方式。 QQ群:524408033