How To Install qt6-qtbase-mysql on Fedora 36

In this tutorial we learn how to install qt6-qtbase-mysql in Fedora 36. qt6-qtbase-mysql is MySQL driver for Qt6’s SQL classes

Introduction

In this tutorial we learn how to install qt6-qtbase-mysql on Fedora 36.

What is qt6-qtbase-mysql

MySQL driver for Qt6’s SQL classes.

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

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

sudo dnf -y install qt6-qtbase-mysql

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

sudo yum -y install qt6-qtbase-mysql

How To Uninstall qt6-qtbase-mysql on Fedora 36

To uninstall only the qt6-qtbase-mysql package we can use the following command:

sudo dnf remove qt6-qtbase-mysql

qt6-qtbase-mysql Package Contents on Fedora 36

---
title: "How To Install qt6-qtbase-mysql on Fedora 36"
linkTitle: "qt6-qtbase-mysql"
type: "docs"
description: "In this tutorial we learn how to install qt6-qtbase-mysql in Fedora 36. qt6-qtbase-mysql is MySQL driver for Qt6's SQL classes"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/qt6-qtbase-mysql-featured.png
---

## Introduction

In this tutorial we learn how to install `qt6-qtbase-mysql` on Fedora 36.

### What is `qt6-qtbase-mysql`

> MySQL driver for Qt6's SQL classes.  

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

## Install qt6-qtbase-mysql on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install qt6-qtbase-mysql using dnf by running the following command:

sudo dnf -y install qt6-qtbase-mysql

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

sudo yum -y install qt6-qtbase-mysql

How To Uninstall qt6-qtbase-mysql on Fedora 36

To uninstall only the qt6-qtbase-mysql package we can use the following command:

sudo dnf remove qt6-qtbase-mysql

qt6-qtbase-mysql Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/1f/768093b217dca44efbc3043eedb657d9b44699
/usr/lib64/cmake/Qt6Sql/Qt6QMYSQLDriverPluginAdditionalTargetInfo.cmake
/usr/lib64/cmake/Qt6Sql/Qt6QMYSQLDriverPluginConfig.cmake
/usr/lib64/cmake/Qt6Sql/Qt6QMYSQLDriverPluginConfigVersion.cmake
/usr/lib64/cmake/Qt6Sql/Qt6QMYSQLDriverPluginConfigVersionImpl.cmake
/usr/lib64/cmake/Qt6Sql/Qt6QMYSQLDriverPluginTargets-relwithdebinfo.cmake
/usr/lib64/cmake/Qt6Sql/Qt6QMYSQLDriverPluginTargets.cmake
/usr/lib64/qt6/plugins/sqldrivers/libqsqlmysql.so

References

Summary

/usr/lib/.build-id /usr/lib/.build-id/e1/29173f0c054303403ea5efd1012feb4c02bfb8 /usr/lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginAdditionalTargetInfo.cmake /usr/lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginConfig.cmake /usr/lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginConfigVersion.cmake /usr/lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginConfigVersionImpl.cmake /usr/lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginTargets-relwithdebinfo.cmake /usr/lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginTargets.cmake /usr/lib/qt6/plugins/sqldrivers/libqsqlmysql.so In this tutorial we learn how to install qt6-qtbase-mysql on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


## References

* [qt6-qtbase-mysql website](http://qt-project.org/)

## Summary

In this tutorial we learn how to install `qt6-qtbase-mysql` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).