You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The install script picks the standalone version instead of the rpm based version when installing on an Amazon Linux 2 ec2 instance. I manually had to use rpm to install, which is included in Amazon Linux 2. The script should also use rpm so that the systemctl service is installed as well
Running: curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run gives the following output
Amazon Linux 2
Unsupported package manager.
Installing standalone release archive v3.7.2 from GitHub releases.
+ Reusing ~/.cache/code-server/code-server-3.7.2-linux-amd64.tar.gz
+ mkdir -p ~/.local/lib ~/.local/bin
+ tar -C ~/.local/lib -xzf ~/.cache/code-server/code-server-3.7.2-linux-amd64.tar.gz
+ mv -f ~/.local/lib/code-server-3.7.2-linux-amd64 ~/.local/lib/code-server-3.7.2
+ ln -fs ~/.local/lib/code-server-3.7.2/bin/code-server ~/.local/bin/code-server
Standalone release has been installed into ~/.local/lib/code-server-3.7.2
Please extend your path to use code-server:
PATH="$HOME/.local/bin:$PATH"
Then you can run:
code-server
The text was updated successfully, but these errors were encountered:
We use the `OS` environment variable and /etc/os-release to determine
which method to use, what does Amazon Linux 2 have for those?
Or maybe we should base it off whether the `rpm` command is available
instead of the OS.
It seems that the OS environment variable isn’t set in Amazon Linux 2. I notice also the script looks at /etc/os-release and that might be better, using the ID_LIKE field to pick among the options.
The install script picks the standalone version instead of the rpm based version when installing on an Amazon Linux 2 ec2 instance. I manually had to use rpm to install, which is included in Amazon Linux 2. The script should also use rpm so that the systemctl service is installed as well
Running:
curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run
gives the following outputThe text was updated successfully, but these errors were encountered: