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.

  • why git or python or mongodb is not up to date too in ubuntu 16.04 LTS . And why mysql does up to date ? – christianbueno.1 Jan 7 '18 at 4:51
  • How often mysql take his updates? – christianbueno.1 Jan 7 '18 at 4:56

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.

  • I ask this, because this surprises me that mysql has being up to date in ubuntu 16.04 LTS xenial repositories. – christianbueno.1 Jan 7 '18 at 5:07
  • It is not only in that version, here you can see more details. – galoget Jan 7 '18 at 5:16
  • (metapackage depending on the latest version) , It is the key. And mysql had changes from 2016-04 beginning with version 5.7.12 to now 5.7.20 – christianbueno.1 Jan 7 '18 at 5:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.