How To Install lua-sql-postgresql on Fedora 36
Introduction
In this tutorial we learn how to install lua-sql-postgresql
on Fedora 36.
What is lua-sql-postgresql
LuaSQL is a simple interface from Lua to a DBMS. This package provides access to PostgreSQL databases.
We can use yum
or dnf
to install lua-sql-postgresql
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install lua-sql-postgresql.
Install lua-sql-postgresql 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-sql-postgresql
using dnf
by running the following command:
sudo dnf -y install lua-sql-postgresql
Install lua-sql-postgresql 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-sql-postgresql
using yum
by running the following command:
sudo yum -y install lua-sql-postgresql
How To Uninstall lua-sql-postgresql on Fedora 36
To uninstall only the lua-sql-postgresql
package we can use the following command:
sudo dnf remove lua-sql-postgresql
lua-sql-postgresql Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/99
/usr/lib/.build-id/99/0e83bd4750fb48fb9b776ce15697d24ec1fbed
/usr/lib64/lua/5.4/luasql
/usr/lib64/lua/5.4/luasql/postgres.so
References
Summary
In this tutorial we learn how to install lua-sql-postgresql
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).