How To Install golang-github-microcosm-cc-bluemonday on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-microcosm-cc-bluemonday
on Fedora 36.
What is golang-github-microcosm-cc-bluemonday
bluemonday is a HTML sanitizer implemented in Go. It is fast and highly configurable. bluemonday takes untrusted user generated content as an input, and will return HTML that has been sanitised against a whitelist of approved HTML elements and attributes so that you can safely include the content in your web page.
We can use yum
or dnf
to install golang-github-microcosm-cc-bluemonday
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-microcosm-cc-bluemonday.
Install golang-github-microcosm-cc-bluemonday 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 golang-github-microcosm-cc-bluemonday
using dnf
by running the following command:
sudo dnf -y install golang-github-microcosm-cc-bluemonday
Install golang-github-microcosm-cc-bluemonday 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 golang-github-microcosm-cc-bluemonday
using yum
by running the following command:
sudo yum -y install golang-github-microcosm-cc-bluemonday
How To Uninstall golang-github-microcosm-cc-bluemonday on Fedora 36
To uninstall only the golang-github-microcosm-cc-bluemonday
package we can use the following command:
sudo dnf remove golang-github-microcosm-cc-bluemonday
golang-github-microcosm-cc-bluemonday Package Contents on Fedora 36
/usr/bin/sanitise_html_email
/usr/bin/sanitise_ugc
/usr/lib/.build-id
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/ca0b31ec4d228427f7b5fed3782ef35830e806
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/98651271669548aa05c2edcf05d8e2ce18d0d0
/usr/share/doc/golang-github-microcosm-cc-bluemonday
/usr/share/doc/golang-github-microcosm-cc-bluemonday/CONTRIBUTING.md
/usr/share/doc/golang-github-microcosm-cc-bluemonday/CREDITS.md
/usr/share/doc/golang-github-microcosm-cc-bluemonday/README.md
/usr/share/licenses/golang-github-microcosm-cc-bluemonday
/usr/share/licenses/golang-github-microcosm-cc-bluemonday/LICENSE.md
References
Summary
In this tutorial we learn how to install golang-github-microcosm-cc-bluemonday
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).