Pick the directory under which you want to unpack the distribution and change location into it.
Obtain a distribution file using the instructions in Section 2.1.3, "How to Get MySQL”.
Unpack the distribution into the current directory:
• To unpack a compressed -ar file, tar can uncompress and unpack the distribution if it has z option
support:
shell>tar zxvf mysql-VERSJON. tar.gz
If your tar does not have z option support, use gunzip to unpack the distribution and tar to unpack it:
shell >gunzip < icc^sql-VERSIOtI. tar. gz | tar xvf -
Alternatively, CMake can uncompress and unpack the distribution:
shell>cmake -E tar zxvf mysąl-VERSJON. tar. gz
• To unpack a Zip archive, use winZip or another tool that can read .zip files.
Unpacking the distribution file creates a directory named mysql-
VERSION.