How To Install community-mysql on Fedora 36

In this tutorial we learn how to install community-mysql in Fedora 36. community-mysql is MySQL client programs and shared libraries

Introduction

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

What is community-mysql

MySQL is a multi-user, multi-threaded SQL database server. MySQL is a client/server implementation consisting of a server daemon (mysqld) and many different client programs and libraries. The base package contains the standard MySQL client programs and generic MySQL files.

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

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

sudo dnf -y install community-mysql

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

sudo yum -y install community-mysql

How To Uninstall community-mysql on Fedora 36

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

sudo dnf remove community-mysql

community-mysql Package Contents on Fedora 36

/usr/bin/mysql
/usr/bin/mysql_config_editor
/usr/bin/mysqladmin
/usr/bin/mysqlbinlog
/usr/bin/mysqlcheck
/usr/bin/mysqldump
/usr/bin/mysqlimport
/usr/bin/mysqlpump
/usr/bin/mysqlshow
/usr/bin/mysqlslap
/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/38a8990fc3de87f85a37b13358991ca4efddb5
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/9d6bfa753e953f76a8af59ada8715d527f917f
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/e9aff694e101b3380b2536fcccd1dc0114f258
/usr/lib/.build-id/50
/usr/lib/.build-id/50/b70b42e1d9d87e00f095324c4785990746912d
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/743a7f2a7a018bf29f2ff8534eedce7ddbee59
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/5f6848b7ed70cba4533c5b05e92bedef9b6f65
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/83f93fc060ecee3c7e9baa1e677be4b96aaabf
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/2fc78b7435ea1c2b9807ad18daf65e5378ed8b
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/3d2c511c88aec51982ff491ce59c6f0c18988c
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/d550d18e36e439743a7999b150c47a986c37ba
/usr/share/man/man1/mysql.1.gz
/usr/share/man/man1/mysql_config_editor.1.gz
/usr/share/man/man1/mysqladmin.1.gz
/usr/share/man/man1/mysqlbinlog.1.gz
/usr/share/man/man1/mysqlcheck.1.gz
/usr/share/man/man1/mysqldump.1.gz
/usr/share/man/man1/mysqlimport.1.gz
/usr/share/man/man1/mysqlpump.1.gz
/usr/share/man/man1/mysqlshow.1.gz
/usr/share/man/man1/mysqlslap.1.gz

References

Summary

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