notaryproject / notary

Notary is a project that allows anyone to have trust over arbitrary collections of data
Apache License 2.0
3.19k stars 504 forks source link

unable to pull notary #1368

Open leeadh opened 6 years ago

leeadh commented 6 years ago

Dear all,

I installed go on Ubuntu and I cd to my desktop and i did the below

$ go get github.com/theupdateframework/notary

build with pcks11 support by default to support yubikey

$ go install -tags pkcs11 github.com/theupdateframework/notary/cmd/notary $ notary

but when i did notary it says command not found. what am i doing wrong pls

cyli commented 6 years ago

Is /go/bin in your path? That's where go install puts the binary.

Also, when you ran go install -tags pkcs11 github.com/theupdateframework/notary/cmd/notary did you get any errors, such as fatal error: ltdl.h: No such file or directory? If so, on ubuntu you need to apt-get update; apt-get install libltdl-dev

LionHeart7735 commented 5 years ago

Is /go/bin in your path? That's where go install puts the binary.

Also, when you ran go install -tags pkcs11 github.com/theupdateframework/notary/cmd/notary did you get any errors, such as fatal error: ltdl.h: No such file or directory? If so, on ubuntu you need to apt-get update; apt-get install libltdl-dev

What if i using Windows ?