rekor-cli installation through go
Description
I tried to install rekor-cli through go on an ubuntu server on killercoda.com using "go install -v github.com/sigstore/rekor/cmd/rekor-cli@latest" but it was not successful, however I was able to do it successfully manually using "git clone https://github.com/sigstore/rekor.git rekor-cli cd rekor-cli make rekor-cli cp rekor-cli /usr/local/bin/"
Version
Not Applicable
Hi!
What was your reproducing steps and error messages? I can run the go install successfully:
$ go install -v github.com/sigstore/rekor/cmd/rekor-cli@latest
I opened an environment on killercoda.com (https://killercoda.com/playgrounds/scenario/ubuntu) pasted the command $ go install -v github.com/sigstore/rekor/cmd/rekor-cli@latest after the execution, rekor-cli returns "command not found"
but if I do the installation manually with the below commands : "git clone https://github.com/sigstore/rekor.git rekor-cli cd rekor-cli make rekor-cli cp rekor-cli /usr/local/bin/" rekor installs correctly and rekor-cli works fine.
am i missing some thing.
I opened an environment on killercoda.com (https://killercoda.com/playgrounds/scenario/ubuntu) pasted the command $ go install -v github.com/sigstore/rekor/cmd/rekor-cli@latest after the execution, rekor-cli returns "command not found"
but if I do the installation manually with the below commands : "git clone https://github.com/sigstore/rekor.git rekor-cli cd rekor-cli make rekor-cli cp rekor-cli /usr/local/bin/" rekor installs correctly and rekor-cli works fine.
am i missing some thing.
Typically it means $GOBIN is not in $PATH
@Mohamed-AH please reopen if this is not a result of $GOBIN not being in your $PATH.