question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install script uses standalone for Amazon Linux instead of rpm

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
oxycommented, Dec 8, 2020

Planning to move all the distros over to ID_LIKE, here’s what I documented from a bunch of Docker containers:

ubuntu:
	debian
raspbian:
	debian
debian:
	<none>
amazon linux/amzn:
	centos rhel fedora
centos:
	rhel fedora
rhel:
	fedora (source: https://opensource.com/article/18/6/linux-version)
fedora:
	<none>
opensuse-leap:
	suse opensuse
opensuse-tumbleweed:
	suse opensuse
alpine:
	<none>
arch:
	<none>
0reactions
nhooyrcommented, Dec 14, 2020

Whoops too trigger happy, will close after #2423 is merged.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found