How To Install fcgiwrap on AlmaLinux 8

In this tutorial we learn how to install fcgiwrap in AlmaLinux 8. fcgiwrap is Simple FastCGI wrapper for CGI scripts

Introduction

In this tutorial we learn how to install fcgiwrap on AlmaLinux 8.

What is fcgiwrap

This package provides a simple FastCGI wrapper for CGI scripts with/ following features - very lightweight (84KB of private memory per instance) - fixes broken CR/LF in headers - handles environment in a sane way (CGI scripts get HTTP-related environment vars from FastCGI parameters and inherit all the others from environment of fcgiwrap ) - no configuration, so you can run several sites off the same fcgiwrap pool - passes CGI std error output to std error stream of cgiwrap or FastCGI - support systemd socket activation, launcher program like spawn-fcgi is no longer required on systemd-enabled distributions

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

Install fcgiwrap on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install fcgiwrap

Install fcgiwrap on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install fcgiwrap

How To Uninstall fcgiwrap on AlmaLinux 8

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

sudo dnf remove fcgiwrap

References

Summary

In this tutorial we learn how to install fcgiwrap on AlmaLinux 8 using yum and dnf.