-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
go get: no install location for directory /opt/gobuster outside GOPATH #82
Comments
try without sudo and cd into /gobuster then go build |
In main.go you'll notice the following:
Specifically, this line:
What this is doing when you do a
Typically, your gopath will default to /go/ under your home directory. So, if you're on kali linux and you've done a barebone go install, that path will be There's a few solutions to this:
Option 1 is fairly easy for you to google, as it option 3. Since option 2 accomplishes what you are asking here, let's focus on that: Gathering DependenciesTo add the gobuster dependencies to your gopath, you do the following:
Build the applicationYou can then do a UpdatingIf you take this approach you can't simply
|
Thanks @codingo for handling this one. |
For me it worked to execute : |
When running: sudo go get && go build from /opt/gobuster/ I get the following
go get: no install location for directory /opt/gobuster outside GOPATH
For more details see: 'go help gopath'
The text was updated successfully, but these errors were encountered: