$ sudo apt-get install mysql-server
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mysql-server
I am using Ubuntu 14.04.
$ sudo apt-get install mysql-server
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mysql-server
I am using Ubuntu 14.04.
mysql-server is a metapackage depending on the latest version of mysql-server, so it doesn't need to be installed. Open the terminal and type:
sudo apt-get update
sudo apt-get install aptitude
sudo aptitude install mysql-server-5.5 mysql-server-core-5.5
You should first check whether the package you are searching for exists by opening the terminal and typing:
apt search <your package name>
Select the package you want to install by typing
sudo apt-get install <the package name you found after searching>
You can do this also in the synaptic package manager app.
sudo apt-get update
, thenapt-cache search mysql-server
– George Udosen Nov 16 '17 at 17:16