docs: Make installation command more robust (#259)

This commit is contained in:
jon-chuang 2021-05-08 13:56:36 +08:00 committed by GitHub
parent 9d4d8e551e
commit 451e99418f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ cargo install --git https://github.com/project-serum/anchor --tag v0.5.0 anchor-
On Linux systems you may need to install additional dependencies if `cargo install` fails. On Ubuntu,
```bash
sudo apt-get update && apt-get upgrade && apt-get install -y pkg-config build-essential libudev-dev
sudo apt-get update && sudo apt-get upgrade && sudo apt-get install -y pkg-config build-essential libudev-dev
```
To install the JavaScript package.