Ruby stands out as a well-liked open-source programming language that emphasizes simplicity and efficiency. It forms the foundation of the Ruby on Rails framework and finds applications in general-purpose programming, data analysis, and building web applications.
In this guide, we’ll walk you through the process of installing Ruby on Ubuntu 22.04, step by step.
The quickest and simplest way to install Ruby on Ubuntu is by using the built-in apt package manager.
1. First, update the system repositories with this command:
sudo apt update
2. Then, use this command to install Ruby:
sudo apt install ruby-full
Read: How to install Python on Ubuntu 22.04
3. When asked, type ‘Y’ and hit Enter to confirm the installation.
4. After the installation is done, double-check it by finding out the current version of Ruby:
ruby –version
To uninstall Ruby, just issue the command below :
sudo apt autoremove ruby-full
The post How to Install Ruby on Ubuntu 22.04 appeared first on net2.
Data centers are popping up everywhere. With the rapid growth of AI, cloud services, streaming…
Our commitment to building a thriving open source community is stronger than ever. We believe…
The clock was ticking: Node.js 18’s upstream End of Life (EOL) The OpenJS Foundation is…
June 25th, 2025 – Canonical, the company behind Ubuntu, and Pure Storage, the IT pioneer…
Co-authored with Julie Muzina A year ago, during our Madrid Engineering Sprint, we challenged ourselves…
Welcome to the Ubuntu Weekly Newsletter, Issue 897 for the week of June 15 –…