ruby,

How to install Ruby on Debian 11

Sep 27, 2021 · 1 min read · Post a comment
How to install Ruby on Debian 11

Ruby as a programming language belongs to the group with a high demand along with the other popular programming languages. Nowadays his framework ruby on rails is highly used by developers for building web-based applications. Let’s see how can you install it on Debian 11.

Prerequisites

  • Debian 11

Install Ruby on Debian 11 using Debian repositories

Step 1. The first and the most important step is to update the Debian 11 packages:

sudo apt update

Step 2. Now we can install it using the Debian repositories:

sudo apt install ruby-full

Step 3. To verify that you have installed the latest ruby version, run:

sudo ruby --version

Output:

ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux-gnu]

Conclusion

Installing the latest version of ruby on Debian 11 can be achieved by anyone following the above steps. Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on telegram.