Remove extra installation options for paper wallet (#7245)

* Remove extra installation options for paper wallet

* Copy installation link out of code block for printing
This commit is contained in:
Justin Starry
2019-12-03 22:54:33 -05:00
committed by GitHub
parent 2dc1ae9026
commit 94dcd3fe12

View File

@ -1,70 +1,26 @@
# Installation # Installation Guide
Solana provides a CLI tool for key generation called `solana-keygen`. Here are 3 Follow this guide to setup Solana's key generation tool called `solana-keygen`
different options for installations.
## Option 1: via Solana Install Script {% hint style="warn" %}
Install the Solana CLI tools on your machine by running: After installation, ensure your version is `0.21.1` or higher by running `solana-keygen -V`
{% endhint %}
```bash First, download the desired release tarball from GitHub. The examples below will
curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v0.21.1/install/solana-install-init.sh | sh -s - 0.21.1
```
The following output indicates a successful update:
```text
looking for latest release
downloading v0.21.1 installer
Configuration: /home/solana/.config/solana/install/config.yml
Active release directory: /home/solana/.local/share/solana/install/active_release
* Release version: 0.21.1
* Release URL: https://github.com/solana-labs/solana/releases/download/v0.21.1/solana-release-x86_64-unknown-linux-gnu.tar.bz2
Update successful
```
You can now verify that `solana-keygen` was installed by running:
```bash
solana-keygen -h
```
After a successful install, `solana-install update` may be used to easily update
the cluster software to a newer version at any time.
### Option 2: via Rust Cargo
First, install Rust's package manager `cargo`
```bash
$ curl https://sh.rustup.rs -sSf | sh
$ source $HOME/.cargo/env
```
Then, install the `solana-keygen` tool
```bash
cargo install solana-keygen
```
You can now verify that `solana-keygen` was installed by running:
```bash
solana-keygen -h
```
### Option 3: via Tarball
First download the desired release tarball from GitHub. The examples below will
retrieve the most recent release. If you would like to download a specific retrieve the most recent release. If you would like to download a specific
version instead replace `latest/download` with `download/VERSION` where VERSION version instead replace `latest/download` with `download/VERSION` where VERSION
is a tag name from https://github.com/solana-labs/solana/releases (ie. v0.21.0). is a tag name from https://github.com/solana-labs/solana/releases (ie. v0.21.1).
MacOS MacOS
```bash ```bash
$ curl -L -sSf -o solana-release.tar.bz2 'https://github.com/solana-labs/solana/releases/latest/download/solana-release-x86_64-apple-darwin.tar.bz2' $ curl -L -sSf -o solana-release.tar.bz2 'https://github.com/solana-labs/solana/releases/latest/download/solana-release-x86_64-apple-darwin.tar.bz2'
``` ```
**`'https://github.com/solana-labs/solana/releases/latest/download/solana-release-x86_64-apple-darwin.tar.bz2'`**
Linux Linux
```bash ```bash
$ curl -L -sSf -o solana-release.tar.bz2 'https://github.com/solana-labs/solana/releases/latest/download/solana-release-x86_64-unknown-linux-gnu.tar.bz2' $ curl -L -sSf -o solana-release.tar.bz2 'https://github.com/solana-labs/solana/releases/latest/download/solana-release-x86_64-unknown-linux-gnu.tar.bz2'
``` ```
**`'https://github.com/solana-labs/solana/releases/latest/download/solana-release-x86_64-unknown-linux-gnu.tar.bz2'`**
Next, extract the tarball Next, extract the tarball
```bash ```bash