mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
readme: update for go modules
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
parent
f47ed25a8b
commit
09868574ac
19
README.md
19
README.md
@ -132,29 +132,14 @@ export PATH=$PATH:$GOPATH/bin
|
||||
#### Download and Compile IPFS
|
||||
|
||||
```
|
||||
$ go get -u -d github.com/ipfs/go-ipfs
|
||||
$ git https://github.com/ipfs/go-ipfs.git
|
||||
|
||||
$ cd $GOPATH/src/github.com/ipfs/go-ipfs
|
||||
$ cd go-ipfs
|
||||
$ make install
|
||||
```
|
||||
|
||||
If you are building on FreeBSD instead of `make install` use `gmake install`.
|
||||
|
||||
#### Building on less common systems
|
||||
|
||||
If your operating system isn't officially supported, but you still want to try
|
||||
building ipfs anyways (it should work fine in most cases), you can do the
|
||||
following instead of `make install`:
|
||||
|
||||
```
|
||||
$ make install_unsupported
|
||||
```
|
||||
|
||||
Note: This process may break if [gx](https://github.com/whyrusleeping/gx)
|
||||
(used for dependency management) or any of its dependencies break as `go get`
|
||||
will always select the latest code for every dependency, often resulting in
|
||||
mismatched APIs.
|
||||
|
||||
#### Troubleshooting
|
||||
|
||||
- Separate [instructions are available for building on Windows](docs/windows.md).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user