Linux – Problem using sudo on cygwin

cygwin;linuxsudo

I am trying to install the python-brisa framework on Linux. When I try to use the sudo command, it gives me the error "command not found".

I am running the following commands:

$ cd file
$ sudo python setup.py install

What am I doing wrong?

Best Answer

You cannot use sudo on Cygwin. Cygwin is restricted to the rights of the security context in which it is executed.

You likely don't need superuser rights to install the package. Simply run the command without sudo and it will probably work.

If you truly need administrator rights, you will need to right-click on the Cygwin icon and choose Run as administrator to run Cygwin with administrative privileges.

Related Question