-
Notifications
You must be signed in to change notification settings - Fork 21.6k
Installation Instructions for FreeBSD
Binary packages tend not to be up to date (1.8.9 at the time of writing) with the latest version (1.8.16 at the time of writing). It is recommended that you use ports or compile it yourself.
pkg install go-ethereumThe geth command is then available on your system in /usr/local/bin/geth, you can start it e.g. on the testnet by typing:
geth -rinkebyGo to the net-p2p/go-ethereum ports directory:
cd /usr/ports/net-p2p/go-ethereumThen build it the standard way (as root):
make installPorts are slightly more up to date (1.8.14 at the time of writing)
Clone the repository to a directory of your choosing:
git clone https://github.com/ethereum/go-ethereumBuilding geth requires the Go compiler:
pkg install goIf your golang version is >= 1.5, build the geth program using the following command.
cd go-ethereum
make gethIf your golang version is < 1.5 (quarterly packages, for example), use the following command instead.
cd go-ethereum
CC=clang make gethYou can now run build/bin/geth to start your node.