2 Ways To install Ruby On Rocky Linux | RVM

2 Ways To install Ruby On Rocky Linux | RVM

 in This Tutorial you will Learn " 2 Ways To install Ruby On Rocky Linux "

Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      | IP -192.168.1.60        |Hostname - server.yourdomain.com
_________________________________________________________________________________________
cat /etc/system-release ; hostname ; hostname -I ; dnf groupinstall "Development Tools" -y

Method - 1
dnf install gnupg2 wget curl @ruby -y
ruby --version

M- 2 RVM
RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems.

curl -sSL https://get.rvm.io | bash
source /etc/profile.d/rvm.sh
rvm requirements
rvm list known
rvm install ruby 3.0.2
ruby --version
_________________________________________________________________________________________




Share on Pinterest
Share on LinkedIn
Share on WhatsApp
Share on Telegram