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

docs: Add how to build dragonfly on Fedora #822

Merged
merged 1 commit into from
Feb 20, 2023
Merged
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
27 changes: 18 additions & 9 deletions docs/build-from-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,30 @@
Dragonfly runs on linux. We advice running it on linux version 5.11 or later
but you can also run Dragonfly on older kernels as well.

### WARNING: Building from source on older kernels WILL NOT WORK.

## Step 1
## Step 1 - install dependencies

```bash
git clone --recursive https://github.com/dragonflydb/dragonfly && cd dragonfly
```
On Debian/Ubuntu:

## Step 2
```bash
# Install dependencies
sudo apt install ninja-build libunwind-dev libboost-fiber-dev libssl-dev \
autoconf-archive libtool cmake g++ libzstd-dev
```

## Step 3
On Fedora:

```bash
sudo yum install automake boost-devel g++ git cmake libtool ninja-build libzstd-devel \
openssl-devel libunwind-devel autoconf-archive patch
```

## Step 2 - clone the project

```bash
git clone --recursive https://github.com/dragonflydb/dragonfly && cd dragonfly
```

## Step 3 - configure & build it

```bash
# Configure the build
Expand All @@ -31,7 +39,8 @@ cd build-opt && ninja dragonfly

```

## Step 4
## Step 4 - voilà

```bash
# Run
./dragonfly --alsologtostderr
Expand Down