Installing MySQL on Linux Using RPM Packages from Oracle Distribution Value Intended Use fc {version}  where  {version}  is the major Fedora version, such as  fc34 Fedora 33 and 34 sles12 SUSE Linux Enterprise Server 12 To see all files in an RPM package (for example,  mysql-community-server ), use the following command: shell>  rpm -qpl mysql-community-server- version - distribution - arch .rpm The discussion in the rest of this section applies only to an installation process using the RPM packages directly downloaded from Oracle, instead of through a MySQL repository. Dependency relationships exist among some of the packages. If you plan to install many of the packages, you may wish to download the RPM bundle  tar  file instead, which contains all the RPM packages listed above, so that you need not download them separately. In most cases, you need to install the  mysql-community-server ,  mysql-community-client , mysql-community-libs ,  mysql-community-common , and  mysql-community-libs-compat packages to get a functional, standard MySQL installation. To perform such a standard, basic installation, go to the folder that contains all those packages (and, preferably, no other RPM packages with similar names), and issue the following command: shell>  sudo yum install mysql-community-{server,client,common,libs}-* Replace  yum  with  zypper  for SLES, and with  dnf  for Fedora. While it is much preferable to use a high-level package management tool like  yum  to install the packages, users who prefer direct  rpm  commands can replace the  yum install  command with the  rpm -Uvh command; however, using  rpm -Uvh  instead makes the installation process more prone to failure, due to potential dependency issues the installation process might run into. To install only the client programs, you can skip  mysql-community-server  in your list of packages to install; issue the following command: shell>  sudo yum install mysql-community-{client,common,libs}-*  Replace  yum  with  zypper  for SLES, and with  dnf  for Fedora. A standard installation of MySQL using the RPM packages result in files and resources created under the system directories, shown in the following table. Table 2.12 MySQL Installation Layout for Linux RPM Packages from the MySQL Developer Zone Files or Resources Location Client programs and scripts /usr/bin mysqld  server /usr/sbin Configuration file /etc/my.cnf Data directory /var/lib/mysql Error log file For RHEL, Oracle Linux, CentOS or Fedora platforms:  /var/log/mysqld.log For SLES:  /var/log/mysql/mysqld.log 178