How To Install jekyll on Kali Linux
Introduction
In this tutorial we learn how to install jekyll on Kali Linux.
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 lot of plugins available and only the most common ones are suggested by the package. Look for more using ‘jekyll plugin’.
There are three methods to install jekyll on Kali Linux. 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 updateAfter updating apt database, We can install jekyll using apt-get by running the following command:
sudo apt-get -y install jekyllInstall jekyll Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install jekyll using apt by running the following command:
sudo apt -y install jekyllInstall jekyll Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install jekyll using aptitude by running the following command:
sudo aptitude -y install jekyllHow To Uninstall jekyll on Kali Linux
To uninstall only the jekyll package we can use the following command:
sudo apt-get remove jekyllUninstall jekyll And Its Dependencies
To uninstall jekyll and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove jekyllRemove jekyll Configurations and Data
To remove jekyll configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge jekyllRemove 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 jekyllDependencies
jekyll have the following dependencies:
- ruby
- ruby-bundler
- ruby-classifier-reborn
- ruby-coderay
- ruby-kramdown
- ruby-kramdown-parser-gfm
- ruby-mime-types
- ruby-pygments.rb
- ruby-rdiscount
- ruby-redcarpet
- ruby-tomlrb
- ruby-yajl
- xdg-utils
- ruby-addressable
- ruby-colorator
- ruby-em-websocket
- ruby-i18n
- ruby-i18n
- ruby-jekyll-sass-converter
- ruby-jekyll-watch
- ruby-liquid
- ruby-mercenary
- ruby-pathutil
- ruby-rouge
- ruby-rouge
- ruby-safe-yaml
- ruby-kramdown
References
Summary
In this tutorial we learn how to install jekyll package on Kali Linux using different package management tools: apt, apt-get and aptitude.