How To Install rubygem-kramdown-syntax-coderay on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-kramdown-syntax-coderay
on Fedora 36.
What is rubygem-kramdown-syntax-coderay
kramdown-syntax-coderay uses coderay to highlight code blocks/spans.
We can use yum
or dnf
to install rubygem-kramdown-syntax-coderay
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-kramdown-syntax-coderay.
Install rubygem-kramdown-syntax-coderay 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-kramdown-syntax-coderay
using dnf
by running the following command:
sudo dnf -y install rubygem-kramdown-syntax-coderay
Install rubygem-kramdown-syntax-coderay 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-kramdown-syntax-coderay
using yum
by running the following command:
sudo yum -y install rubygem-kramdown-syntax-coderay
How To Uninstall rubygem-kramdown-syntax-coderay on Fedora 36
To uninstall only the rubygem-kramdown-syntax-coderay
package we can use the following command:
sudo dnf remove rubygem-kramdown-syntax-coderay
rubygem-kramdown-syntax-coderay Package Contents on Fedora 36
/usr/share/gems/gems/kramdown-syntax-coderay-1.0.1
/usr/share/gems/gems/kramdown-syntax-coderay-1.0.1/COPYING
/usr/share/gems/gems/kramdown-syntax-coderay-1.0.1/VERSION
/usr/share/gems/gems/kramdown-syntax-coderay-1.0.1/lib
/usr/share/gems/gems/kramdown-syntax-coderay-1.0.1/lib/kramdown
/usr/share/gems/gems/kramdown-syntax-coderay-1.0.1/lib/kramdown-syntax-coderay.rb
/usr/share/gems/gems/kramdown-syntax-coderay-1.0.1/lib/kramdown/converter
/usr/share/gems/gems/kramdown-syntax-coderay-1.0.1/lib/kramdown/converter/syntax_highlighter
/usr/share/gems/gems/kramdown-syntax-coderay-1.0.1/lib/kramdown/converter/syntax_highlighter/coderay.rb
/usr/share/gems/specifications/kramdown-syntax-coderay-1.0.1.gemspec
References
Summary
In this tutorial we learn how to install rubygem-kramdown-syntax-coderay
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).