使用的是apt-cyg工具

设置wget代理

$ export http_server=http://xxxxx
$ export https_server=http://xxxxx

安装

$ wget raw.github.com/transcode-open/apt-cyg/master/apt-cyg
$ chmod +x apt-cyg  //赋予apt-cyg命令执行权限
$ mv apt-cyg /bin  //将apt-cyg命令移动到/bin/

指定源

$ apt-cyg mirror http://mirrors.163.com/cygwin

使用

$ apt-cyg install xxxx

标签: none 阅读量: 904

添加新评论