How To Install fcgiwrap on Rocky Linux 8

In this tutorial we learn how to install fcgiwrap on Rocky Linux 8. fcgiwrap is Simple FastCGI wrapper for CGI scripts

Introduction

In this tutorial we learn how to install fcgiwrap on Rocky Linux 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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install fcgiwrap.

Install fcgiwrap on Rocky Linux 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 Rocky Linux 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 Rocky Linux 8

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

sudo dnf remove fcgiwrap

fcgiwrap Package Contents on Rocky Linux 8

/etc/sysconfig/fcgiwrap
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/3659fdbdf8de77ac2484f53c35f734cdb9aabd
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/[email protected]
/usr/sbin/fcgiwrap
/usr/share/doc/fcgiwrap
/usr/share/doc/fcgiwrap/README.SELinux
/usr/share/doc/fcgiwrap/README.rst
/usr/share/doc/fcgiwrap/SETUP
/usr/share/licenses/fcgiwrap
/usr/share/licenses/fcgiwrap/COPYING
/usr/share/man/man8/fcgiwrap.8.gz

References

Summary

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