content_image/773847.jpg content_image/773861.jpg
<img src='content_image/773847.jpg'>

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. 

<img src='content_image/773861.jpg'>

