那里从源代码安装 MySQL 有两种方法:There are two methods for installing MySQL from source:
使用标准 MySQL 源代码发行版。要获取标准发行版,请参阅第 2.1.3 节“如何获取 MySQL”。有关从标准发行版进行构建的说明,请参阅第 2.8.4 节“使用标准源发行版安装 MySQL”。Use a standard MySQL source distribution. To obtain a standard distribution, see Section 2.1.3, “How to Get MySQL”. For instructions on building from a standard distribution, see Section 2.8.4, “Installing MySQL Using a Standard Source Distribution”.
Standard distributions are available as compressed tar files, Zip archives, or RPM packages. Distribution files have names of the form
mysql-,VERSION.tar.gzmysql-,或VERSION.zipmysql-,其中VERSION.rpmVERSIONis a number like8.4.9. File names for source distributions can be distinguished from those for precompiled binary distributions in that source distribution names are generic and include no platform name, whereas binary distribution names include a platform name indicating the type of system for which the distribution is intended (for example,pc-linux-i686或者winx64).Standard distributions are available as compressed tar files, Zip archives, or RPM packages. Distribution files have names of the formmysql-,VERSION.tar.gzmysql-, orVERSION.zipmysql-, whereVERSION.rpmVERSIONis a number like8.4.9. File names for source distributions can be distinguished from those for precompiled binary distributions in that source distribution names are generic and include no platform name, whereas binary distribution names include a platform name indicating the type of system for which the distribution is intended (for example,pc-linux-i686orwinx64).使用 MySQL 开发树。有关从开发树之一进行构建的信息,请参阅第 2.8.5 节“使用开发源代码树安装 MySQL”。Use a MySQL development tree. For information on building from one of the development trees, see Section 2.8.5, “Installing MySQL Using a Development Source Tree”.