Skip to content

Instantly share code, notes, and snippets.

@linuxoracledev
Last active December 7, 2019 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linuxoracledev/08cb62ebe988df06ad967e7b40062a61 to your computer and use it in GitHub Desktop.
Save linuxoracledev/08cb62ebe988df06ad967e7b40062a61 to your computer and use it in GitHub Desktop.
Install ruby-2.5.3 on ubuntu 18.04 LTS
#Download Ruby
wget https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.3.zip
#Change directory to where to install
cd /
#create a directory
sudo mkdir ruby
#back to home
cd /
#Unzip ruby to the directory 'ruby'
sudo unzip ruby-2.5.3.zip -d /ruby
#change direcotry to ruby software direcotory
cd /ruby/ruby-2.5.3
#Run confiugre script
sudo ./configure
#compile ruby
sudo make
#install ruby
sudo make install
#Check ruby version
ruby --version
#go to the ruby's teminal
irb
#unisntall ruby(azad@cli:~$)
sudo rm -rf /ruby
@linuxoracledev
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment