How To Install cpp-httplib-devel on Fedora 36

In this tutorial we learn how to install cpp-httplib-devel in Fedora 36. cpp-httplib-devel is A C++11 single-file header-only cross platform HTTP/HTTPS library

Introduction

In this tutorial we learn how to install cpp-httplib-devel on Fedora 36.

What is cpp-httplib-devel

A C++11 single-file header-only cross platform HTTP/HTTPS library. It’s extremely easy to setup. Just include the httplib.h file in your code! NOTE If you are looking for a ’non-blocking’ library, this is not the one that you want. Development files only.

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

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

sudo dnf -y install cpp-httplib-devel

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

sudo yum -y install cpp-httplib-devel

How To Uninstall cpp-httplib-devel on Fedora 36

To uninstall only the cpp-httplib-devel package we can use the following command:

sudo dnf remove cpp-httplib-devel

cpp-httplib-devel Package Contents on Fedora 36

/usr/include/httplib.h
/usr/lib64/cmake/httplib
/usr/lib64/cmake/httplib/FindBrotli.cmake
/usr/lib64/cmake/httplib/httplibConfig.cmake
/usr/lib64/cmake/httplib/httplibConfigVersion.cmake
/usr/lib64/cmake/httplib/httplibTargets.cmake
/usr/share/doc/cpp-httplib-devel
/usr/share/doc/cpp-httplib-devel/README.md
/usr/share/licenses/cpp-httplib-devel
/usr/share/licenses/cpp-httplib-devel/LICENSE

References

Summary

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


title: “How To Install cpp-httplib-devel on Fedora 36” linkTitle: “cpp-httplib-devel” type: “docs” description: “In this tutorial we learn how to install cpp-httplib-devel in Fedora 36. cpp-httplib-devel is A C++11 single-file header-only cross platform HTTP/HTTPS library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/cpp-httplib-devel-featured.png

Introduction

In this tutorial we learn how to install cpp-httplib-devel on Fedora 36.

What is cpp-httplib-devel

A C++11 single-file header-only cross platform HTTP/HTTPS library. It’s extremely easy to setup. Just include the httplib.h file in your code! NOTE If you are looking for a ’non-blocking’ library, this is not the one that you want. Development files only.

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

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

sudo dnf -y install cpp-httplib-devel

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

sudo yum -y install cpp-httplib-devel

How To Uninstall cpp-httplib-devel on Fedora 36

To uninstall only the cpp-httplib-devel package we can use the following command:

sudo dnf remove cpp-httplib-devel

cpp-httplib-devel Package Contents on Fedora 36

/usr/include/httplib.h
/usr/lib/cmake/httplib
/usr/lib/cmake/httplib/FindBrotli.cmake
/usr/lib/cmake/httplib/httplibConfig.cmake
/usr/lib/cmake/httplib/httplibConfigVersion.cmake
/usr/lib/cmake/httplib/httplibTargets.cmake
/usr/share/doc/cpp-httplib-devel
/usr/share/doc/cpp-httplib-devel/README.md
/usr/share/licenses/cpp-httplib-devel
/usr/share/licenses/cpp-httplib-devel/LICENSE

References

Summary

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