github.com/palcoin-project/palcd@v1.0.0/docs/installation.md (about) 1 # Installation 2 3 The first step is to install btcd. See one of the following sections for 4 details on how to install on the supported operating systems. 5 6 ## Requirements 7 8 [Go](http://golang.org) 1.11 or newer. 9 10 ## GPG Verification Key 11 12 All official release tags are signed by Conformal so users can ensure the code 13 has not been tampered with and is coming from the btcsuite developers. To 14 verify the signature perform the following: 15 16 * Download the Conformal public key: 17 https://raw.githubusercontent.com/btcsuite/btcd/master/release/GIT-GPG-KEY-conformal.txt 18 19 * Import the public key into your GPG keyring: 20 21 ```bash 22 gpg --import GIT-GPG-KEY-conformal.txt 23 ``` 24 25 * Verify the release tag with the following command where `TAG_NAME` is a 26 placeholder for the specific tag: 27 28 ```bash 29 git tag -v TAG_NAME 30 ``` 31 32 ## Windows Installation 33 34 * Install the MSI available at: [btcd windows installer](https://github.com/palcoin-project/btcd/releases) 35 * Launch btcd from the Start Menu 36 37 ## Linux/BSD/MacOSX/POSIX Installation 38 39 * Install Go according to the [installation instructions](http://golang.org/doc/install) 40 * Ensure Go was installed properly and is a supported version: 41 42 ```bash 43 go version 44 go env GOROOT GOPATH 45 ``` 46 47 NOTE: The `GOROOT` and `GOPATH` above must not be the same path. It is 48 recommended that `GOPATH` is set to a directory in your home directory such as 49 `~/goprojects` to avoid write permission issues. It is also recommended to add 50 `$GOPATH/bin` to your `PATH` at this point. 51 52 * Run the following commands to obtain btcd, all dependencies, and install it: 53 54 ```bash 55 git clone https://github.com/btcsuite/btcd $GOPATH/src/github.com/btcsuite/btcd 56 cd $GOPATH/src/github.com/btcsuite/btcd 57 GO111MODULE=on go install -v . ./cmd/... 58 ``` 59 60 * btcd (and utilities) will now be installed in ```$GOPATH/bin```. If you did 61 not already add the bin directory to your system path during Go installation, 62 we recommend you do so now. 63 64 65 ## Startup 66 67 Typically btcd will run and start downloading the block chain with no extra 68 configuration necessary, however, there is an optional method to use a 69 `bootstrap.dat` file that may speed up the initial block chain download process. 70 71 * [Using bootstrap.dat](https://github.com/palcoin-project/palcd/blob/master/docs/configuration.md#using-bootstrapdat)