How To Install discount on Rocky Linux 8
Introduction
In this tutorial we learn how to install discount
on Rocky Linux 8.
What is discount
DISCOUNT is an implementation of John Gruber’s Markdown language in C. It includes all of the original Markdown features, along with a few extensions, and passes the Markdown test suite.
We can use yum
or dnf
to install discount
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install discount.
Install discount on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install discount
using dnf
by running the following command:
sudo dnf -y install discount
Install discount on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install discount
using yum
by running the following command:
sudo yum -y install discount
How To Uninstall discount on Rocky Linux 8
To uninstall only the discount
package we can use the following command:
sudo dnf remove discount
discount Package Contents on Rocky Linux 8
/usr/bin/discount-makepage
/usr/bin/discount-mkd2html
/usr/bin/discount-theme
/usr/bin/markdown
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/f4b906876ed1fbdbf3644c0b0b6f9d5af2d17f
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/6680900dd82bd1d68e93acd0e5e2c1ab7eea48
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/2bd8f10a1a239f4daa8507625e00e582d68725
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/14ddfa6ba99c53c0a6f3689924347b110b5b46
/usr/share/man/man1/discount-makepage.1.gz
/usr/share/man/man1/discount-mkd2html.1.gz
/usr/share/man/man1/discount-theme.1.gz
/usr/share/man/man1/markdown.1.gz
/usr/share/man/man7/markdown.7.gz
/usr/share/man/man7/mkd-extensions.7.gz
References
Summary
In this tutorial we learn how to install discount
on Rocky Linux 8 using yum and dnf.