Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md - add install instructions for Rocky Linux/RHEL/CentOS/Fedora #534

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Collaborator

@saefstroem saefstroem Oct 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this step not required for Fedora or is it a typo?

```bash
sudo dnf install protobuf-compiler protobuf-devel
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

protobuf-compiler is not available in the package registry for CentOS. Most sources online refer to building from source. Please add link to source build or revisit this part to ensure that installation instructions work across CentOS-based systems.

```

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 \
Expand All @@ -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`
Expand Down