在CentOS

问题描述:

安装GMP我试图在CentOS安装GMP,并出现以下错误:在CentOS

yumdownloader --source gmp 
Enabling mysql-tools-community-source repository 
Enabling mysql-connectors-community-source repository 
Enabling mysql56-community-source repository 
Loading mirror speeds from cached hostfile 
* base: centos.mirrors.ovh.net 
* epel: nl.mirror.babylon.network 
* epel-source: nl.mirror.babylon.network 
* extras: centos.mirrors.ovh.net 
* updates: centos.mirrors.ovh.net 
No source RPM found for gmp-4.3.1-10.el6.x86_64 
No source RPM found for gmp-4.3.1-10.el6.i686 
Nothing to download 

你能帮助我吗?

+0

为什么你正在尝试,而不是一个二进制包来获取源(的古董版)?如果你确实需要源代码,你可以直接从gmplib.org获取最新的源代码。 –

+0

请注意,问题是在下一个网址回答:http://stackoverflow.com/questions/38190892/unable-to-install-gmp-in-centos –

如何安装GMP:#yum install gmp-devel

+0

@Paulo Monteiro,你可以得到源src.rpm从Redhat:ftp://ftp.redhat.com/redhat/linux/enterprise/6Server/en/os/SRPMS/gmp-4.3.1-10.el6.src.rpm。 CentOS保险库也提供相同的软件包http://vault.centos.org/6.8/os/Source/SPackages/ –