How To Install emacs-htmlize on Fedora 36
Introduction
In this tutorial we learn how to install emacs-htmlize
on Fedora 36.
What is emacs-htmlize
HTMLize is an add-on package for GNU Emacs. It converts the buffer text and the associated decorations to HTML. The conversion is quite sophisticated, it understands non-ascii characters, looks up colours in the X11 RGB database, and can generate either CSS or old style font bits.
We can use yum
or dnf
to install emacs-htmlize
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install emacs-htmlize.
Install emacs-htmlize 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 emacs-htmlize
using dnf
by running the following command:
sudo dnf -y install emacs-htmlize
Install emacs-htmlize 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 emacs-htmlize
using yum
by running the following command:
sudo yum -y install emacs-htmlize
How To Uninstall emacs-htmlize on Fedora 36
To uninstall only the emacs-htmlize
package we can use the following command:
sudo dnf remove emacs-htmlize
emacs-htmlize Package Contents on Fedora 36
/usr/share/emacs/site-lisp/htmlize
/usr/share/emacs/site-lisp/htmlize/htmlize.elc
/usr/share/emacs/site-lisp/site-start.d/htmlize-init.el
References
Summary
In this tutorial we learn how to install emacs-htmlize
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).