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.
- Debian 11
- sudo privileges
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
ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux-gnu]
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.