How To Install libmicrohttpd on CentOS 8
Introduction
In this tutorial we learn how to install libmicrohttpd on CentOS 8.
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 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install libmicrohttpd.
Install libmicrohttpd on CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install libmicrohttpd using yum by running the following command:
sudo yum -y install libmicrohttpd
Install libmicrohttpd on CentOS 8 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install libmicrohttpd using dnf by running the following command:
sudo dnf -y install libmicrohttpd
How To Uninstall libmicrohttpd on CentOS 8
To uninstall only the libmicrohttpd package we can use the following command:
sudo dnf remove libmicrohttpd
References
Summary
In this tutorial we learn how to install libmicrohttpd on CentOS 8 using yum and dnf.