Toby Schneider edited this page May 26, 2016 · 2 revisions

These instructions are for installing Goby from source code for developers, users of distributions without a Goby package, and generally ambitious individuals.

Get Code

Please download or checkout the code using bazaar. Currently, version 2.1 is the preferred stable series for new projects.


VCS Access (bazaar)

If you are a Goby developer or want the cutting edge version of Goby, use these instructions here. Please note that this code is likely to contain bugs.

  • Install bazaar (bzr) version control system:
  • Check out a branch of the goby project:
    • Read-only:

      bzr checkout lp:goby/2.1

      (Please note that the following message that is displayed by bzr is not an error, as you are only attempting to gain read access to goby (not write): You have not informed bzr of your Launchpad ID, and you must do this to write to Launchpad or access private data. See "bzr help launchpad-login". )

    • Read / write (developers of goby):

Configure, Compile, and Install

Goby uses CMake to configure its build environment. If you are comfortable using cmake, go ahead and use it as normal. If you have never used CMake, you can build Goby using the provided scripts as explained in this section:

  • Install DCCL3: See

  • Satisfy additional third-party library dependences (boost, etc.):

    • Ubuntu:

      cd goby; sudo ./DEPENDENCIES ubuntu
    • Debian:

      cd goby; sudo ./DEPENDENCIES debian
    • Everyone else: install Boost and Google Protocol Buffers. If you need more functionality read the DEPENDENCIES to see what packages to install on your system.

  • Compile* to goby/bin, goby/lib, and goby/include:

    cd goby; ./
  • To install to /usr/local (optional):

    sudo ./ install
  • To install to some other location (e.g. /home/me/test/usr)

    GOBY_CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=/home/me/test/usr" ./ install
  • To compile with four jobs (make -j4)

    ./ -j4


    GOBY_MAKE_FLAGS="-j4" ./
  • To compile with debug symbols

  • Display all available CMake flags (to be set with GOBY_CMAKE_FLAGS="-DSOME_FLAG=ON")

    cmake -LAH goby/build
  • Optionally enable / disable building of components (such as examples and tools) and fine tuning of build system:

    sudo apt-get install cmake-gui
    cmake-gui goby/build
  • In some versions of Goby, is named BUILD. This was renamed in later revisions to avoid name conflicts with the directory build on case-insensitive filesystems.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.