Home » Posts » How To » Installing Jekyll on Redhat Enterprise Linux

Installing Jekyll on Redhat Enterprise Linux

I love writing blogs with Jekyll. Before switching to Redhat Enterprise Linux, I used to use Fedora by Redhat.

To continue writing my blogs, I tried installing Jekyll but I encountered some problems which were not new for me as I have already encountered in Fedora.

Generally, for installing Jekyll we need to have Ruby installed in our system. It can be checked with

ruby -v

If it isn’t installed, the general command for installing Ruby is

# yum install ruby

After installing ruby, Jekyll can be installed with:

gem install jekyll

as Jekyll is a Ruby gem.


you might encounter problem here like

couldn't build native extensions,

similar to this.

Your Gift of $200 Cloud Hosting Credit is Here. Claim Now!

This can be solved by installing a ruby developer package.

If ruby is already installed, let’s reinstall ruby-devel packages,

(if ruby is already installed, first uninstall ruby : yum remove ruby)

But to install devel packages in RHEL, we need to enable the optional repos.

subscription-manager repos  --enable rhel-7-server-optional-rpms

Now, install Ruby Devel package by

Don't forget to subscribe!.

yum install ruby-devel

And finally, march ahead to install Jekyll! 😀

gem install jekyl

Oh yeah, installing bundle might be additional too.

gem install bundle

Enjoy Jekylling! 🙂

Before you go, let's stay connected
Photo of author
About the Author
Lakshman Basnet
Nepali Digital Media Marketer currently based in Adelaide, South Australia who apart from playing with his cat - Eleven, also enjoys developing web content, publishing blogs and YouTube videos in his free time.

Leave a comment