How To Install thttpd on Fedora 34
Introduction
In this tutorial we learn how to install thttpd
on Fedora 34.
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 34. In this tutorial we discuss both methods but you only need to choose one of method to install thttpd.
Install thttpd 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 thttpd
using dnf
by running the following command:
sudo dnf -y install thttpd
Install thttpd 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 thttpd
using yum
by running the following command:
sudo yum -y install thttpd
How To Uninstall thttpd on Fedora 34
To uninstall only the thttpd
package we can use the following command:
sudo dnf remove thttpd
thttpd Package Contents on Fedora 34
/etc/logrotate.d/thttpd
/etc/thttpd.conf
/usr/bin/thtpasswd
/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/a36ab3ea1c2228cec6f35d6f384c18d7b19508
/usr/lib/.build-id/69
/usr/lib/.build-id/69/e93a218a13e7442b0f0016557151c3c5bb4d5d
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/0237ab35421e63bbb424dd267c863f70d6b186
/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 34 using yum and dnf.