最简单直接的安装方式

1、打开开发人员模式

  在Windows功能中,选择“适用于Linux的windows子系统(Beta)”,然后再打开设置–>更新和安全–>针对开发人员,选择开发人员模式–>确定启动

 可在控制面板–>系统和安全–>程序,中找到Windows功能

2、应用商店下载Ubuntu

  Windows应用商店,搜索Ubuntu,这里我们可以选择Ubuntu 18.04进行下载。下载完成后,打开Ubuntu的命令终端(橘黄色图标),初始化用户名和密码。

3、换源

  Ubuntu系统自带的源都是国外的网址,国内用户在使用的时候网速比较慢,所以可以更换为国内的源。

 ①备份原来的源

sudo cp /etc/apt/sources.list /etc/apt/sources_init.list

 ②更换源

sudo gedit /etc/apt/sources.list

  打开文件后将目标源文件复制进去,然后保存关闭。(后面有各种源的文件)

注意:对于不同的版本,更换的源文件不一样,这里仅以18.04为例

 ③更新

sudo apt-get update
sudo apt-get upgrade

附:

###清华源
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
###阿里源
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
###网易源
deb http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse

[Windows子系统] Ubuntu18.04安装及换源相关推荐

  1. ubuntu18.04.4 pip3 换源

    ubuntu18.04.4 pip3 换源 pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple 包名

  2. ubuntu18.04.4 pip3 换清华、阿里、豆瓣 源

    文章目录 ubuntu18.04.4 pip3 换源 官方源 清华源 阿里源 豆瓣源 中国科学技术大学源 华中科技大学源 永久换源 1 创建 .pip文件 2 进入文件 3 创建pip.conf文件 ...

  3. windows子系统Ubuntu18.04LTS换源及配置grpc编译环境

    Ubuntu18.04LTS更改apt源为阿里云源 1.备份源文件 $ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 2.修改源文件 ...

  4. ubuntu18.04安装NVIDIA驱动的心酸(失败)经历及解决方法(换系统成功)

    问题描述: ubuntu18.04系统安装Nvidia驱动,nvidia-smi能够输出GPU显卡信息,但sudo reboot后,黑屏,不能进入图形界面,无法开机.进入tty界面删除nvidia驱动 ...

  5. Ubuntu18.04安装后要做的事

    Ubuntu18.04安装后要做的事 一.安装好第一件事:换源!! 按Windows键在搜索框中找到Software & Updates, 将源更新为阿里云的源. 在Other Softwar ...

  6. Win11安装ise14.7(最终解决方案)——Ubuntu18.04安装ISE与modelsim

    原文标题:How to install Xilinx ISE Design Suite 14.7 on Ubuntu 18.04 (with drivers) 如何在lunux下安装ISE14.7!! ...

  7. ubuntu20.04到ubuntu18.04安装英伟达(nvidia)显卡驱动的血泪史

    文章目录 ubuntu20.04到ubuntu18.04安装显卡驱动的血泪史 一.Ubuntu系统准备 二.显卡驱动的三种方法 1. 使用标准Ubuntu仓库进行自动安装 2. 使用PPA仓库进行自动 ...

  8. ubuntu-18.04.4 Android系统源码TP1A(Android 13)下载及编译

    继上一篇博客介绍了VMware Workstation15 配置ubuntu-18.04.4,这篇主要介绍安装后环境搭建,Android源码的下载与编译.小编当前下载的是当前最新的代码,是主干分支代码 ...

  9. ubuntu18.04 安装qt5.12.8及环境配置的详细教程

    这篇文章主要介绍了ubuntu18.04 安装qt5.12.8及环境配置的教程,本文通过图文并茂的形式给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下 环境 系统: ...

最新文章

  1. linux命令——pwd
  2. Jquery 【select 通过value来寻找对应的项name】
  3. CalendarExtender控件的中文显示问题
  4. 【数据结构与算法】之深入解析“下一个更大元素II”的求解思路与算法示例
  5. electron开发_基于Electron+React的跨平台应用程序基础开发框架
  6. python wms_webGIS实践:4_2_python django整合geoserver wms服务
  7. Exchange 2010 迁移至Exchange 2013系列之一:系列架构介绍
  8. 乒乓球(Table Tennis)
  9. matlab2016b版本安装
  10. 科技爱好者周刊(第 149 期):新能源汽车,谁会是赢家?
  11. catia批量转stp文件格式_CATIA CGR格式文件转stp或igs文件 | 坐倚北风
  12. 支付宝小程序获取外部任意小程序appId及页面路径(附常见appid)
  13. NR接入过程中鉴权失败问题
  14. 关于Dev C++等软件突然提示16位应用程序不兼容的问题
  15. 金融数据分析 实验五 资产组合计算
  16. 程序员怎么做可以安全通过试用期
  17. 如何在App中实现朋友圈功能之三快速实现双向好友功能——箭扣科技Arrownock
  18. Guava1.0—— 目录
  19. 【校招篇】招聘季来临,金三银四你准备好了吗?
  20. Phalanx——二维dp

热门文章

  1. cn域名注册十元_新手注册域名的一般流程是什么?个人申请域名流程要知道哪些?...
  2. UPS不间断电源常见故障及如何排除故障
  3. opencv 图像上画出目标运动的轨迹_基于opencv的单目和双目标定平台手眼标定
  4. ML:MLOps系列讲解之《基于ML的软件的三个层次之02 Model: Machine Learning Pipelines——2.5 Different forms of ML workfl》解读
  5. 成功解决在excel表中通过数学函数转换后,接着去掉公式转为不再随着变化的数值
  6. Paper:《Spatial Transformer Networks》的翻译与解读
  7. AI:2020年6月16日晚20点陆奇博士演讲《陆奇直播万字实录:正视挑战,把握创业创新机会》
  8. 成功解决ValueError: Cannot feed value of shape (80, 15, 1, 1) for Tensor 'Placeholder_1:0', which has sh
  9. 成功解决gensim\utils.py:1209: UserWarning: detected Windows; aliasing chunkize to chunkize_serial warn
  10. RL之DQN:基于TF训练DQN模型玩“打砖块”游戏