How To Install lua-http on Fedora 36
Introduction
In this tutorial we learn how to install lua-http
on Fedora 36.
What is lua-http
lua-http is an efficient, capable HTTP and WebSocket library for Lua.
We can use yum
or dnf
to install lua-http
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install lua-http.
Install lua-http 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 lua-http
using dnf
by running the following command:
sudo dnf -y install lua-http
Install lua-http 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 lua-http
using yum
by running the following command:
sudo yum -y install lua-http
How To Uninstall lua-http on Fedora 36
To uninstall only the lua-http
package we can use the following command:
sudo dnf remove lua-http
lua-http Package Contents on Fedora 36
/usr/share/licenses/lua-http
/usr/share/licenses/lua-http/LICENSE.md
/usr/share/lua/5.4/http
/usr/share/lua/5.4/http/bit.lua
/usr/share/lua/5.4/http/client.lua
/usr/share/lua/5.4/http/compat
/usr/share/lua/5.4/http/compat/prosody.lua
/usr/share/lua/5.4/http/compat/socket.lua
/usr/share/lua/5.4/http/connection_common.lua
/usr/share/lua/5.4/http/cookie.lua
/usr/share/lua/5.4/http/h1_connection.lua
/usr/share/lua/5.4/http/h1_reason_phrases.lua
/usr/share/lua/5.4/http/h1_stream.lua
/usr/share/lua/5.4/http/h2_connection.lua
/usr/share/lua/5.4/http/h2_error.lua
/usr/share/lua/5.4/http/h2_stream.lua
/usr/share/lua/5.4/http/headers.lua
/usr/share/lua/5.4/http/hpack.lua
/usr/share/lua/5.4/http/hsts.lua
/usr/share/lua/5.4/http/proxies.lua
/usr/share/lua/5.4/http/request.lua
/usr/share/lua/5.4/http/server.lua
/usr/share/lua/5.4/http/socks.lua
/usr/share/lua/5.4/http/stream_common.lua
/usr/share/lua/5.4/http/tls.lua
/usr/share/lua/5.4/http/util.lua
/usr/share/lua/5.4/http/version.lua
/usr/share/lua/5.4/http/websocket.lua
/usr/share/lua/5.4/http/zlib.lua
/usr/share/man/man3/lua-http.3.gz
References
Summary
In this tutorial we learn how to install lua-http
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).