You are the root user on Code Ocean by default it unnecessary to tell the machine that you are the root user.

You can install sudo via apt-get and then use the command, but this is unnecessary.

Delete all instances of sudo in your scripts to get them running on Code Ocean.

Did this answer your question?