From b6f2cfa64c78b050e7bea4d0a42d9c79df5a2db2 Mon Sep 17 00:00:00 2001 From: martinl Date: Sat, 31 Aug 2024 06:46:03 +0300 Subject: [PATCH] Update README.md Add install instructions for Rocky Linux/RHEL/Centos/Fedora --- README.md | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5644e06dea..44e9b64db5 100644 --- a/README.md +++ b/README.md @@ -13,17 +13,29 @@ Your feedback, contributions, and issue reports will be integral to evolving thi 1. Install general prerequisites + Debian/Ubuntu ```bash sudo apt install curl git build-essential libssl-dev pkg-config ``` + Rocky Linux/RHEL/CentOS/Fedora + ```bash + sudo dnf install curl git pkg-config zlib-devel make gcc perl openssl-devel + ``` - 2. Install Protobuf (required for gRPC) - + 3. Install Protobuf (required for gRPC) + + Debian/Ubuntu ```bash - sudo apt install protobuf-compiler libprotobuf-dev #Required for gRPC + sudo apt install protobuf-compiler libprotobuf-dev ``` - 3. Install the clang toolchain (required for RocksDB and WASM secp256k1 builds) + Rocky Linux/RHEL/CentOS + ```bash + sudo dnf install protobuf-compiler protobuf-devel + ``` + + 5. Install the clang toolchain (required for RocksDB and WASM secp256k1 builds) + Debian/Ubuntu ```bash sudo apt-get install clang-format clang-tidy \ clang-tools clang clangd libc++-dev \ @@ -33,6 +45,11 @@ Your feedback, contributions, and issue reports will be integral to evolving thi lld lldb llvm-dev llvm-runtime \ llvm python3-clang ``` + Rocky Linux/RHEL/CentOS/Fedora + ```bash + sudo dnf install clang + ``` + 3. Install the [rust toolchain](https://rustup.rs/) If you already have rust installed, update it by running: `rustup update`