How To Install mariadb-connector-c on Fedora 36

In this tutorial we learn how to install mariadb-connector-c in Fedora 36. mariadb-connector-c is The MariaDB Native Client library (C driver)

Introduction

In this tutorial we learn how to install mariadb-connector-c on Fedora 36.

What is mariadb-connector-c

The MariaDB Native Client library (C driver) is used to connect applications developed in C/C++ to MariaDB and MySQL databases.

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

Install mariadb-connector-c 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 mariadb-connector-c using dnf by running the following command:

sudo dnf -y install mariadb-connector-c

Install mariadb-connector-c 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 mariadb-connector-c using yum by running the following command:

sudo yum -y install mariadb-connector-c

How To Uninstall mariadb-connector-c on Fedora 36

To uninstall only the mariadb-connector-c package we can use the following command:

sudo dnf remove mariadb-connector-c

mariadb-connector-c Package Contents on Fedora 36

---
title: "How To Install mariadb-connector-c on Fedora 36"
linkTitle: "mariadb-connector-c"
type: "docs"
description: "In this tutorial we learn how to install mariadb-connector-c in Fedora 36. mariadb-connector-c is The MariaDB Native Client library (C driver)"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/mariadb-connector-c-featured.png
---

## Introduction

In this tutorial we learn how to install `mariadb-connector-c` on Fedora 36.

### What is `mariadb-connector-c`

> The MariaDB Native Client library (C driver) is used to connect applications developed in C/C++ to MariaDB and MySQL databases.  

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

## Install mariadb-connector-c 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 mariadb-connector-c using dnf by running the following command:

sudo dnf -y install mariadb-connector-c

Install mariadb-connector-c on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

/usr/lib/.build-id /usr/lib/.build-id/13 /usr/lib/.build-id/13/46a8c11bf68df3be97b6c997c2b15b71037ac7 /usr/lib/.build-id/16 /usr/lib/.build-id/16/c11a89d70bb5e7a1d42fa469d66f0705382074 /usr/lib/.build-id/4f /usr/lib/.build-id/4f/6ed063d5300f979e3152749739a6b085f5ef78 /usr/lib/.build-id/77 /usr/lib/.build-id/77/4145fb640f23a8ab37e2f9b771a416a9990714 /usr/lib/.build-id/9a /usr/lib/.build-id/9a/f797389eb496aa38538610f2c512b7d4f90d50 /usr/lib/.build-id/c3 /usr/lib/.build-id/c3/62f1b9141889930cdde698aaef9125bebadc2d /usr/lib/.build-id/e8 /usr/lib/.build-id/e8/f912e461f04af3e1583008f5ab6e59b4a92eeb /usr/lib/.build-id/ea /usr/lib/.build-id/ea/c6b71f4e054f9fd48cf9e0b8d55d98b64a998d /usr/lib/libmariadb.so.3 /usr/lib/mariadb /usr/lib/mariadb/plugin /usr/lib/mariadb/plugin/auth_gssapi_client.so /usr/lib/mariadb/plugin/caching_sha2_password.so /usr/lib/mariadb/plugin/client_ed25519.so /usr/lib/mariadb/plugin/dialog.so /usr/lib/mariadb/plugin/mysql_clear_password.so /usr/lib/mariadb/plugin/remote_io.so /usr/lib/mariadb/plugin/sha256_password.so /usr/share/doc/mariadb-connector-c /usr/share/doc/mariadb-connector-c/README /usr/share/licenses/mariadb-connector-c /usr/share/licenses/mariadb-connector-c/COPYING.LIB After updating yum database, We can install mariadb-connector-c using yum by running the following command:

sudo yum -y install mariadb-connector-c
## How To Uninstall mariadb-connector-c on Fedora 36


## References
To uninstall only the `mariadb-connector-c` package we can use the following command:


```bash
* [mariadb-connector-c website](http://mariadb.org/)

sudo dnf remove mariadb-connector-c
## Summary

mariadb-connector-c Package Contents on Fedora 36

In this tutorial we learn how to install mariadb-connector-c on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/bd4b78133a19f89949fbbfa01346c9ce5b3a8b
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/d2bc34863a8236374d7b126d88784221805d35
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/c6b4518bcc97b3635f9a8b19e717e4ddc7a0d3
/usr/lib/.build-id/73
/usr/lib/.build-id/73/8c73466d0cd7ba728bc465b2ba3a2653db6dd8
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/711f03f852b6f3e1e1cd72d73ce3ca65a7acaa
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/5353e45b42ec4ab3be187f035daece60836a86
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/93cce51041bcd671c66ef501e39060cc092fe1
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/3784806c91119bfe9e4211928241c4fe2ae24b
/usr/lib64/libmariadb.so.3
/usr/lib64/mariadb
/usr/lib64/mariadb/plugin
/usr/lib64/mariadb/plugin/auth_gssapi_client.so
/usr/lib64/mariadb/plugin/caching_sha2_password.so
/usr/lib64/mariadb/plugin/client_ed25519.so
/usr/lib64/mariadb/plugin/dialog.so
/usr/lib64/mariadb/plugin/mysql_clear_password.so
/usr/lib64/mariadb/plugin/remote_io.so
/usr/lib64/mariadb/plugin/sha256_password.so
/usr/share/doc/mariadb-connector-c
/usr/share/doc/mariadb-connector-c/README
/usr/share/licenses/mariadb-connector-c
/usr/share/licenses/mariadb-connector-c/COPYING.LIB

References

Summary

In this tutorial we learn how to install mariadb-connector-c on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).