How To Install libmandoc-devel on Fedora 36
Introduction
In this tutorial we learn how to install libmandoc-devel
on Fedora 36.
What is libmandoc-devel
The mandoc library parses a UNIX manual into an abstract syntax tree (AST). UNIX manuals are composed of mdoc(7) or man(7), and may be mixed with roff(7), tbl(7), and eqn(7) invocations.
We can use yum
or dnf
to install libmandoc-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libmandoc-devel.
Install libmandoc-devel 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 libmandoc-devel
using dnf
by running the following command:
sudo dnf -y install libmandoc-devel
Install libmandoc-devel 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 libmandoc-devel
using yum
by running the following command:
sudo yum -y install libmandoc-devel
How To Uninstall libmandoc-devel on Fedora 36
To uninstall only the libmandoc-devel
package we can use the following command:
sudo dnf remove libmandoc-devel
libmandoc-devel Package Contents on Fedora 36
---
title: "How To Install libmandoc-devel on Fedora 36"
linkTitle: "libmandoc-devel"
type: "docs"
description: "In this tutorial we learn how to install libmandoc-devel in Fedora 36. libmandoc-devel is Development libraries and headers for libmandoc"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libmandoc-devel-featured.png
---
## Introduction
In this tutorial we learn how to install `libmandoc-devel` on Fedora 36.
### What is `libmandoc-devel`
> The mandoc library parses a UNIX manual into an abstract syntax tree (AST). UNIX manuals are composed of mdoc(7) or man(7), and may be mixed with roff(7), tbl(7), and eqn(7) invocations.
We can use `yum` or `dnf` to install `libmandoc-devel` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libmandoc-devel.
## Install libmandoc-devel on Fedora 36 Using dnf
Update yum database with `dnf` using the following command.
```bash
sudo dnf makecache --refresh
After updating yum database, We can install libmandoc-devel
using dnf
by running the following command:
sudo dnf -y install libmandoc-devel
Install libmandoc-devel 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 libmandoc-devel
using yum
by running the following command:
sudo yum -y install libmandoc-devel
How To Uninstall libmandoc-devel on Fedora 36
To uninstall only the libmandoc-devel
package we can use the following command:
sudo dnf remove libmandoc-devel
libmandoc-devel Package Contents on Fedora 36
/usr/include/eqn.h
/usr/include/man.h
/usr/include/mandoc.h
/usr/include/mandoc_aux.h
/usr/include/mandoc_parse.h
/usr/include/mdoc.h
/usr/include/roff.h
/usr/include/tbl.h
/usr/lib/libmandoc.a
/usr/share/licenses/libmandoc-devel
/usr/share/licenses/libmandoc-devel/LICENSE
/usr/share/man/man3/mandoc.3.gz
/usr/share/man/man3/mandoc_escape.3.gz
/usr/share/man/man3/mandoc_malloc.3.gz
/usr/share/man/man3/mansearch.3.gz
/usr/share/man/man3/mchars_alloc.3.gz
/usr/share/man/man3/tbl.3.gz
References
Summary
In this tutorial we learn how to install libmandoc-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/include/eqn.h /usr/include/man.h /usr/include/mandoc.h /usr/include/mandoc_aux.h /usr/include/mandoc_parse.h /usr/include/mdoc.h /usr/include/roff.h /usr/include/tbl.h /usr/lib64/libmandoc.a /usr/share/licenses/libmandoc-devel /usr/share/licenses/libmandoc-devel/LICENSE /usr/share/man/man3/mandoc.3.gz /usr/share/man/man3/mandoc_escape.3.gz /usr/share/man/man3/mandoc_malloc.3.gz /usr/share/man/man3/mansearch.3.gz /usr/share/man/man3/mchars_alloc.3.gz /usr/share/man/man3/tbl.3.gz
## References
* [libmandoc-devel website](https://mandoc.bsd.lv/)
## Summary
In this tutorial we learn how to install `libmandoc-devel` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).