Skip to content

Commit

Permalink
Update nim-rocksdb to latest version and cleanup outdated RocksDb ins…
Browse files Browse the repository at this point in the history
…tall instructions in readme. (#2566)
  • Loading branch information
web3-developer committed Aug 16, 2024
1 parent 43d93bc commit 9699293
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
28 changes: 1 addition & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,8 @@ For more detailed write-ups on the development progress, follow the

### Prerequisites

* [RocksDB](https://github.com/facebook/rocksdb/)
* GNU Make, Bash and the usual POSIX utilities. Git 2.9.4 or newer.

On Windows, a precompiled DLL collection download is available through the `fetch-dlls` Makefile target: ([Windows instructions](#windows)).

```bash
# MacOS with Homebrew
brew install rocksdb

# Fedora
dnf install rocksdb-devel

# Debian and Ubuntu
sudo apt-get install librocksdb-dev

# Arch (AUR)
pakku -S rocksdb
```

`rocksdb` can also be installed by following [their instructions](https://github.com/facebook/rocksdb/blob/master/INSTALL.md).

#### Obtaining the prerequisites through the Nix package manager

*Experimental*
Expand Down Expand Up @@ -174,13 +155,6 @@ sudo apt-get install git libgflags-dev libsnappy-dev
mkdir status
cd status

# Install rocksdb
git clone https://github.com/facebook/rocksdb.git
cd rocksdb
make shared_lib
sudo make install
cd..

# Raspberry pi doesn't include /usr/local/lib in library search path - need to add
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

Expand All @@ -205,7 +179,7 @@ Note, the Ubuntu PRoot is known to contain all Nimbus prerequisites compiled on

```bash
# Install prerequisites
apt install git make gcc librocksdb-dev
apt install git make gcc

# Clone repo and build Nimbus just like above
git clone https://github.com/status-im/nimbus.git
Expand Down

0 comments on commit 9699293

Please sign in to comment.