$> sudo pacman -S gcc5 openssl-1.0
$> CC=gcc-5 CXX=g++-5 PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig/:/usr/lib/pkgconfig/RUBY_CONFIGURE_OPTS=--with-openssl-dir=/usr
/lib/openssl-1.0/ asdf install ruby 2.3.1
Last active
June 28, 2019 22:21
-
-
Save jc00ke/d696299b4cb74772dde356cc23273bce to your computer and use it in GitHub Desktop.
Install Ruby 2.3.1 on Manjaro Linux
$> bash
$> sudo pacman -S gcc5 openssl-1.0
$> CC=gcc-5 CXX=g++-5 PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig/:/usr/lib/pkgconfig/RUBY_CONFIGURE_OPTS=--with-openssl-dir=/usr
/lib/openssl-1.0/ asdf install ruby 2.3.5
> ruby-install --install-dir ~/.asdf/installs/ruby/2.3.1/ ruby 2.3.1 -- CC=gcc-6 --with-openssl-dir=$HOME/opt/libressl/
Download the correct version of LibreSSL
then follow directions to install.
This won't actually install OpenSSL
module successfully, so then go download the .gem
file from Rubygems and install locally
> gem install -l ~/Downloads/openssl-2.1.1.gem -- --with-openssl-dir=$HOME/opt/libressl/lib/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
./config --openssldir=/usr/lib/openssl-1.0.1f
install
rule withinstall_docs
and make it justinstall: all install_sw
make
sudo make install