Many persons prefer to install MySQL from the binaries compiled with Mysql, rather than using packages (rpm, apt, ...):
Installing the packages in directories of your choice, it quite difficult
It depends on the frequency of updating those packages: Unable to test a new version
Sometimes you want to install multiple versions and switch easily from one to another but when an update is available and that you install it how can I go, how will you revert the changes in case of problems
The alternatives are:
compiling the source code, is sometimes complicated and the result could reveal to be less performant that using the orignal source code of Mysql ...
use binaries compiled by Mysql ( the topic that we shall discuss below).
Note that this manipulation will take less than 15 minutes, and gives you a fresh installation of Mysql
Note: The following steps can make a clean install, if you want to migrate, just skip the setup steps, setting up data files, ...
Installation will be in/usr/ local
You have sufficient rights on the server
The Unix user will be "Mysql" (existing account)
Retrieve binary mysql
1) Retrieve binary mysql: here we take an Intel 64bit Linux server