I want to install a game in Windows using Cygwin. When trying to use the sudo
command, I receive the following error:
-bash:sudo:command not found
I get a similar error when trying to use command add-apt-repository
:
unable to start "add-apt-repository" this specified file was not found
Why are these commands not recognized?
Best Answer
You may have misunderstood what Cygwin is useful for. From their website:
Cygwin is not: a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows.
Packages like
sudo
do not exist in Cygwin. You can find available packages here.They also have a detailed FAQ that plainly describes what it is, how it can be used, and so on.