标签:tool .exe 模式 apt-get tom 安装 nal 下载 hub
下载 https://github.com/goreliu/wsl-terminal/releases
解压到C:\Program Files (x86)\wsl-terminal
启动 直接启动open-wsl.exe
安装右键插件
cmd
cd "C:\Program Files (x86)\wsl-terminal"
wscript tools\1-add-open-wsl-terminal-here-menu.js
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
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
sudo apt-get update
标签:tool .exe 模式 apt-get tom 安装 nal 下载 hub
原文地址:https://www.cnblogs.com/jesper/p/10869650.html