去不安装包 k8s-oidc-helper
go get not installing package k8s-oidc-helper
无法使用 go 安装包。
我想安装 k8s-oidc-helper 包。根据安装指南,我必须安装 go 和 运行 k8s-oidc-helper 命令。但是当我尝试它时,它说找不到命令 k8s-oidc-helper。以下是我尝试过的命令
sudo apt install golang-go
export $GOPATH=/usr/share/go
sudo -E go get github.com/micahhausler/k8s-oidc-helper
但在此之后如果我尝试 k8s-oidc-helper command it says error command not found.
我认为 go
package
有一些错误
请确保 k8s-oidc-helper
存在于 /usr/share/go/bin
中,并且 /usr/share/go/bin
已添加到 PATH 环境变量中。
检查:
ls /usr/share/go/bin | grep k8s-oidc-helper
echo $PATH | grep /usr/share/go/bin
无法使用 go 安装包。 我想安装 k8s-oidc-helper 包。根据安装指南,我必须安装 go 和 运行 k8s-oidc-helper 命令。但是当我尝试它时,它说找不到命令 k8s-oidc-helper。以下是我尝试过的命令
sudo apt install golang-go
export $GOPATH=/usr/share/go
sudo -E go get github.com/micahhausler/k8s-oidc-helper
但在此之后如果我尝试 k8s-oidc-helper command it says error command not found.
我认为 go
package
请确保 k8s-oidc-helper
存在于 /usr/share/go/bin
中,并且 /usr/share/go/bin
已添加到 PATH 环境变量中。
检查:
ls /usr/share/go/bin | grep k8s-oidc-helper
echo $PATH | grep /usr/share/go/bin