install ruby 2.4.6 in ubuntu 20.04 code example Example: install ruby ubuntu 20.04 sudo apt update sudo apt install ruby-full