gpt4 book ai didi

debian - 在 debian jessie 上安装 libmariadbclient-dev

转载 作者:行者123 更新时间:2023-12-02 04:02:04 25 4
gpt4 key购买 nike

我必须在我的 Debian8 上安装 libmariadbclient-dev,但不能:

$ sudo apt-get install libmariadbclient-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libmariadbclient-dev

我该怎么办,求助

最佳答案

您可以从 MariaDB 存储库安装它。

使用 repository configuration tool选择正确的架构、版本和镜像。

按照页面上显示的说明进行操作。

示例(不要按原样使用,确保选择了正确的版本和架构,以及合适的镜像)!

sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
sudo add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://mirror.netinch.com/pub/mariadb/repo/10.0/debian jessie main'
sudo apt-get update

You can also create a custom MariaDB sources.list file. To do so, copy and paste the following into a file under /etc/apt/sources.list.d/ (we suggest naming the file MariaDB.list or something similar), or add it to the bottom of your /etc/apt/sources.list file.

# MariaDB 10.0 repository list - created 2016-12-30 14:56 UTC
# http://downloads.mariadb.org/mariadb/repositories/
deb [arch=amd64,i386] http://mirror.netinch.com/pub/mariadb/repo/10.0/debian jessie main
deb-src http://mirror.netinch.com/pub/mariadb/repo/10.0/debian jessie main

在你配置了 repo 之后,运行 apt-get update 然后按照你之前尝试的方式安装包:

sudo apt-get install libmariadbclient-dev

关于debian - 在 debian jessie 上安装 libmariadbclient-dev,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41397445/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com