“How to Install Ruby on Ubuntu 20.04”

Install Ruby on Ubuntu 20.04

“How to Install Ruby on Ubuntu 20.04”

Installing in Ruby from Ubuntu Repositories #

sudo apt update
sudo apt install ruby-full
ruby --version
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]

Installing in Ruby utilizing Rbenv #

sudo apt updatesudo apt install git curl autoconf bison build-essential     libssl-dev libyaml-dev libreadline6-dev zlib1g-dev     libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev

Conclusion #