Install Ruby on Debian 12

Jul 19, 2023 · 1 min read · Post a comment

Ruby is a known programming language for its simplicity and flexibility. Let’s install Ruby on Debian 12.


  • Debian 12
  • sudo privileges

Install Ruby on Debian 12

Step 1. Update the packages.

sudo apt update

Step 2. Install ruby.

sudo apt install ruby

Step 3. Verify the installation.

ruby -v


Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.