How To Install rubygem-jekyll-toc on Fedora 36

In this tutorial we learn how to install rubygem-jekyll-toc in Fedora 36. rubygem-jekyll-toc is Jekyll Table of Contents plugin

Introduction

In this tutorial we learn how to install rubygem-jekyll-toc on Fedora 36.

What is rubygem-jekyll-toc

A liquid filter plugin for Jekyll which generates a table of contents.

We can use yum or dnf to install rubygem-jekyll-toc on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-jekyll-toc.

Install rubygem-jekyll-toc on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install rubygem-jekyll-toc using dnf by running the following command:

sudo dnf -y install rubygem-jekyll-toc

Install rubygem-jekyll-toc on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rubygem-jekyll-toc using yum by running the following command:

sudo yum -y install rubygem-jekyll-toc

How To Uninstall rubygem-jekyll-toc on Fedora 36

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

sudo dnf remove rubygem-jekyll-toc

rubygem-jekyll-toc Package Contents on Fedora 36

/usr/share/gems/gems/jekyll-toc-0.17.1
/usr/share/gems/gems/jekyll-toc-0.17.1/Appraisals
/usr/share/gems/gems/jekyll-toc-0.17.1/LICENSE.md
/usr/share/gems/gems/jekyll-toc-0.17.1/gemfiles
/usr/share/gems/gems/jekyll-toc-0.17.1/gemfiles/jekyll_3.8.gemfile
/usr/share/gems/gems/jekyll-toc-0.17.1/gemfiles/jekyll_3.9.gemfile
/usr/share/gems/gems/jekyll-toc-0.17.1/gemfiles/jekyll_4.0.gemfile
/usr/share/gems/gems/jekyll-toc-0.17.1/gemfiles/jekyll_4.1.gemfile
/usr/share/gems/gems/jekyll-toc-0.17.1/gemfiles/jekyll_4.2.gemfile
/usr/share/gems/gems/jekyll-toc-0.17.1/lib
/usr/share/gems/gems/jekyll-toc-0.17.1/lib/jekyll-toc.rb
/usr/share/gems/gems/jekyll-toc-0.17.1/lib/table_of_contents
/usr/share/gems/gems/jekyll-toc-0.17.1/lib/table_of_contents/configuration.rb
/usr/share/gems/gems/jekyll-toc-0.17.1/lib/table_of_contents/helper.rb
/usr/share/gems/gems/jekyll-toc-0.17.1/lib/table_of_contents/parser.rb
/usr/share/gems/gems/jekyll-toc-0.17.1/lib/table_of_contents/version.rb
/usr/share/gems/specifications/jekyll-toc-0.17.1.gemspec

References

Summary

In this tutorial we learn how to install rubygem-jekyll-toc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).