I have installed mysql from the official ubuntu repository, runing this commands.
sudo apt install mysql-server
Even you can install mysql-workbench. And this is the version, and yes it is the latest.
peter@peter-desktop:~$ mysql --version
mysql Ver 14.14 Distrib 5.7.20, for Linux (x86_64) using EditLine wrapper
In the mysql documentation you can install it by installing his mysql apt repositories.Then, It is a matter of personal preferences or is there some other matter?
If it exist, please share with us the details.
I ask this, because this surprises me that mysql has being up to date in ubuntu 16.04 LTS xenial repositories.
About your question and your comments:
It is just how do you prefer to install the package, for example:
To install a CLI Music Player called Tizonia (That I recently heard about and liked it a lot) you can install it in the folowing ways:
Executing
curl -kL https://github.com/tizonia/tizonia-openmax-il/raw/master/tools/install.sh | bash
.Downloading the *.deb file from here.
Installing using
sudo snap install tizonia
.You can clone the Github Repo and install it from source.
All those ways lead to the same destination, have installed Tizonia in your computer and working.
For MySQL it's the same thing, also you can download the source code and compile it in your own machine. While we are talking mysql is developing an experimental release of MySQL for the snap universal Linux package system, yet another way to install packages in Ubuntu.
For the 2nd question in your comments, here is your answer: Why don't the Ubuntu repositories have the latest versions of software?
Hope it helps.