how to install mysql 8.0?

i need help,can you tell me how to install mysql 8.0

you can download the specific version of mysql as required from Here you can download .deb package. For the moment, you can do

sudo dpkg -i mysql-apt-config_0.8.13-1_all.deb


I also want to install mysql and I tried your steps, but then I have to select the product (1) and after that which version I want to install (2). When I selected both it starts with the first message again so I’m stucked in a loop.



Please help me! Maybe you don’t like mysql and it wouldn’t be my favorite either, but I need it for a comparison in my studies.


well you wanna try update-alternative option for choosing default version of mysql if you got or want to have many versions

I just had to select OK after selecting the versions but the configuration guide was weird for me because the options changed after I selected the version. I wouldn’t expect such behaviour.
So, in the end everything is working now.