How To Install jekyll on Debian 9
Introduction
In this tutorial we learn how to install jekyll
on Debian 9.
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 9. 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 9
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 9, 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 9 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:
- ruby
- ruby-classifier-reborn
- ruby-colorator
- ruby-jekyll-coffeescript
- ruby-jekyll-feed
- ruby-jekyll-gist
- ruby-jekyll-paginate
- ruby-jekyll-sass-converter
- ruby-jekyll-watch
- ruby-kramdown
- ruby-launchy-shim
- ruby-liquid
- ruby-mercenary
- ruby-mime-types
- ruby-pygments.rb
- ruby-rdiscount
- ruby-redcarpet
- ruby-rouge
- ruby-safe-yaml
- ruby-toml
- xdg-utils
References
Summary
In this tutorial we learn how to install jekyll
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.