transcode-open / apt-cyg

Apt-cyg, an apt-get like tool for Cygwin
MIT License
2.99k stars 684 forks source link

apt-cyg #134

Open Merlincool opened 4 years ago

Merlincool commented 4 years ago

I get this error

'apt-cyg' is not recognized as an internal or external command, operable program or batch file.

I have used cmd terminal to install.

Tried

https://github.com/transcode-open/apt-cyg/blob/master/apt-cyg install apt-cyg /bin

I can see that in my bin but when I run apt-cyg install nano it fails and say above mentioned error.

I am using windows 64 bit, my bin directory is added to path and I can perform basic functions from my cmd terminal and not from Cygwin.bat. it doesnt even ls for me. While cmd terminal of windows does all things like 'ls' 'wget' 'lynx' etc. Anymore details required please let me know.

peter201943 commented 4 years ago

Try this with an administrative cygwin prompt.

$ cd c/apt-cyg/
$ install apt-cyg /bin
Merlincool commented 4 years ago

Try this with an administrative cygwin prompt.

$ cd c/apt-cyg/
$ install apt-cyg /bin

apt-cyg is not folder, it downloads as a file. And above command installation failed

my bin is in the folder cygwin64.

bin path C:\cygwin64\bin

so I ran install apt-cyg C:\cygwin64\bin

It doesnt exceute gets following error

'apt-cyg' is not recognized as an internal or external command, operable program or batch file.

peter201943 commented 4 years ago
  1. /bin is shorthand for c/cygwin64/bin. Cygwin is capable of recognizing it as such.
  2. Cygwin does not recognize backslashes in paths \==BAD, /==GOOD
  3. If you pulled the apt-cyg repo, you should have had several other files downloaded as well.

Try This

Merlincool commented 4 years ago

same again

'apt-cyg' is not recognized as an internal or external command, operable program or batch file.

maribox commented 2 years ago

I get the same problem. If I add /bin (C:/cygwin64/bin) to the path, it tries to open apt-cyg as a text file.

equalman commented 2 years ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。