Ruby Language Installation Linux - Compiling from source


`This way you will get the newest ruby but it has its downsides. Doing it like this ruby will not be managed by any application.

!! Remember to chagne the version so it coresponds with your !!

  1. you need to download a tarball find a link on an official website (
  2. Extract the tarball
  3. Install
$> wget
$> tar -xvzf ruby-2.3.3.tar.gz
$> cd ruby-2.3.3
$> ./configure
$> make
$> sudo make install

This will install ruby into /usr/local. If you are not happy with this location you can pass an argument to the ./configure --prefix=DIR where DIR is the directory you want to install ruby to.