How To Install qt5-qtbase-odbc on Rocky Linux 8
Introduction
In this tutorial we learn how to install qt5-qtbase-odbc
on Rocky Linux 8.
What is qt5-qtbase-odbc
ODBC driver for Qt5’s SQL classes.
We can use yum
or dnf
to install qt5-qtbase-odbc
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install qt5-qtbase-odbc.
Install qt5-qtbase-odbc 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 qt5-qtbase-odbc
using dnf
by running the following command:
sudo dnf -y install qt5-qtbase-odbc
Install qt5-qtbase-odbc 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 qt5-qtbase-odbc
using yum
by running the following command:
sudo yum -y install qt5-qtbase-odbc
How To Uninstall qt5-qtbase-odbc on Rocky Linux 8
To uninstall only the qt5-qtbase-odbc
package we can use the following command:
sudo dnf remove qt5-qtbase-odbc
qt5-qtbase-odbc Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/8c/48ecaff80be43b878d1d0eac10c6bd41e0d6a0
/usr/lib64/cmake/Qt5Sql/Qt5Sql_QODBCDriverPlugin.cmake
/usr/lib64/qt5/plugins/sqldrivers/libqsqlodbc.so
/usr/lib/.build-id
/usr/lib/.build-id/8f/1f5fc77a16cc5fcfbca88dbf782e6815a4b256
/usr/lib/cmake/Qt5Sql/Qt5Sql_QODBCDriverPlugin.cmake
/usr/lib/qt5/plugins/sqldrivers/libqsqlodbc.so
References
Summary
In this tutorial we learn how to install qt5-qtbase-odbc
on Rocky Linux 8 using yum and dnf.