D01 Win10-WSL-Ubuntu16 安装
2021-06-04 05:02
标签:tool .exe 模式 apt-get tom 安装 nal 下载 hub 下载 https://github.com/goreliu/wsl-terminal/releases 启动 直接启动open-wsl.exe sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak sudo apt-get update D01 Win10-WSL-Ubuntu16 安装 标签:tool .exe 模式 apt-get tom 安装 nal 下载 hub 原文地址:https://www.cnblogs.com/jesper/p/10869650.html
1. 安装ubuntu 16.04
1.2 wsl-terminal 安装
2. Ubuntu apt换源
1. 启用wsl并安装ubuntu 16.04
1. 安装ubuntu 16.04
或者通过这个链接唤醒进入store,安装ubuntu16 https://www.microsoft.com/zh-cn/p/ubuntu-1604-lts/9pjn388hp8c9?activetab=pivot%3Aoverviewtab1.2 wsl-terminal 安装
解压到C:\Program Files (x86)\wsl-terminal
安装右键插件cmd
cd "C:\Program Files (x86)\wsl-terminal"
wscript tools\1-add-open-wsl-terminal-here-menu.js
2. Ubuntu apt换源
sudo vim /etc/apt/sources.list#deb包
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
##测试版源
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
# 源码
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
##测试版源
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
文章标题:D01 Win10-WSL-Ubuntu16 安装
文章链接:http://soscw.com/index.php/essay/90248.html