Yum Install Ruby Devel

Sudo yum install gcc g make automake autoconf curl devel openssl devel zlib devel httpd devel apr devel apr util devel sqlite devel sudo yum install ruby rdoc ruby devel.
Yum install ruby devel. Sudo yum install ruby. Yum install ruby ruby devel rubygems zlib devel curl devel openssl devel httpd devel apr devel apr util devel imagemagick imagemagick devel. Enable the optional repo. Grep b1 i optional etc yum repos d above each name will be the repo id enclosed in look for the optional not optional source.
At the time of writing the version in the centos repositories is 2 0 0 which is pretty outdated. Download ruby devel 2 0 0 648 36 el7 x86 64 rpm for centos 7 from centos repository. Yum config manager enable repo id refresh the yum cache not sure if this is necessary but it doesn t hurt. Go ahead and say yes each time.
Yum y install gcc mysql devel ruby devel rubygems. Macek oct 29 10 at 21 43. Macek oct 29 10 at 21 40 actually my repository doesn t even have a match for rubygems. Install ruby the easiest way to install ruby on your centos system is through the yum package manager.
Langpacks refresh packagekit package gcc 4 8 3 7 fc20 x86 64 already installed and latest version package rubygems 2 1 11 115 fc20 noarch already installed and latest version resolving dependencies running transaction check package mysql community devel x86 64 0 5 6. The output should look like this. Sudo yum install ruby. Snap ubuntu or other linux distributions snap is a package manager developed by canonical.
Download rh ruby25 ruby 2 5 0 5 el7 x86 64 rpm for centos 7 from centos sclo rh repository. My repository is only showing ruby 1 8 5. Sudo yum makecache finally you can install ruby devel. Narkoz installing via packages is desired.
It is available out of the box on ubuntu but snap also works on many other linux distributions. Install the ruby package with the following command. While it processes the prompt may ask your permission to install the various packages.