-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persisting the Solana command on Linux (Ubuntu) #525
Comments
@litmus-zhang working on this |
Hello there,
and then reload the shell to implement the changes made via
|
Yeah I did,I tried it on Ubuntu 20.04 and 22,same issue after rebooting
the whole PC.
…On Wed, Dec 6, 2023, 4:34 PM sarvesh-git ***@***.***> wrote:
Hello there,
Did you added the path to your binaries to your system path variables?
export PATH=$PATH:/path/to/solana/bin
change the "/path/to/solana/bin" to the actual path of your folder.
and then reload the shell to implement the changes made via
source ~/.bashrc
—
Reply to this email directly, view it on GitHub
<#525 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJUY2ZDNIRBD4JMHCYHAV73YICF7XAVCNFSM6AAAAAAYQZMEUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBTGEZDKNBWGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
when you add the environment variable in the particular session then in that session of terminal are you able to use the cli? |
Unfortunately, no.
That's why I created the issue.
…On Wed, 6 Dec 2023, 17:42 sarvesh-git, ***@***.***> wrote:
when you add the environment variable in the particular session then in
that session of terminal are you able to use the cli?
—
Reply to this email directly, view it on GitHub
<#525 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJUY2ZDMRAXWKD7N2VD2K7TYICN7FAVCNFSM6AAAAAAYQZMEUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBTGI3DOMRUGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
i dont get it then, like you are saying, if you added the path to environment variable then atleast it should atleast work on the same terminal! can you please provide some more details, error logs or so? |
After setting the environment variable in the terminal window, It works on
that window, but when I open another window,
It says "Solana command not found"
…On Wed, 6 Dec 2023, 17:55 sarvesh-git, ***@***.***> wrote:
i dont get it then, like you are saying, if you added the *path to
environment variable* then atleast it should atleast work on the same
terminal!
can you please provide some more details, error logs or so?
—
Reply to this email directly, view it on GitHub
<#525 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJUY2ZDJBXORDRUHMUQMIGTYICPOJAVCNFSM6AAAAAAYQZMEUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBTGI4DOMZWGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Oh great! We on right track then glad 😌 it happened. Soooo now what u gotta do is simple, just save the env variable manually open your bashrc in nano and paste the env path at the bottom of the file and save it.
Then, at the bottom of file paste
With the actual path, save it and close it. |
Hi @Sarvesh-Ghildiyal I'm also having the same issue. I've tried your suggestions but it still doesn't work |
when you use the command after do this, work on normally link of reference: |
After downloading and extracting solana-cli binaries on my machine (Ubuntu 20.04 and 22.04), when i open a new terminal, i cannot access the solana command.
The text was updated successfully, but these errors were encountered: