From f8dfcbb1af5ab822de1f02678c3f5156cc6d06b5 Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 18 Apr 2022 12:21:15 -0400 Subject: [PATCH] improve install docs (#70) --- src/getting_started/installation.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/getting_started/installation.md b/src/getting_started/installation.md index 9b6e74c..2afb193 100644 --- a/src/getting_started/installation.md +++ b/src/getting_started/installation.md @@ -24,6 +24,12 @@ Install `avm` using Cargo. Note this will replace your `anchor` binary if you ha cargo install --git https://github.com/project-serum/anchor avm --locked --force ``` +On Linux systems you may need to install additional dependencies if cargo install fails. E.g. on Ubuntu: + +``` +sudo apt-get update && sudo apt-get upgrade && sudo apt-get install -y pkg-config build-essential libudev-dev +``` + Install the latest version of the CLI using `avm`, and then set it to be the version to use. ```