Forked from masayoshi634/rbenv_install_for_archlinux.sh
Created
January 30, 2019 08:06
-
-
Save masawada/aa7cd70fa4e9d7f847af15fa2a33f58e to your computer and use it in GitHub Desktop.
ArchLinuxでruby-buildする時のメモ
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
#!/bin/sh | |
##################### | |
# for archlinux 2017/11/05 | |
# depend | |
pacman -S libffi libyaml openssl zlib openssl-1.0 | |
yay -S gcc6 --noconfirm | |
# 1.9.3 | |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 1.9.3-p0 | |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 1.9.3-p105 # failed | |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 1.9.3-p125 | |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 1.9.3-p194 | |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 1.9.3-p286 | |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 1.9.3-p327 | |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 1.9.3-p362 | |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 1.9.3-p374 | |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 1.9.3-p385 | |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 1.9.3-p392 | |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 1.9.3-p426 #failed | |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 1.9.3-p429 | |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 1.9.3-p484 | |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 1.9.3-p545 | |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 1.9.3-p547 | |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 1.9.3-p550 | |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 1.9.3-p551 | |
# 2.0 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.0.0-p0 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.0.0-p195 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.0.0-p247 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.0.0-p353 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.0.0-p451 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.0.0-p481 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.0.0-p576 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.0.0-p594 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.0.0-p598 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.0.0-p643 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.0.0-p645 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.0.0-p647 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.0.0-p648 | |
# 2.1 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.1.0 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.1.1 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.1.2 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.1.3 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.1.4 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.1.5 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.1.6 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.1.7 | |
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install 2.1.8 | |
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install 2.1.9 | |
# 2.2 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.2.0 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.2.1 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.2.2 | |
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install --patch 2.2.3 | |
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install 2.2.4 | |
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install 2.2.5 | |
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install 2.2.6 | |
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install 2.2.7 | |
# 2.3 | |
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install 2.3.0 | |
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install 2.3.1 | |
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install 2.3.2 | |
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install 2.3.3 | |
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install 2.3.4 | |
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig CC=/usr/bin/gcc-6 rbenv install 2.3.5 | |
# 2.4 | |
CC=/usr/bin/gcc-6 rbenv install 2.4.0 | |
rbenv install 2.4.1 | |
rbenv install 2.4.2 | |
rbenv install 2.4.3 | |
rbenv install 2.4.4 | |
# 2.5 | |
rbenv install 2.5.0 | |
rbenv install 2.5.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment