How To Install proxygen on Fedora 34

proxygen is A collection of C++ HTTP libraries including an easy to use HTTP server.

Introduction

In this tutorial we learn how to install proxygen on Fedora 34.

What is proxygen

Proxygen comprises the core C++ HTTP abstractions used at Facebook. Internally, it is used as the basis for building many HTTP servers, proxies, and clients. This release focuses on the common HTTP abstractions and our simple HTTPServer framework. Future releases will provide simple client APIs as well. The framework supports HTTP/1.1, SPDY/3, SPDY/3.1, HTTP/2, and HTTP/3. The goal is to provide a simple, performant, and modern C++ HTTP library.

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

Install proxygen on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install proxygen

Install proxygen on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install proxygen

How To Uninstall proxygen on Fedora 34

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

sudo dnf remove proxygen

proxygen Package Contents on Fedora 34

/usr/bin/proxygen_curl
/usr/bin/proxygen_echo
/usr/bin/proxygen_proxy
/usr/bin/proxygen_push
/usr/bin/proxygen_static
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/b2bb468d4db8664134de861c67f8ae9602e94e
/usr/lib/.build-id/31
/usr/lib/.build-id/31/06bff8efb036be3f8f93d3c9ddc834a22838af
/usr/lib/.build-id/51
/usr/lib/.build-id/51/5f2a55768a42ee2228f148fd5fa95ba82c5e57
/usr/lib/.build-id/82
/usr/lib/.build-id/82/4586a0d05475560de3297fc150c44d110cad6e
/usr/lib/.build-id/98
/usr/lib/.build-id/98/f90554c074e6c8163b9c1146c15e3cb65b9530
/usr/share/licenses/proxygen
/usr/share/licenses/proxygen/LICENSE
/usr/bin/proxygen_curl
/usr/bin/proxygen_echo
/usr/bin/proxygen_proxy
/usr/bin/proxygen_push
/usr/bin/proxygen_static
/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/19bba5bdcd7c5447fda18fa27bb5b9a09474e1
/usr/lib/.build-id/65
/usr/lib/.build-id/65/40ae7206df3c96a93947280d0942bed833526a
/usr/lib/.build-id/87
/usr/lib/.build-id/87/eb3bfe2679cde6eb6d5f3fd943569c848870ae
/usr/lib/.build-id/97
/usr/lib/.build-id/97/afbe42135c2c23adf232e87f8b546b5237c0aa
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/fc9506a82ed417a1beeba221a9851a049b2e4e
/usr/share/licenses/proxygen
/usr/share/licenses/proxygen/LICENSE

References

Summary

In this tutorial we learn how to install proxygen on Fedora 34 using yum and dnf.