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