我一直在尝试安装mysql-community-client-5.7.17-1.fc25.x86_64.rpm
并且CentOS Linux release 7.3.1611
RPM 抱怨libncurses.so.6()(64bit)
rpm -Uvh mysql-community-client-5.7.17-1.fc25.x86_64.rpm
warning: mysql-community-client-5.7.17-1.fc25.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
libncurses.so.6()(64bit) is needed by mysql-community-client-5.7.17-1.fc25.x86_64
libstdc++.so.6(GLIBCXX_3.4.20)(64bit) is needed by mysql-community-client-5.7.17-1.fc25.x86_64
libstdc++.so.6(GLIBCXX_3.4.21)(64bit) is needed by mysql-community-client-5.7.17-1.fc25.x86_64
libtinfo.so.6()(64bit) is needed by mysql-community-client-5.7.17-1.fc25.x86_64
-
CentOS Linux release 7.3.1611 (Core)
Derived from Red Hat Enterprise Linux 7.3 (Source)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.3.1611 (Core)
CentOS Linux release 7.3.1611 (Core)
cpe:/o:centos:centos:7
那是因为您正在使用 Fedora 25 的构建,而您正在使用 CentOS7。我建议您下载 RHEL 的发行版。要设置所有内容,您需要下载:
先安装
common
,再libs
安装,依次client
类推。CentOS/RHEL 使用
stable
软件包,而 Fedora 使用最新版本。