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

issue installing go-ipfs #4534

Closed
RedaBenh opened this issue Dec 31, 2017 · 3 comments
Closed

issue installing go-ipfs #4534

RedaBenh opened this issue Dec 31, 2017 · 3 comments
Labels
kind/support A question or request for support

Comments

@RedaBenh
Copy link

RedaBenh commented Dec 31, 2017

Cannot install it on mac OS X. try with both go-ipfs_v0.4.13_darwin-386.tar.gz and go-ipfs_v0.4.13_darwin-amd64.tar.gz

$ sudo ./go-ipfs/install.sh
We cannot install ipfs in one of the directories /usr/local/bin /usr/bin
@leerspace
Copy link
Contributor

leerspace commented Jan 4, 2018

@RedaBenh What version of Mac OS X are you on?

The installer works just fine for me on macOS High Sierra 10.13.1. There shouldn't be anything stopping you from writing to /usr/local/bin, but /usr/bin is going to be locked down by default on later versions of macOS (even for sudo).

@qezz
Copy link

qezz commented Jan 10, 2018

@RedaBenh

You can also check for missing ipfs in ./go-ipfs/ directory

e.g. with this one-liner: if [[ -f ./go-ipfs/ipfs ]]; then; echo "ipfs binary is present"; else; echo "ipfs binary not found"; fi

@victorb
Copy link
Member

victorb commented Jan 11, 2018

You need to run install.sh from within the go-ipfs directory.

So, download the tar, extract it and then cd go-ipfs && ./install.sh and it should work fine.

In the next version, it'll be possible to run install.sh from any directory, since #4547 was merged

@magik6k magik6k added the kind/support A question or request for support label May 14, 2019
@magik6k magik6k closed this as completed May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support A question or request for support
Projects
None yet
Development

No branches or pull requests

5 participants