cygwin apt-cyg

cygwin apt-cyg 进入全屏
line

http://code.google.com/p/apt-cyg/


# 下载工具
svn --force  export  http: //apt-cyg .googlecode.com /svn/trunk/  /bin/
  
# 更改权限
chmod  +x  /bin/apt-cyg


# 安装vim
apt-cyg  install  vim


https://github.com/xuyss/apt-cyg 

Quick start

apt-cyg is a simple script. To install:

lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg
install apt-cyg /bin

Example use of apt-cyg:

apt-cyg install vim

===================================

在cygwin 下运行shell脚本,出现“$'\r': command not found”,这是win dos与Unix文本编辑方式不同造成的。可以使用cygwin工具dos2unix将script改为unix格式。

[plain]  view plain  copy
  1. $ dos2unix test.sh  
  2. dos2unix: converting file test.sh to UNIX format ...  
  3. $ sh test.sh  

如此便可解决。


猜你喜欢

转载自blog.csdn.net/xuyss/article/details/52766567
今日推荐