LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2017, 02:24 AM   #1
lqu17
LQ Newbie
 
Registered: Jun 2017
Posts: 4

Rep: Reputation: Disabled
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
 
Old 06-05-2017, 02:51 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Can you please tell us which distro (and version) you are running.
 
Old 06-13-2017, 05:13 AM   #3
lqu17
LQ Newbie
 
Registered: Jun 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
I am using kali rolling
 
Old 06-13-2017, 05:17 AM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Ok, thanks.

Let's have a look at your software sources first:
Code:
cat /etc/apt/sources.list{,.d/*}
 
Old 06-13-2017, 12:47 PM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
You can also try:
Code:
$ apt-cache search libmysqlclient
to find out if it has a slightly different name.
 
Old 06-13-2017, 01:29 PM   #6
jmgibson1981
Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 653

Rep: Reputation: Disabled
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.
 
Old 10-13-2017, 06:14 PM   #7
caloldur
LQ Newbie
 
Registered: Oct 2017
Posts: 1

Rep: Reputation: Disabled
Cool Good info

Quote:
Originally Posted by jmgibson1981 View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix+mysql+dovecot mail server thunderbird clinet configuration issue Vimuth Linux - Server 3 01-02-2013 12:39 AM
postfix+mysql+dovecot mail server thunderbird clinet configuration issue Vimuth Linux - Newbie 2 01-01-2013 04:17 AM
centos problems running mysql-community-server missing libmysqlclient klabacita Linux - Server 3 08-12-2010 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration