emersion/hydroxide

Unable to install Hydroxide

ttrakker opened this issue · 1 comments

Hello, what do I need to do to get hydroxide command to work? I follow the instructions, go does some downloading as seen below then not sure how to run hydroxide auth command? I have tried changing to hydroxide folder but doesn't work for me.

root@h:~# GO111MODULE=on go build ./cmd/hydroxide
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
root@
:# cd hydroxide/
root@*****:
/hydroxide# GO111MODULE=on go build ./cmd/hydroxide
go: downloading github.com/ProtonMail/go-crypto v0.0.0-20220819155348-b76dceea2ffa
go: downloading github.com/emersion/go-imap v1.2.1
go: downloading github.com/emersion/go-mbox v1.0.3
go: downloading github.com/emersion/go-smtp v0.15.0
go: downloading golang.org/x/term v0.0.0-20220722155259-a9ba230a4035
go: downloading github.com/emersion/go-sasl v0.0.0-20211008083017-0b9dcfb154ac
go: downloading golang.org/x/crypto v0.0.0-20220817201139-bc19a97f63c8
go: downloading github.com/emersion/go-vcard v0.0.0-20220507122617-d4056df0ec4a
go: downloading github.com/emersion/go-webdav v0.3.2-0.20220524091811-5d845721d8f7
go: downloading github.com/emersion/go-message v0.16.0
go: downloading github.com/emersion/go-bcrypt v0.0.0-20170822072041-6e724a1baa63
go: downloading golang.org/x/sys v0.0.0-20220818161305-2296e01440c6
go: downloading github.com/emersion/go-textwrapper v0.0.0-20200911093747-65d896831594
go: downloading github.com/boltdb/bolt v1.3.1
go: downloading github.com/cloudflare/circl v1.2.0
go: downloading golang.org/x/text v0.3.7
root@*****:~/hydroxide# hydoxide auth
hydoxide: command not found

Thanks

Spelling error (hydoxide)? If go exits successfully, hydroxide binary has been created in the root of the source folder. Copy it to any location in $PATH and run it as any program or use an absolute/relative path before the binary to execute it like ~/hydroxide/hydroxide auth ... .