Install Jekyll in Fedora 27

Alexandru Calcatinge bio photo By Alexandru Calcatinge

Introduction

Jekyll is a static website generator that you can use in case you don’t want to use the classical CMS like Wordpress or Drupal. If you are proficient with the Linux command line, then Jekyll will be best for you. Since January 2018, openLARK is generated with Jekyll, giving up the idea of using Wordpress or Drupal. Unlike Wordpress or Drupal, there is no need for databases or PHP, as Jekyll is build around Ruby. The static sites are generated by Liquid - a template generator engine created by Shopify, and the content must be written in Markdown or HTML and CSS. This is not a post on how to use Jekyll, as there are plenty on this subject available online. I will only show you how to install it on Fedora Linux.

Installation process

In order to install Jekyll in Fedora, you will need some extra packages installed first. Below is the command on how to install them (as root or by using sudo):

dnf install ruby ruby-devel redhat-rpm-config rubygems-devel libffi-devel make gcc
dnf group install "C Development Tools and Libraries"

Optional, you could install NodeJS with the command:

dnf install nodejs

Now that all the dependencies are installed, you can install Jekyll using the Ruby gem command:

gem install jekyll
gem install bundler

There you go. You installed Jekyll in Fedora. The following post will show you how to install Jekyll in CentOS, and then there will be a short presentation on how to use Jekyll.

Enjoy!