From 96eeb9fea025e54f41a1c931d79fb241deba0884 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Wed, 20 May 2020 03:36:14 -0400 Subject: [PATCH] Fix install instructions for SUSE Closes #1699 --- README.md | 10 +++++----- doc/guide.md | 2 +- doc/npm.md | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index cdf9b15b..4df74726 100644 --- a/README.md +++ b/README.md @@ -18,17 +18,17 @@ For a full setup and walkthrough, please see [./doc/guide.md](./doc/guide.md). ### Debian, Ubuntu ```bash -curl -sSOL https://github.com/cdr/code-server/releases/download/v3.3.1/code-server_3.3.1_amd64.deb +curl -OL https://github.com/cdr/code-server/releases/download/v3.3.1/code-server_3.3.1_amd64.deb sudo dpkg -i code-server_3.3.1_amd64.deb systemctl --user enable --now code-server # Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml ``` -### Fedora, Red Hat, SUSE +### Fedora, CentOS, Red Hat, SUSE ```bash -curl -sSOL https://github.com/cdr/code-server/releases/download/v3.3.1/code-server-3.3.1-amd64.rpm -sudo yum install -y code-server-3.3.1-amd64.rpm +curl -OL https://github.com/cdr/code-server/releases/download/v3.3.1/code-server-3.3.1-amd64.rpm +sudo rpm -i code-server-3.3.1-amd64.rpm systemctl --user enable --now code-server # Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml ``` @@ -103,7 +103,7 @@ Add the code-server `bin` directory to your `$PATH` to easily execute `code-serv Here is an example script for installing and using a static `code-server` release on Linux: ```bash -curl -sSL https://github.com/cdr/code-server/releases/download/v3.3.1/code-server-3.3.1-linux-amd64.tar.gz \ +curl -L https://github.com/cdr/code-server/releases/download/v3.3.1/code-server-3.3.1-linux-amd64.tar.gz \ | sudo tar -C /usr/local -xz sudo mv /usr/local/code-server-3.3.1-linux-amd64 /usr/local/code-server-3.3.1 PATH="/usr/local/code-server-3.3.1/bin:$PATH" diff --git a/doc/guide.md b/doc/guide.md index ef1d6e0b..8e2683d9 100644 --- a/doc/guide.md +++ b/doc/guide.md @@ -82,7 +82,7 @@ SSH into your instance and run the appropriate commands documented in [README.md Assuming Debian: ```bash -curl -sSOL https://github.com/cdr/code-server/releases/download/v3.3.1/code-server_3.3.1_amd64.deb +curl -OL https://github.com/cdr/code-server/releases/download/v3.3.1/code-server_3.3.1_amd64.deb sudo dpkg -i code-server_3.3.1_amd64.deb systemctl --user enable --now code-server # Now code-server is running at http://127.0.0.1:8080 diff --git a/doc/npm.md b/doc/npm.md index 08704c0c..55cc2920 100644 --- a/doc/npm.md +++ b/doc/npm.md @@ -16,7 +16,7 @@ sudo apt-get install -y \ libsecret-1-dev ``` -## Fedora, Red Hat, SUSE +## Fedora, CentOS, Red Hat ```bash sudo yum groupinstall -y 'Development Tools' -- GitLab