Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apt-cyg #134

Open
Merlincool opened this issue May 6, 2020 · 6 comments
Open

apt-cyg #134

Merlincool opened this issue May 6, 2020 · 6 comments

Comments

@Merlincool
Copy link

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
Copy link

Try this with an administrative cygwin prompt.

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

@Merlincool
Copy link
Author

Merlincool commented May 25, 2020

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
Copy link

  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

  • Ignore everything else you did, and try this from scratch
  • launch cygwin.bat
  • follow these steps:
cd /cygdrive/c
git clone https://github.com/transcode-open/apt-cyg
cd apt-cyg
install apt-cyg /bin

@Merlincool
Copy link
Author

same again

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

@maribox
Copy link

maribox commented Aug 29, 2022

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
Copy link

equalman commented Aug 29, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants