How To Install boost-http-server on Fedora 36

In this tutorial we learn how to install boost-http-server in Fedora 36. boost-http-server is Improvements on top of the Boost Asio HTTP server example

Introduction

In this tutorial we learn how to install boost-http-server on Fedora 36.

What is boost-http-server

This is a simple C++ embeddable web server build from the Boost.Asio multithreaded HTTP 1.0 Server Example.

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

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

sudo dnf -y install boost-http-server

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

sudo yum -y install boost-http-server

How To Uninstall boost-http-server on Fedora 36

To uninstall only the boost-http-server package we can use the following command:

sudo dnf remove boost-http-server

boost-http-server Package Contents on Fedora 36

/usr/bin/http_server_dynamic
/usr/bin/http_server_static
/usr/lib/.build-id
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/c0193c917dfa9470b7993f48413562e490df08
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/af5f4fe58eb24ae919558a6b0b3ec2aef0cba9
/usr/share/doc/boost-http-server
/usr/share/doc/boost-http-server/README.md
/usr/share/licenses/boost-http-server
/usr/share/licenses/boost-http-server/LICENSE_1_0.txt

References

Summary

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