Install script uses standalone for Amazon Linux instead of rpm
See original GitHub issueThe 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
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Install script uses standalone for Amazon Linux instead of rpm
The install script picks the standalone version instead of the rpm based version when installing on an Amazon Linux 2 ec2 instance.
Read more >Install software packages on an Amazon Linux instance
Install a package on an Amazon Linux instance using the yum package ... To do this, append the path name of an RPM...
Read more >Installing or updating the latest version of the AWS CLI
This topic describes how to install or update the latest release of the AWS Command Line Interface (AWS CLI) on supported operating systems....
Read more >Install, Update, and Uninstall the AWS CLI version 1 on Linux
Install version 1 of the AWS Command Line Interface (AWS CLI) on Linux. ... The bundled installer includes all dependencies and can be...
Read more >Install or update packages - AWS Systems Manager
Deploy packages to managed nodes by using Distributor. ... You can install new packages or update existing installations in place. You can choose...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Planning to move all the distros over to
ID_LIKE
, here’s what I documented from a bunch of Docker containers:Whoops too trigger happy, will close after #2423 is merged.