Archives For November 30, 1999

This is a step by step beginners guide shows how to install Ruby and setup local programming environment in Ubuntu 24.04 LTS.

Ruby is an interpreted, high-level programming language designed with an emphasis on programming productivity and simplicity. It was first released 29 years ago in 1995, by Yukihiro Matsumoto in Japan.

Ruby is available to install in Ubuntu in a few different ways, they include:

  • Snap package.
  • Deb package in system repository.
  • Third-party manager with multiple version support.
  • Build from source.

And, here’s how to install them in Ubuntu step by step.
Continue Reading…

Ruby, interpreted object-oriented scripting language, now can be installed easily in Ubuntu 16.04 and higher via Snap package.

The official Ruby snap, containerised software package, was finally released for Linux Desktop. While Ruby is always old in Ubuntu universe repositories, Ruby snap is always updated!

How to Install Ruby Snap in Ubuntu:

1. (Only required for Ubuntu 16.04) Open terminal (Ctrl+Alt+T) and run command to make sure snapd daemon is installed:

sudo apt install snapd snapd-xdg-open

Type user password (no asterisks feedback) when it prompts and hit Enter to continue.

2. For Ubuntu 18.04 and higher, directly install the Ruby snap from Ubuntu Software:

or install it via command (also works in Ubuntu 16.04):

snap install ruby --classic

3. Once installed successfully, check via command /snap/bin/ruby --version:

That’s it!