How To Install thttpd on Fedora 36

In this tutorial we learn how to install thttpd in Fedora 36. thttpd is A tiny, turbo, throttleable lightweight HTTP server

Introduction

In this tutorial we learn how to install thttpd on Fedora 36.

What is thttpd

Thttpd is a very compact no-frills httpd serving daemon that can handle very high loads. While lacking many of the advanced features of Apache, thttpd operates without forking and is extremely efficient in memory use. Basic support for cgi scripts, authentication, and ssi is provided for. Advanced features include the ability to throttle traffic.

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

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

sudo dnf -y install thttpd

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

sudo yum -y install thttpd

How To Uninstall thttpd on Fedora 36

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

sudo dnf remove thttpd

thttpd Package Contents on Fedora 36

/etc/logrotate.d/thttpd
/etc/thttpd.conf
/usr/bin/thtpasswd
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/e4ba5c50e5f8fdd9df8804cfa256d0214decd1
/usr/lib/.build-id/94
/usr/lib/.build-id/94/3dd363218990382d4a8762dd5fc18a5a879a7c
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/02d70e9d6b2ffd836d6442825c5300a7a10bb9
/usr/lib/systemd/system/thttpd.service
/usr/sbin/syslogtocern
/usr/sbin/thttpd
/usr/share/doc/thttpd
/usr/share/doc/thttpd/README
/usr/share/doc/thttpd/TODO
/usr/share/man/man1/thtpasswd.1.gz
/usr/share/man/man8/syslogtocern.8.gz
/usr/share/man/man8/thttpd.8.gz
/var/www
/var/www/thttpd
/var/www/thttpd/index.html
/var/www/thttpd/poweredby.png
/var/www/thttpd/thttpd_powered_3.png

References

Summary

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