Skip to content

Instantly share code, notes, and snippets.

@Lathanao
Last active March 12, 2024 10:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lathanao/3235c9cffbf994f9c62ec755bab66e12 to your computer and use it in GitHub Desktop.
Save Lathanao/3235c9cffbf994f9c62ec755bab66e12 to your computer and use it in GitHub Desktop.
Compile FalkorDB on Manjaro

First:

$ pamac install cmake

Then:

$ cd ~/Download
$ wget https://www.piumarta.com/software/peg/peg-0.1.18.tar.gz
$ sudo tar -xzvf *.tar.gz 
$ cp ./peg-0.1.18/peg /bin
$ cp ./peg-0.1.18/leg /bin

Next:

$ cd ~/Download
$ git clone --recurse-submodules -j8 https://github.com/FalkorDB/FalkorDB.git
$ make

Check the library:

$ ls ./bin/linux-x64-release/src/
$ file ./bin/linux-x64-release/src/falkordb.so

Lastly, run and check:

$ redis-server /Your/Path/Redis/Redis.conf --loadmodule /Your/Path/FalkorDB/bin/linux-x64-release/src/falkordb.so
$ pidof redis-server
$ ss -ltp4

Ultimately:

$ pkill redis-server
$ pidof redis-server
$ ss -ltp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment