code-server version: sudo ./code-server -p 80
sudo: unable to execute ./code-server: No such file or directory
Followed the steps using the AWS ubuntu setup. after unzipping the folder I was not able to execute the code-server command
So what is the output of pwd && ls ?
This isn't a code-server bug ... I bet you're in the wrong directory or you did something wrong.
The same erro happens to me.
I'm using
Please check if you have downloaded the correct archive [...]linux-x64.tar.gz and not the musl version. This will indeed fail with No such file or directory on Ubuntu because the musl build is for Alpine linux. If this does not help, check with ldd code-server which libraries are missing on your system.
@HenningCash you are right! Thank you very munch.
the musl build is for specific linux distro's such as alpine which us musl instead of the popular glibc
Please do NOT use musl builds for glibc distros. this will fail because that's how code server was linked during compile time.
Requesting closure since I think this is fixed.
Most helpful comment
Please check if you have downloaded the correct archive
[...]linux-x64.tar.gzand not themuslversion. This will indeed fail withNo such file or directoryon Ubuntu because themuslbuild is for Alpine linux. If this does not help, check withldd code-serverwhich libraries are missing on your system.