-
Notifications
You must be signed in to change notification settings - Fork 972
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
Why two distinct commands to install binary? #3169
Comments
It exists to support two ways of installing the binary. The native go way and native linux way which doesn't rely on Personally, I never use Another option I see is to unify them into one |
Personally, I always try to use
Then I recall that I'm supposed to use |
i think it is clearly documented in Celestia docs, if you all think this needs to be more clear let me know. also, thinking maybe it could be better documented in celestia-node itself? |
@jcstein, i meant to document better n celestia-node side, docs are good imo |
…nstall everywhere else (#3197) <!-- Thank you for submitting a pull request! Please make sure you have reviewed our contributors guide before submitting your first PR. Please ensure you've addressed or included references to any related issues. Tips: - Use keywords like "closes" or "fixes" followed by an issue number to automatically close related issues when the PR is merged (e.g., "closes #123" or "fixes #123"). - Describe the changes made in the PR. - Ensure the PR has one of the required tags (kind:fix, kind:misc, kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci, kind:chore, kind:testing) --> refs #3169 Suggestion we add this little detect and switch. One issue i see with attempting to detect GOBIN is that it doesn't HAVE to be set (ie: there can be a default). This i would think is a good quick compromise to un-confuse @rootulp and (potentially) other devs and make this behavior more delightful most of the time. IF not, we should close this and the other issue. --------- Co-authored-by: Rootul P <[email protected]>
…nstall everywhere else (celestiaorg#3197) <!-- Thank you for submitting a pull request! Please make sure you have reviewed our contributors guide before submitting your first PR. Please ensure you've addressed or included references to any related issues. Tips: - Use keywords like "closes" or "fixes" followed by an issue number to automatically close related issues when the PR is merged (e.g., "closes #123" or "fixes #123"). - Describe the changes made in the PR. - Ensure the PR has one of the required tags (kind:fix, kind:misc, kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci, kind:chore, kind:testing) --> refs celestiaorg#3169 Suggestion we add this little detect and switch. One issue i see with attempting to detect GOBIN is that it doesn't HAVE to be set (ie: there can be a default). This i would think is a good quick compromise to un-confuse @rootulp and (potentially) other devs and make this behavior more delightful most of the time. IF not, we should close this and the other issue. --------- Co-authored-by: Rootul P <[email protected]>
…nstall everywhere else (celestiaorg#3197) <!-- Thank you for submitting a pull request! Please make sure you have reviewed our contributors guide before submitting your first PR. Please ensure you've addressed or included references to any related issues. Tips: - Use keywords like "closes" or "fixes" followed by an issue number to automatically close related issues when the PR is merged (e.g., "closes #123" or "fixes #123"). - Describe the changes made in the PR. - Ensure the PR has one of the required tags (kind:fix, kind:misc, kind:break!, kind:refactor, kind:feat, kind:deps, kind:docs, kind:ci, kind:chore, kind:testing) --> refs celestiaorg#3169 Suggestion we add this little detect and switch. One issue i see with attempting to detect GOBIN is that it doesn't HAVE to be set (ie: there can be a default). This i would think is a good quick compromise to un-confuse @rootulp and (potentially) other devs and make this behavior more delightful most of the time. IF not, we should close this and the other issue. --------- Co-authored-by: Rootul P <[email protected]>
Context
Step 4 of https://docs.celestia.org/nodes/celestia-node#install-celestia-node shows that the install command differs for Mac and Ubuntu.
make go-install
go install
to put binary in $GOPATH/bin (if GOPATH is set) or $HOME/go/bin (if GOPATH is not set)make install
install
to put binary in/usr/local/bin
Question
I'm wondering why? A prerequisite to this page is the development environment steps which instruct users to Install Go and configure PATH to include:
/usr/local/go/bin
$HOME/go/bin
So it seems to me like we only need to support the Go install command. Concretely, on a Linux machine, I can do:
Proposal
make install
command.make install
command to do the same asmake go-install
.The text was updated successfully, but these errors were encountered: