Created
June 21, 2019 21:57
-
-
Save havenwood/403d2f53ddbb93761b57fbe5ee797162 to your computer and use it in GitHub Desktop.
Debian 9 Installation Instructions for system wide Ruby 2.6.3 in /usr/local
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install -y bison build-essential libffi-dev libgdbm-dev libreadline-dev libssl-dev libyaml-dev zlib1g-dev | |
cd /usr/local/src | |
wget https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.3.tar.bz2 | |
tar -xjvf ruby-2.6.3.tar.bz2 | |
cd ruby-2.6.3 | |
./configure --prefix="/usr/local" | |
make -j"$(getconf _NPROCESSORS_ONLN)" | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment