Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • cmake 3.2 or higher
  • Misc apt-get dependencies (see below)
  • JDK8
  • Recent Apache Maven (3.3.9 and higher)
  • Recent Ruby (2.5.x will do), see instructions below on building from source
  • Ruby Bundler gem dependencies (see below)
  • NodeJS 10.1 and higher

Confirm that the following are in your path after following below steps and work:

  • mvn
  • npm
  • ruby
  • bundle
  • cmake

Install apt dependencies

...

Code Block
# Build and install Ruby from source
sudo apt-get build-dep -y ruby-defaults
wget -O ruby.tar.gzRUBY_VERSION=2.5.1
wget https://cache.ruby-lang.org/pub/ruby/2.5/$(echo $RUBY_VERSION | sed -e 's/\.[0-9]*$//')/ruby-2.5.0.$RUBY_VERSION.tar.gz
tar xvf ruby-$RUBY_VERSION.tar.gz
pushd ruby-2.5.0$RUBY_VERSION
CC=gcc ./configure --prefix=$HOME/ruby
CC=gcc make -j8
make install
popd
rm -rf ruby-$RUBY_VERSION
rm -rf ruby-$RUBY_VERSION.tar.gz

Remember to add this Ruby to your PATH in your Bash profile

...

Code Block
# GLib dependencies
gem install test-unit gobject-introspectionbundler