apt-get for Cygwin?

后端 未结 7 1362
说谎
说谎 2020-12-22 15:30

Is there any apt-get-like program for use with Cygwin?

I already tried cyg-apt but when I try I get this error:

cyg-apt: do         


        
相关标签:
7条回答
  • 2020-12-22 16:01

    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>
    
    0 讨论(0)
提交回复
热议问题