According to the previously asked question about curl: (23) Failure writing output to destination it seems like there is an issue with the script which at least I don't want to change myself to install Solana. Why does cURL return error "(23) Failed writing body"?
When I tried to read the Solana installation script I found that alternatively I can use wget to install Solana which I decided to use instead of curl. There are two steps you have to follow in order to get it fixed.
- Uninstall curl from your system temporarily
sudo snap remove curl.
- Execute
sh -c "$(wget https://release.solana.com/v1.9.4/install)" instead of the given command in the Solana tool suite page.
Once you install you have to update your path to add solana, you can do it by adding the following line to the ~/.bashrc file. (Make sure you update the path)
export PATH="/home/{user}/.local/share/solana/install/active_release/bin:$PATH"