A Connector/C source distribution is packaged as a compressed
tar file, Zip archive, or RPM package,
denoted here as
A source distribution in tar file or Zip
archive format can be used on any supported platform. An RPM
package source distribution is intended for RPM-based systems
such as Linux.
To unpack a compressed tar file, use this command in the intended installation directory:
shell> tar zxvf PACKAGE.tar.gz
After unpacking the distribution, build it using the appropriate instructions for your platform later in this section.
To unpack a Zip archive, use WinZip or
another tool that can read
After unpacking the distribution, build it using the appropriate
instructions for your platform later in this section.
To install an RPM package, use this command to create binary RPM packages that you can install. If you do not have rpmbuild, use rpm instead.
shell> rpmbuild --rebuild --clean PACKAGE.src.rpm
The command should produce binary
devel RPM packages and indicate where it
placed them. You can install these packages using the
Section 2.4.1, “Installing Connector/C from a Binary Distribution”.