Once installed and mySQL is fully installed you simply can yum or apt install the needed libs like libmysqlclient16 if you're running a 64bit OS.
This is the best and official way to install the latest mySQL and receive all the latest updates right away and the only way to install 32bit libs on a 64bit system officially.