How To Install lua-http on Rocky Linux 8
Introduction
In this tutorial we learn how to install lua-http
on Rocky Linux 8.
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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install lua-http.
Install lua-http 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 lua-http
using dnf
by running the following command:
sudo dnf -y install lua-http
Install lua-http 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 lua-http
using yum
by running the following command:
sudo yum -y install lua-http
How To Uninstall lua-http on Rocky Linux 8
To uninstall only the lua-http
package we can use the following command:
sudo dnf remove lua-http
lua-http Package Contents on Rocky Linux 8
/usr/share/licenses/lua-http
/usr/share/licenses/lua-http/LICENSE.md
/usr/share/lua/5.3/http
/usr/share/lua/5.3/http/bit.lua
/usr/share/lua/5.3/http/client.lua
/usr/share/lua/5.3/http/compat
/usr/share/lua/5.3/http/compat/prosody.lua
/usr/share/lua/5.3/http/compat/socket.lua
/usr/share/lua/5.3/http/connection_common.lua
/usr/share/lua/5.3/http/cookie.lua
/usr/share/lua/5.3/http/h1_connection.lua
/usr/share/lua/5.3/http/h1_reason_phrases.lua
/usr/share/lua/5.3/http/h1_stream.lua
/usr/share/lua/5.3/http/h2_connection.lua
/usr/share/lua/5.3/http/h2_error.lua
/usr/share/lua/5.3/http/h2_stream.lua
/usr/share/lua/5.3/http/headers.lua
/usr/share/lua/5.3/http/hpack.lua
/usr/share/lua/5.3/http/hsts.lua
/usr/share/lua/5.3/http/proxies.lua
/usr/share/lua/5.3/http/request.lua
/usr/share/lua/5.3/http/server.lua
/usr/share/lua/5.3/http/socks.lua
/usr/share/lua/5.3/http/stream_common.lua
/usr/share/lua/5.3/http/tls.lua
/usr/share/lua/5.3/http/util.lua
/usr/share/lua/5.3/http/version.lua
/usr/share/lua/5.3/http/websocket.lua
/usr/share/lua/5.3/http/zlib.lua
/usr/share/man/man3/lua-http.3.gz
References
Summary
In this tutorial we learn how to install lua-http
on Rocky Linux 8 using yum and dnf.