cygwin apt-get

cygwin里安装软件时,没有apt-get命令,可以使用内置的


you can always make a bash alias to setup*.exe files in $home/.bashrc

cygwin 32bit

alias cyg-get="/cygdrive/c/cygwin/setup-x86.exe -q -P"

cygwin 64bit

alias cyg-get="/cygdrive/c/cygwin64/setup-x86_64.exe -q -P"

now you can install packages with

cyg-get <package>




package 参数是cygwin里的包名,而非linux里的标准包名

猜你喜欢

转载自powertech.iteye.com/blog/2126719