1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00

docs: Add how to build dragonfly on Fedora (#822)

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
Roman Gershman 2023-02-20 17:16:52 +02:00 committed by GitHub
parent d738d8d976
commit 8f1a2a49b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
On Debian/Ubuntu:
```bash
sudo apt install ninja-build libunwind-dev libboost-fiber-dev libssl-dev \
autoconf-archive libtool cmake g++ libzstd-dev
```
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 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
## Step 3 - configure & build it
```bash
# Configure the build
@ -31,7 +39,8 @@ cd build-opt && ninja dragonfly
```
## Step 4
## Step 4 - voilà
```bash
# Run
./dragonfly --alsologtostderr