Build Dependencies

This page lists the build dependencies for OpenNebula.

  • g++ compiler (>= 4.0)
  • xmlrpc-c development libraries (>= 1.06)
  • scons build tool (>= 0.98)
  • sqlite3 development libraries (if compiling with sqlite support) (>= 3.6)
  • mysql client development libraries (if compiling with mysql support) (>= 5.1)
  • postgresql client development libraries (if compiling with PostgrSQL support) (>= 9.2)
  • libxml2 development libraries (>= 2.7)
  • libvncserver development libraries (>= 0.9)
  • openssl development libraries (>= 0.9.8)
  • ruby interpreter (>= 2.0.0)

Ubuntu 20.04

  • bash-completion
  • bison
  • debhelper (>= 7.0.50~)
  • default-jdk
  • flex
  • javahelper (>= 0.32)
  • libmysql++-dev
  • libsqlite3-dev
  • libssl-dev
  • libsystemd-dev
  • libws-commons-util-java
  • libxml2-dev
  • libxslt1-dev
  • libcurl4-openssl-dev
  • libcurl4
  • libvncserver-dev
  • postgresql-server-dev-all
  • python3-setuptools
  • ruby
  • scons

Ubuntu 18.04

  • bash-completion
  • bison
  • debhelper (>= 7.0.50~)
  • default-jdk
  • flex
  • javahelper (>= 0.32)
  • kpartx
  • libmysql++-dev
  • libsqlite3-dev
  • libssl-dev
  • libsystemd-dev
  • libws-commons-util-java
  • libxml2-dev
  • libxmlrpc3-client-java
  • libxmlrpc3-common-java
  • libxmlrpc-c++8-dev
  • libxslt1-dev
  • libcurl4-openssl-dev
  • libcurl4
  • libvncserver-dev
  • postgresql-server-dev-all
  • ruby
  • scons

Ubuntu 16.04

  • bash-completion
  • bison
  • debhelper (>= 7.0.50~)
  • default-jdk
  • flex
  • javahelper (>= 0.32)
  • kpartx
  • libmysql++-dev
  • libsqlite3-dev
  • libssl-dev
  • libsystemd-dev
  • libws-commons-util-java
  • libxml2-dev
  • libxmlrpc3-client-java
  • libxmlrpc3-common-java
  • libxmlrpc-c++8-dev
  • libxslt1-dev
  • libcurl4-openssl-dev
  • libvncserver-dev
  • postgresql-server-dev-all
  • ruby
  • scons

Debian 10

  • bison
  • default-jdk
  • flex
  • javahelper
  • libmysql++-dev
  • libsqlite3-dev
  • libssl-dev
  • libsystemd-dev
  • libws-commons-util-java
  • libxml2-dev
  • libxmlrpc-c++8-dev
  • libxmlrpc3-client-java
  • libxmlrpc3-common-java
  • libxslt1-dev
  • libvncserver-dev
  • postgresql-server-dev-all
  • ruby
  • scons

Debian 9

  • bison
  • default-jdk
  • flex
  • javahelper
  • libmysql++-dev
  • libsqlite3-dev
  • libssl-dev
  • libsystemd-dev
  • libws-commons-util-java
  • libxml2-dev
  • libxmlrpc-c++8-dev
  • libxmlrpc3-client-java
  • libxmlrpc3-common-java
  • libxslt1-dev
  • libvncserver-dev
  • postgresql-server-dev-all
  • ruby
  • scons

CentOS 8

  • gcc-c++
  • gnutls-devel
  • libcurl-devel
  • libjpeg-turbo-devel
  • libnsl2-devel
  • libpq-devel
  • libvncserver-devel
  • libxml2-devel
  • mysql-devel
  • openssh
  • openssl-devel
  • pkgconfig
  • python2-setuptools
  • python2-wheel
  • python3-devel
  • python3-rpm-macros
  • python3-scons
  • python3-setuptools
  • python3-wheel
  • ruby
  • sqlite-devel
  • systemd-devel
  • xmlrpc-c-devel

CentOS 7

  • gcc-c++
  • gnutls-devel
  • java-1.7.0-openjdk-devel
  • libcurl-devel
  • libjpeg-turbo-devel
  • libvncserver-devel
  • libxml2-devel
  • mysql-devel
  • openssh
  • openssl-devel
  • postgresql-devel
  • pkgconfig
  • ruby
  • scons
  • sqlite-devel
  • systemd-devel
  • xmlrpc-c
  • xmlrpc-c-devel
  • ws-commons-util

Arch

They are listed in this PKGBUILD.