From 9c861570cdad164741a3088dbdb196b6f002b8ab Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Mon, 1 Nov 2021 15:15:22 -0700 Subject: [PATCH] docs(contrib): update linux requirements (#4328) --- docs/CONTRIBUTING.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 4874468c..6f021f1b 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -3,6 +3,7 @@ # Contributing - [Requirements](#requirements) + - [Linux-specific requirements](#linux-specific-requirements) - [Creating pull requests](#creating-pull-requests) - [Commits and commit history](#commits-and-commit-history) - [Development workflow](#development-workflow) @@ -42,13 +43,21 @@ Here is what is needed: signature verification](https://docs.github.com/en/github/authenticating-to-github/managing-commit-signature-verification) or follow [this tutorial](https://joeprevite.com/verify-commits-on-github) -- `build-essential` (Linux only - used by VS Code) - - Get this by running `apt-get install -y build-essential` - `rsync` and `unzip` - Used for code-server releases - `bats` - Used to run script unit tests +### Linux-specific requirements + +If you're developing code-server on Linux, make sure you have installed or install the following dependencies: + +```shell +sudo apt-get install build-essential g++ libx11-dev libxkbfile-dev libsecret-1-dev python-is-python3 +``` + +These are required by VS Code. See [their Wiki](https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites) for more information. + ## Creating pull requests Please create a [GitHub Issue](https://github.com/cdr/code-server/issues) that