Coder Social home page Coder Social logo

command not found about netcap HOT 7 CLOSED

dreadl0ck avatar dreadl0ck commented on May 28, 2024
command not found

from netcap.

Comments (7)

dreadl0ck avatar dreadl0ck commented on May 28, 2024

How did you compile? The executables are not in your $PATH

from netcap.

krishnakdkce avatar krishnakdkce commented on May 28, 2024

go/src/github.com/dreadl0ck # GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o netcap-linux -i github.com/dreadl0ck/netcap/cmd
can't load package: package github.com/dreadl0ck/netcap/cmd: no Go files in /go/src/github.com/dreadl0ck/netcap/cmd

from netcap.

krishnakdkce avatar krishnakdkce commented on May 28, 2024

but i am using ubuntu

from netcap.

dreadl0ck avatar dreadl0ck commented on May 28, 2024

Try this:

#!/bin/bash
# generated by ZEUS v_master
# Timestamp: [Mon Jun 17 15:27:30 2019]
 
 
VERSION="0.4.0"
go build -ldflags "-X github.com/dreadl0ck/netcap.Version=v${VERSION}" -o $(go env GOPATH)/bin/net.capture -i github.com/dreadl0ck/netcap/cmd/capture
go build -ldflags "-X github.com/dreadl0ck/netcap.Version=v${VERSION}" -o $(go env GOPATH)/bin/net.label -i github.com/dreadl0ck/netcap/cmd/label
go build -ldflags "-X github.com/dreadl0ck/netcap.Version=v${VERSION}" -o $(go env GOPATH)/bin/net.collect -i github.com/dreadl0ck/netcap/cmd/collect
go build -ldflags "-X github.com/dreadl0ck/netcap.Version=v${VERSION}" -o $(go env GOPATH)/bin/net.agent -i github.com/dreadl0ck/netcap/cmd/agent
go build -ldflags "-X github.com/dreadl0ck/netcap.Version=v${VERSION}" -o $(go env GOPATH)/bin/net.proxy -i github.com/dreadl0ck/netcap/cmd/proxy
go build -ldflags "-X github.com/dreadl0ck/netcap.Version=v${VERSION}" -o $(go env GOPATH)/bin/net.export -i github.com/dreadl0ck/netcap/cmd/export
go build -ldflags "-X github.com/dreadl0ck/netcap.Version=v${VERSION}" -o $(go env GOPATH)/bin/net.dump -i github.com/dreadl0ck/netcap/cmd/dump
go build -ldflags "-X github.com/dreadl0ck/netcap.Version=v${VERSION}" -o $(go env GOPATH)/bin/net.util -i github.com/dreadl0ck/netcap/cmd/util
echo done

from netcap.

dreadl0ck avatar dreadl0ck commented on May 28, 2024

The 0.4 release contains precompiled binaries for linux by the way: https://github.com/dreadl0ck/netcap/releases/tag/v0.4.0

from netcap.

krishnakdkce avatar krishnakdkce commented on May 28, 2024

thanks for quick reply,let me do that

from netcap.

krishnakdkce avatar krishnakdkce commented on May 28, 2024

thanks it wok well

from netcap.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.