readme: simplify prerequisites section

This commit is contained in:
Jacek Sieka 2019-10-22 14:03:48 +02:00 committed by GitHub
parent 43f353e665
commit ee52e86781
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 35 deletions

View File

@ -28,52 +28,26 @@ You can check where the beacon chain fits in the Ethereum research ecosystem in
(On Windows, a precompiled DLL collection download is available through the `fetch-dlls` Makefile target: ([Windows instructions](#windows)).) (On Windows, a precompiled DLL collection download is available through the `fetch-dlls` Makefile target: ([Windows instructions](#windows)).)
#### Go * [RocksDB](https://github.com/facebook/rocksdb/)
* PCRE
The go compiler, at least version 1.12 should be installed and in your path. * Go 1.12 (for compiling libp2p daemon - being phased out)
This is a dependency until we can replace the go-libp2p-daemon with a native Nim implementation of [LibP2P](https://github.com/libp2p/libp2p). * GNU Make, Bash and the usual POSIX utilities. Git 2.9.4 or newer.
#### Rocksdb
A recent version of Facebook's [RocksDB](https://github.com/facebook/rocksdb/) is needed - it can usually be installed using your system's package manager:
```bash ```bash
# MacOS with Homebrew # MacOS with Homebrew
brew install rocksdb brew install rocksdb pcre
# Fedora # Fedora
dnf install rocksdb-devel dnf install rocksdb-devel pcre
# Debian and Ubuntu # Debian and Ubuntu
sudo apt-get install librocksdb-dev sudo apt-get install librocksdb-dev libpcre3-dev
# Arch (AUR) # Arch (AUR)
pakku -S rocksdb pakku -S rocksdb pcre-static
``` ```
You can also build and install it by following [their instructions](https://github.com/facebook/rocksdb/blob/master/INSTALL.md). `rocksdb` can also be installed folloing [their instructions](https://github.com/facebook/rocksdb/blob/master/INSTALL.md).
#### PCRE
If you don't already have it, you will also need PCRE to build nim-beacon-chain.
```bash
# MacOS with Homebrew
brew install pcre
# Fedora
dnf install pcre
# Debian and Ubuntu
sudo apt-get install libpcre3-dev
# Arch (AUR)
pakku -S pcre-static
```
#### Developer tools
GNU Make, Bash and the usual POSIX utilities. Git 2.9.4 or newer.
### Build & Develop ### Build & Develop