cygwin安装不方便。
现在用apt-cyg来弄,类似于apt-get命令。
安装个cygwin 最小包。
默认没有wget,则去下载最近版本wget安装
https://eternallybored.org/misc/wget/
下载apt-cyg
https://github.com/transcode-open/apt-cyg
配种子环境变量
apt-cyg mirror http://mirrors.163.com/cygwin/
安装leafpad
apt install leafpad
卸载leafpad
apt-cyg remove leafpad
其它操作自己apt-cyg --help查找。