LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apt-get install mysql-server mysql-clinet libmysqlclient-dev (https://www.linuxquestions.org/questions/linux-newbie-8/apt-get-install-mysql-server-mysql-clinet-libmysqlclient-dev-4175607306/)

lqu17 06-05-2017 02:24 AM

apt-get install mysql-server mysql-clinet libmysqlclient-dev
 
Can someone help me with this.
# apt-get install mysql-server mysql-client libmysqlclient-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libmysqlclient-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libmysqlclient-dev' has no installation candidate

hydrurga 06-05-2017 02:51 AM

Can you please tell us which distro (and version) you are running.

lqu17 06-13-2017 05:13 AM

I am using kali rolling

hydrurga 06-13-2017 05:17 AM

Ok, thanks.

Let's have a look at your software sources first:
Code:

cat /etc/apt/sources.list{,.d/*}

AwesomeMachine 06-13-2017 12:47 PM

You can also try:
Code:

$ apt-cache search libmysqlclient
to find out if it has a slightly different name.

jmgibson1981 06-13-2017 01:29 PM

Try default-libmysqlclient-dev. I found that difference between debian jessie and stretch. I think kali is based on debian so that might be it.

caloldur 10-13-2017 06:14 PM

Good info
 
Quote:

Originally Posted by jmgibson1981 (Post 5722390)
Try default-libmysqlclient-dev. I found that difference between debian jessie and stretch. I think kali is based on debian so that might be it.

Was trying to get this installed on my google cloud debian box and was having some trouble.
Thanks to the guy above for the package name. The following command worked for me.
sudo apt-get install default-libmysqlclient-dev


All times are GMT -5. The time now is 09:30 AM.