How To Install mysql++ on Fedora 36

In this tutorial we learn how to install mysql++ in Fedora 36. mysql++ is C++ wrapper for the MySQL C API

Introduction

In this tutorial we learn how to install mysql++ on Fedora 36.

What is mysql++

MySQL++ is a C++ wrapper for MySQL’s C API. It is built around STL principles, to make dealing with the database as easy as dealing with an STL container. MySQL++ relieves the programmer of dealing with cumbersome C data structures, generation of repetitive SQL statements, and manual creation of C++ data structures to mirror the database schema. If you are building your own MySQL++-based programs, you also need to install the -devel package.

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

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

sudo dnf -y install mysql++

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

sudo yum -y install mysql++

How To Uninstall mysql++ on Fedora 36

To uninstall only the mysql++ package we can use the following command:

sudo dnf remove mysql++

mysql++ Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/36b7825b2031ef81e48212fd10dddd6fbdcc17
/usr/lib/libmysqlpp.so.3
/usr/lib/libmysqlpp.so.3.3.0
/usr/share/doc/mysql++
/usr/share/doc/mysql++/CREDITS.txt
/usr/share/doc/mysql++/ChangeLog.md
/usr/share/doc/mysql++/README.md
/usr/share/licenses/mysql++
/usr/share/licenses/mysql++/COPYING.txt
/usr/share/licenses/mysql++/LICENSE.txt

References

Summary

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


title: “How To Install mysql++ on Fedora 36” linkTitle: “mysql++” type: “docs” description: “In this tutorial we learn how to install mysql++ in Fedora 36. mysql++ is C++ wrapper for the MySQL C API” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/mysql++-featured.png

Introduction

In this tutorial we learn how to install mysql++ on Fedora 36.

What is mysql++

MySQL++ is a C++ wrapper for MySQL’s C API. It is built around STL principles, to make dealing with the database as easy as dealing with an STL container. MySQL++ relieves the programmer of dealing with cumbersome C data structures, generation of repetitive SQL statements, and manual creation of C++ data structures to mirror the database schema. If you are building your own MySQL++-based programs, you also need to install the -devel package.

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

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

sudo dnf -y install mysql++

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

sudo yum -y install mysql++

How To Uninstall mysql++ on Fedora 36

To uninstall only the mysql++ package we can use the following command:

sudo dnf remove mysql++

mysql++ Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/57
/usr/lib/.build-id/57/e5cf55f7a1b9377c0ba9e29c18d4cd21a2810b
/usr/lib64/libmysqlpp.so.3
/usr/lib64/libmysqlpp.so.3.3.0
/usr/share/doc/mysql++
/usr/share/doc/mysql++/CREDITS.txt
/usr/share/doc/mysql++/ChangeLog.md
/usr/share/doc/mysql++/README.md
/usr/share/licenses/mysql++
/usr/share/licenses/mysql++/COPYING.txt
/usr/share/licenses/mysql++/LICENSE.txt

References

Summary

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