timpalpant/go-iex

Command not found

devanshuDesai opened this issue · 2 comments

go install github.com/timpalpant/go-iex/pcap2json does not add a pcap2json path to the root directory making it unusable for an otherwise useful pcap2json tool.

Note: A workaround for this issue is to clone the repo and move your pcap file into the same directory as pcap2json. Now, running go run main.go < input.pcap > output.json should work as expected. However, it'd be great if the dev can fix the path issue with pcap2json.

You should add $GOROOT/bin to your PATH, as described in https://golang.org/doc/install#install

Alternatively, you can use go build and then move the pcap2json binary to your favorite location.