IUnknown
IUnknown

Reputation: 83

Uninstall Solana version from agave

After multiple attempts to fix an error to build a Rust solana-program it seems that I am left with multiple versions of a Solana installations that I can't remove.

I ran agave-install for multiple versions of Solana, until I figured out the problem successfully. Now, that I can compile the solana-programm successfully, using Solana version 2.1.11, I want to remove everything that is not specific to this exact Solana version. Unfortunately agave has no command to uninstall any versions that it installed.

I want to remove everything except version 2.1.11 from the following output.

> agave-install list
2.1.13
2.0.25
stable-3dccb3e785ce8e7fc8370f983c81ee9cf4326de5
2.1.11 (current)

How can I achieve this?

Upvotes: 0

Views: 56

Answers (1)

Jon C
Jon C

Reputation: 8472

This doesn't answer your question about how to clean up releases through agave-install directly, you can clean them up by deleting the directories by hand. By default, all releases are installed at ~/.local/share/solana/install/releases/, so for example, you can simply run rm -rf ~/.local/share/solana/install/releases/2.0.25/ to delete v2.0.25

Upvotes: 0

Related Questions