How To Install libmicrohttpd on Fedora 36

In this tutorial we learn how to install libmicrohttpd in Fedora 36. libmicrohttpd is Lightweight library for embedding a webserver in applications

Introduction

In this tutorial we learn how to install libmicrohttpd on Fedora 36.

What is libmicrohttpd

GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application. Key features that distinguish libmicrohttpd from other projects are * C library * API is simple, expressive and fully reentrant * Implementation is http 1.1 compliant * HTTP server can listen on multiple ports * Support for IPv6 * Support for incremental processing of POST data * Creates binary of only 25k (for now) * Three different threading models

We can use yum or dnf to install libmicrohttpd on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libmicrohttpd.

Install libmicrohttpd 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 libmicrohttpd using dnf by running the following command:

sudo dnf -y install libmicrohttpd

Install libmicrohttpd 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 libmicrohttpd using yum by running the following command:

sudo yum -y install libmicrohttpd

How To Uninstall libmicrohttpd on Fedora 36

To uninstall only the libmicrohttpd package we can use the following command:

sudo dnf remove libmicrohttpd

libmicrohttpd Package Contents on Fedora 36

---
title: "How To Install libmicrohttpd on Fedora 36"
linkTitle: "libmicrohttpd"
type: "docs"
description: "In this tutorial we learn how to install libmicrohttpd in Fedora 36. libmicrohttpd is Lightweight library for embedding a webserver in applications"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libmicrohttpd-featured.png
---

## Introduction

In this tutorial we learn how to install `libmicrohttpd` on Fedora 36.

### What is `libmicrohttpd`

> GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application. Key features that distinguish libmicrohttpd from other projects are  * C library * API is simple, expressive and fully reentrant * Implementation is http 1.1 compliant * HTTP server can listen on multiple ports * Support for IPv6 * Support for incremental processing of POST data * Creates binary of only 25k (for now) * Three different threading models  

We can use `yum` or `dnf` to install `libmicrohttpd` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libmicrohttpd.

## Install libmicrohttpd on Fedora 36 Using dnf
/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/f6f056c29de4b9a481a3c3ed18cccda0a0a777
/usr/lib/libmicrohttpd.so.12
/usr/lib/libmicrohttpd.so.12.60.0
/usr/share/doc/libmicrohttpd
/usr/share/doc/libmicrohttpd/NEWS
/usr/share/doc/libmicrohttpd/README
/usr/share/licenses/libmicrohttpd
/usr/share/licenses/libmicrohttpd/COPYING

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install libmicrohttpd using dnf by running the following command:

sudo dnf -y install libmicrohttpd

Install libmicrohttpd on Fedora 36 Using yum

Update yum database with yum using the following command.



```bash
## References
sudo yum makecache --refresh

After updating yum database, We can install libmicrohttpd using yum by running the following command:

Summary

sudo yum -y install libmicrohttpd
In this tutorial we learn how to install `libmicrohttpd` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).

How To Uninstall libmicrohttpd on Fedora 36

To uninstall only the libmicrohttpd package we can use the following command:

sudo dnf remove libmicrohttpd

libmicrohttpd Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/36
/usr/lib/.build-id/36/48ce399aa98bf759416a92d14e4146407a6a42
/usr/lib64/libmicrohttpd.so.12
/usr/lib64/libmicrohttpd.so.12.60.0
/usr/share/doc/libmicrohttpd
/usr/share/doc/libmicrohttpd/NEWS
/usr/share/doc/libmicrohttpd/README
/usr/share/licenses/libmicrohttpd
/usr/share/licenses/libmicrohttpd/COPYING

References

Summary

In this tutorial we learn how to install libmicrohttpd on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).