Skip to content

building vg (or not building vg)

Eric T. Dawson edited this page Sep 15, 2016 · 9 revisions

Before we begin

vg isn't exactly easy to build. We use a lot of external libraries, many of which are quite large and might themselves have external dependencies.

If you want to try vg before committing to the build process, checkout our docker image (and please lets know if it doesn't work for you!).

Basics

Alright, we need a few things before we even think about building vg:

  1. A modern version (4.9+) of GCC.
  2. zlib
  3. Raptor
  4. RDFutils
  5. A lot of patience.

Git the vg source code

Move to your desired build directory - let's just say ~ - and grab the source code from github.

          cd ~
          git clone --recursive https://github.com/vgteam/vg.git

This will probably take a few minutes, depending on your connection speed.

Let's build it

Alright, first we need to prep our environment. We wrote a script to do this for you:

      cd vg
      source source_me.sh
Clone this wiki locally