Binary (RPM) Distributions
The recommended way to install MySQL on an Intel Linux system is via RedHat Package Manager (RPM). Table 2-1 lists the files that comprise a full MySQL installation.
|
Filename |
Description |
|
MySQL-version.i386.rpm |
MySQL server software |
|
MySQL-client-version.i386.rpm |
MySQL client software |
|
MySQL-bench-version.i386.rpm |
MySQL tests and benchmarks; requires the Perl and msql-mysql RPMs |
|
MySQL-devel-version.i386.rpm |
Libraries and include files for compiling other MySQL clients |
|
MySQL-shared-version.i386.rpm |
MySQL client shared libraries |
The procedure for installing an RPM distribution is simple. First, obtain the RPMs you wish to install. At a minimum, you should install the server and client software. Second, use the rpm utility to install the packages.
For this example, we assume that all the RPM packages for Version 3.23.40 on an Intel Linux system will be installed. Also, assume the following RPM files have been downloaded to /tmp:
MySQL-3.23.40-1.i386.rpm
MySQL-client-3.23.40-1.i386.rpm
MySQL-devel-3.23.40-1.i386.rpm
MySQL-bench-3.23.40-1.i386.rpm
MySQL-shared-3.23.40-1.i386.rpm
Execute this sequence of commands to install them:
$rpm -i /tmp/MySQL-3.23.40-1.i386.rpm$rpm -i /tmp/MySQL-client-3.23.40-1.i386.rpm$rpm -i /tmp/MySQL-devel-3.23.40-1.i386.rpm$rpm -i /tmp/MySQL-bench-3.23.40-1.i386.rpm$rpm -i /tmp/MySQL-shared-3.23.40-1.i386.rpm
The RPM creates the appropriate ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access