Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation? #11

Closed
Billy- opened this issue Mar 22, 2019 · 4 comments
Closed

Installation? #11

Billy- opened this issue Mar 22, 2019 · 4 comments

Comments

@Billy-
Copy link

Billy- commented Mar 22, 2019

I downloaded the latest release and stuck in in /usr/local/bin and ran chmod +x jd. Trying to run it (in any way) results in exec format error: jd.

Did I install correctly? Do I need go installed to run this?

I'm on OSX.

🙇

@drjonnicholson
Copy link

I installed this using asdf (https://github.com/asdf-vm/asdf) without a problem... which is a cool project worth looking at.

If you install it all you need to do is:

asdf plugin-add golang
asdf install golang 1.12.1
asdf global golang 1.12.1
go get github.com/josephburnett/jd

You may need to reshim after installing if you can't run jd, which is easy as asdf reshim golang

@josephburnett
Copy link
Owner

I'm on OSX

I built the binary for Linux. You should build it from source instead. Should be pretty straight forward since jd has no dependencies outside the standard library.

@Billy-
Copy link
Author

Billy- commented Apr 3, 2019

I installed this using asdf

That looked like it worked at first (install worked, global had no output but exited 0) but go is not found..

You should build it from source instead

is that what installing go and running go get github.com/josephburnett/jd is?

@josephburnett
Copy link
Owner

josephburnett commented Apr 4, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants