tfenv
tfenv copied to clipboard
Installation Challenges with Ubuntu 22.04
Found a bug? Maybe our Slack Community can help.
Describe the Bug
I don't know that I would call it a bug, but I could not get make to build the code for the life of me.
make go/build
make: *** No rule to make target 'go/build'. Stop.
Expected Behavior
What did work for me and was more strait forward was just using the go install process that is available in 1.17 and above.
go install github.com/cloudposse/tfenv@latest
go: downloading github.com/cloudposse/tfenv v0.0.0-20200228015332-fb2bbf69b648
go: finding module for package github.com/taskcluster/shell
go: downloading github.com/taskcluster/shell v0.0.0-20191115171910-c688067f12d3
go: found github.com/taskcluster/shell in github.com/taskcluster/shell v0.0.0-20191115171910-c688067f12d3
After doing the above I needed to make sure the gopath was added to my environment and was then able to use tfenv
.
Which I pulled from here: https://stackoverflow.com/questions/30295146/how-can-i-install-a-package-with-go-get
Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:
- OS: [e.g. Linux, OSX, WSL, etc] Ubuntu 22.04
- Version [e.g. 10.15]