How To Install lighttpd on Fedora 36

In this tutorial we learn how to install lighttpd in Fedora 36. lighttpd is Lightning fast webserver with light system requirements

Introduction

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

What is lighttpd

lighttpd (pronounced /lighty/) is a secure, fast, compliant, and very flexible web server that has been optimized for high-performance environments. lighttpd uses memory and CPU efficiently and has lower resource use than other popular web servers. Its advanced feature-set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and much more) make lighttpd the perfect web server for all systems, small and large.

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

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

sudo dnf -y install lighttpd

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

sudo yum -y install lighttpd

How To Uninstall lighttpd on Fedora 36

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

sudo dnf remove lighttpd

lighttpd Package Contents on Fedora 36

/etc/lighttpd/conf.d/access_log.conf
/etc/lighttpd/conf.d/auth.conf
/etc/lighttpd/conf.d/cgi.conf
/etc/lighttpd/conf.d/debug.conf
/etc/lighttpd/conf.d/dirlisting.conf
/etc/lighttpd/conf.d/evhost.conf
/etc/lighttpd/conf.d/expire.conf
/etc/lighttpd/conf.d/mime.conf
/etc/lighttpd/conf.d/mod.template
/etc/lighttpd/conf.d/proxy.conf
/etc/lighttpd/conf.d/rrdtool.conf
/etc/lighttpd/conf.d/scgi.conf
/etc/lighttpd/conf.d/secdownload.conf
/etc/lighttpd/conf.d/simple_vhost.conf
/etc/lighttpd/conf.d/ssi.conf
/etc/lighttpd/conf.d/status.conf
/etc/lighttpd/conf.d/userdir.conf
/etc/lighttpd/lighttpd.conf
/etc/lighttpd/modules.conf
/etc/lighttpd/vhosts.d/vhosts.template
/etc/logrotate.d/lighttpd
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/8ca81257301fcd1d010737aaa8726c44f66931
/usr/lib/.build-id/09
/usr/lib/.build-id/09/a59302a28278f8265cf0c1a592523f51763245
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/c1c1dbf8b0efeab407dc19a522a1382084653f
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/50a33f4ac7f9bc80104922b03818619d277797
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/9c4f18fd8cd4eed6d5066a5dffdbd85f479c08
/usr/lib/.build-id/17
/usr/lib/.build-id/17/c969a7bd9f4585086f629d69790fcbc5d48725
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/1619f1b684d96a5f8b619682295e0bc329d0a6
/usr/lib/.build-id/2f/4edd276d5848cfdd5514cdadd6dfc8437f9c8d
/usr/lib/.build-id/30
/usr/lib/.build-id/30/a1a3a52a2b26399bc04b978c585b1d15c41d3c
/usr/lib/.build-id/31
/usr/lib/.build-id/31/d1fd8fac16d19b21b79d29709d256f3dbb2b6e
/usr/lib/.build-id/33
/usr/lib/.build-id/33/8644b707d73a90558166e9233d3a64adb90c38
/usr/lib/.build-id/36
/usr/lib/.build-id/36/acb597f7fca106c5da9cdd03c4da744cba5dbc
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/d75d9af0bb20b0a7a6035f7f2446cb31171653
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/edbd1a3a71bc4cbd648b814deec9543c32ec7c
/usr/lib/.build-id/42
/usr/lib/.build-id/42/7c534158928b9e6715b55416d0cd39d9d2d660
/usr/lib/.build-id/42/cacee662971e0ef515a5312bf1734309df2341
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/261e3d9c0c972cbf3a6c20e902312033d031b8
/usr/lib/.build-id/50
/usr/lib/.build-id/50/2d51aec02e2f527d7fc6f9de26a324b4ddd126
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/f8a2b2c05bb85b9620ff23acb88bbdf7404b0a
/usr/lib/.build-id/63
/usr/lib/.build-id/63/cd13af7ecf476d070180dbd084f750d006de8d
/usr/lib/.build-id/65
/usr/lib/.build-id/65/1de4b3c6da91f0bad8e7d046ad75880d84bf61
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/a3fe4739a29dce18b12dca75794c0d3c18eec0
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/5c7c75e0ef61099f440084075e632324d070e3
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/e3b36d66394a0e86edfe0b9baed2b3529f7fdc
/usr/lib/.build-id/99
/usr/lib/.build-id/99/e6986fee654bbd91a18b0709e4fd9ec698307f
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/da714d1b63c02474ec34c661e62f7119b38b6f
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/96e33359dd60ef4bc79f42a183c89d7fbdd9ab
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/8a1b7741e8e5a37a6f7f70e9f43c8651c32679
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/307d2ba6bafd0a5e76fc3767828caac856d46a
/usr/lib/.build-id/aa/8467ea3f39d2e0fec2750c7466438db52d5f1b
/usr/lib/.build-id/af
/usr/lib/.build-id/af/b804e8b0ae96d675a0eb171b6b6d0b4c2344b2
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/c64ae236f6b606912212a8ff0fe50cb4d38840
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/12103909eb4266ed2df43b1dd9d1124103383d
/usr/lib/.build-id/b9/30e9bcc1dca22485aeccdd0e1b0acb4c12ccb8
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/3c4580b0f8654c873e32fafc0a272a76258883
/usr/lib/.build-id/be
/usr/lib/.build-id/be/e235088d5d14bf47631b1f31e0933abb6b7863
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/9a25ad8914533ba1d7f6cd269d739d80f9f149
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/9d6b2ba3b9d5ea39c3e4b51b1ce3ad1f4ebcfb
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/12505949e96940f353161be9744ee9a8769453
/usr/lib/.build-id/ce/e28823119aa02da5d8aac7c41a175e2faacd41
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/e1c3940b4a204aa4086d7590d06ecb3eef4c77
/usr/lib/.build-id/de
/usr/lib/.build-id/de/a1ed67bb5693179172b5d73198de5162aeeb08
/usr/lib/.build-id/df
/usr/lib/.build-id/df/dc1eb616e5632f817f5a57c44d4e386090b2ab
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/b8c2b4b4b5d6cac3e81853d3823a32df6ba911
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/3fda281f0f14941673d368c84de0f6fd06149c
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/ec68b6fd4e5a1ecd176bd79d676f407d983966
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/2c89cb0f55bf4e5dba77381394666255ef6de4
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/df5aeb40b8b24645ee75ec612fa517673e1168
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/5f79a6deb178defc8b1b6f079d08259ed23d5a
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/91672d0c2e5c9a49661658fbf974252d9d09b6
/usr/lib/systemd/system/lighttpd.service
/usr/lib/tmpfiles.d/lighttpd.conf
/usr/lib64/lighttpd
/usr/lib64/lighttpd/mod_access.so
/usr/lib64/lighttpd/mod_accesslog.so
/usr/lib64/lighttpd/mod_ajp13.so
/usr/lib64/lighttpd/mod_alias.so
/usr/lib64/lighttpd/mod_auth.so
/usr/lib64/lighttpd/mod_authn_file.so
/usr/lib64/lighttpd/mod_cgi.so
/usr/lib64/lighttpd/mod_dirlisting.so
/usr/lib64/lighttpd/mod_evasive.so
/usr/lib64/lighttpd/mod_evhost.so
/usr/lib64/lighttpd/mod_expire.so
/usr/lib64/lighttpd/mod_extforward.so
/usr/lib64/lighttpd/mod_indexfile.so
/usr/lib64/lighttpd/mod_proxy.so
/usr/lib64/lighttpd/mod_redirect.so
/usr/lib64/lighttpd/mod_rewrite.so
/usr/lib64/lighttpd/mod_rrdtool.so
/usr/lib64/lighttpd/mod_scgi.so
/usr/lib64/lighttpd/mod_secdownload.so
/usr/lib64/lighttpd/mod_setenv.so
/usr/lib64/lighttpd/mod_simple_vhost.so
/usr/lib64/lighttpd/mod_sockproxy.so
/usr/lib64/lighttpd/mod_ssi.so
/usr/lib64/lighttpd/mod_staticfile.so
/usr/lib64/lighttpd/mod_status.so
/usr/lib64/lighttpd/mod_uploadprogress.so
/usr/lib64/lighttpd/mod_userdir.so
/usr/lib64/lighttpd/mod_usertrack.so
/usr/lib64/lighttpd/mod_vhostdb.so
/usr/lib64/lighttpd/mod_webdav.so
/usr/lib64/lighttpd/mod_wstunnel.so
/usr/sbin/lighttpd
/usr/sbin/lighttpd-angel
/usr/share/doc/lighttpd
/usr/share/doc/lighttpd/AUTHORS
/usr/share/doc/lighttpd/README
/usr/share/doc/lighttpd/config
/usr/share/doc/lighttpd/config/conf.d
/usr/share/doc/lighttpd/config/conf.d/access_log.conf
/usr/share/doc/lighttpd/config/conf.d/auth.conf
/usr/share/doc/lighttpd/config/conf.d/cgi.conf
/usr/share/doc/lighttpd/config/conf.d/debug.conf
/usr/share/doc/lighttpd/config/conf.d/deflate.conf
/usr/share/doc/lighttpd/config/conf.d/dirlisting.conf
/usr/share/doc/lighttpd/config/conf.d/evhost.conf
/usr/share/doc/lighttpd/config/conf.d/expire.conf
/usr/share/doc/lighttpd/config/conf.d/fastcgi.conf
/usr/share/doc/lighttpd/config/conf.d/magnet.conf
/usr/share/doc/lighttpd/config/conf.d/mime.conf
/usr/share/doc/lighttpd/config/conf.d/mod.template
/usr/share/doc/lighttpd/config/conf.d/proxy.conf
/usr/share/doc/lighttpd/config/conf.d/rrdtool.conf
/usr/share/doc/lighttpd/config/conf.d/scgi.conf
/usr/share/doc/lighttpd/config/conf.d/secdownload.conf
/usr/share/doc/lighttpd/config/conf.d/simple_vhost.conf
/usr/share/doc/lighttpd/config/conf.d/ssi.conf
/usr/share/doc/lighttpd/config/conf.d/status.conf
/usr/share/doc/lighttpd/config/conf.d/userdir.conf
/usr/share/doc/lighttpd/config/conf.d/webdav.conf
/usr/share/doc/lighttpd/config/lighttpd.conf
/usr/share/doc/lighttpd/config/lighttpd.conf.defaultconf
/usr/share/doc/lighttpd/config/modules.conf
/usr/share/doc/lighttpd/config/vhosts.d
/usr/share/doc/lighttpd/config/vhosts.d/vhosts.template
/usr/share/doc/lighttpd/rrdtool-graph.sh
/usr/share/licenses/lighttpd
/usr/share/licenses/lighttpd/COPYING
/usr/share/man/man8/lighttpd-angel.8.gz
/usr/share/man/man8/lighttpd.8.gz
/var/www/lighttpd/favicon.ico
/var/www/lighttpd/index.html
/var/www/lighttpd/light_button.png
/var/www/lighttpd/light_logo.png
/var/www/lighttpd/poweredby.png

References

Summary

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