How To Install jekyll on Debian 10

Learn how to install jekyll on Debian 10 with this tutorial. jekyll is Simple, blog aware, static site generator

Introduction

In this tutorial we learn how to install jekyll on Debian 10.

What is jekyll

jekyll is:

Jekyll is a simple, blog aware, static site generator. It takes a template directory (representing the raw form of a website), runs it through Textile or Markdown and Liquid converters, and spits out a complete, static website suitable for serving with Apache or your favorite web server.

This is also the engine behind GitHub Pages(http://pages.github.com), which you can use to host your project’s page or blog right here from GitHub.

There are three methods to install jekyll on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install jekyll Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install jekyll using apt-get by running the following command:

sudo apt-get -y install jekyll

Install jekyll Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install jekyll using apt by running the following command:

sudo apt -y install jekyll

Install jekyll Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install jekyll using aptitude by running the following command:

sudo aptitude -y install jekyll

How To Uninstall jekyll on Debian 10

To uninstall only the jekyll package we can use the following command:

sudo apt-get remove jekyll

Uninstall jekyll And Its Dependencies

To uninstall jekyll and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove jekyll

Remove jekyll Configurations and Data

To remove jekyll configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge jekyll

Remove jekyll configuration, data, and all of its dependencies

We can use the following command to remove jekyll configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge jekyll

Dependencies

jekyll have the following dependencies:

References

Summary

In this tutorial we learn how to install jekyll package on Debian 10 using different package management tools: apt, apt-get and aptitude.