Linux下ubuntu18.04安装peth报错

env GO111MODULE=on go run build/ci.go install ./cmd/geth
build/ci.go:61:2: cannot find package “github.com/cespare/cp” in any of:
/usr/lib/go-1.10/src/github.com/cespare/cp (from $GOROOT)
/home/linux/go/src/github.com/cespare/cp (from $GOPATH)
build/ci.go:62:2: cannot find package “github.com/ethereum/go-ethereum/internal/build” in any of:
/usr/lib/go-1.10/src/github.com/ethereum/go-ethereum/internal/build (from $GOROOT)
/home/linux/go/src/github.com/ethereum/go-ethereum/internal/build (from $GOPATH)
build/ci.go:63:2: cannot find package “github.com/ethereum/go-ethereum/params” in any of:
/usr/lib/go-1.10/src/github.com/ethereum/go-ethereum/params (from $GOROOT)
/home/linux/go/src/github.com/ethereum/go-ethereum/params (from $GOPATH)
Makefile:16: recipe for target ‘geth’ failed
make: *** [geth] Error 1

你可能感兴趣的:(Linux下ubuntu18.04安装peth报错)