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