Contents
Install Ruby on Ubuntu 20.04
To install Ruby on Ubuntu 20.04, you can follow these steps:
Open a Terminal:
Press Ctrl + Alt + T to open a terminal window.
Update Package Lists:
It's a good practice to start by updating the package lists to ensure you have the latest information about available packages:
sudo apt update
Install Ruby:
You can install Ruby by running the following command:
sudo apt install ruby-full
This command will install the full Ruby package along with its development tools.
Verify Installation: After the installation is complete, you can verify it by checking the Ruby version:
ruby --version
This will display the installed Ruby version.
Optional - Install Bundler:
Bundler is a package manager for managing Ruby gems. You can install it with the following command:
sudo gem install bundler
This step is optional but can be helpful for managing dependencies in Ruby projects.
Sorry! No comment found:(
There is no comment to show for this.