-
Notifications
You must be signed in to change notification settings - Fork 0
Install Solana
Andrei Montchik edited this page Apr 15, 2026
·
1 revision
- Installation location:
~/.local/share/solana/install/active_release/bin/solana - Key pairs:
~/.config/solana/
- Install Solana
- Update the Solana version to match with Mainnet:
solana cluster-version -umsh -c "$(curl -sSfL https://release.anza.xyz/v2.0.21/install)"
- Confirm that Solana version:
solana --version - Find The Rust version for Mainnet
- Install the Mainnet Rust version
- Generate the Solana keypair:
solana-keygen grind --starts-with amo:1 - Update the Solana config to use the generated keypair:
solana config set --keypair /home/andrei/.config/research/amo_keypair.json - Confirm that the Solana config was updated:
solana config get
- In case if the build fails
linker 'cc' not founderror, install the missing libraries. - In case if build fails with the
linking with 'cc' failed: exit status: 1error, limit number of CPU to cut down on memory usage:cargo build -j 2
- Make sure that the pubkeys are either backed up or not longer needed. They are usually located in the
.config/solanadirectory. - Delete the
.config/solanadirectory. - Delete the
~/.local/share/solanadirectory. - Remove references to solana directories from the PATH configuration in
.profilefile. Confirm that it is not presented in other dot files:grep solana ~/.*. - Re-open the SSH session.