LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cannot find what package provides each these files (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-find-what-package-provides-each-these-files-4175487025/)

jyunker 12-05-2013 03:43 PM

cannot find what package provides each these files
 
I tried using sudo

yum provides *libname*

on the three files shown and I got nothing. For each of these files what packages provides it?

libgmp.so.10
libmpfr.so.4
libcufft.so.4

Any help appreciated. Thanks in advance.

Respectfully,

jyunker






[james@james Desktop]$ yum provides **
Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security
Error: Error accessing file for config file://///etc/yum.repos.d/devtools.repo
[james@james Desktop]$ sudo yum provides *libgmp.so.10*
Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.finalasp.com
* elrepo: ftp.colocall.net
* epel: mirrors.xmission.com
* extras: mirrors.seas.harvard.edu
* rpmforge: mirror1.hs-esslingen.de
* updates: mirrors.usinternet.com
No Matches found
[james@james Desktop]$ sudo yum provides *libmpfr.so.4*
Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.finalasp.com
* elrepo: ftp.colocall.net
* epel: mirror.es.its.nyu.edu
* extras: mirrors.seas.harvard.edu
* rpmforge: mirror1.hs-esslingen.de
* updates: mirror.hmc.edu
No Matches found
[james@james Desktop]$ sudo yum provides *libcufft.so.4*
Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.finalasp.com
* elrepo: ftp.colocall.net
* epel: mirror.es.its.nyu.edu
* extras: mirrors.seas.harvard.edu
* rpmforge: mirror1.hs-esslingen.de
* updates: mirror.hmc.edu
No Matches found

Bryzey 12-05-2013 04:26 PM

cannot find what package provides each these files
 
Have you tried rpm - qf filename

theKbStockpiler 12-05-2013 04:26 PM

You could do it manually by searching pbone or rpmfind.

Sydney 12-05-2013 06:44 PM

I would try:
Code:

sudo updatedb
sudo locate libgmp.so.10
get path mine was /usr/lib/x86_64-linux-gnu/libgmp.so.10
sudo yum provides /usr/lib/x86_64-linux-gnu/libgmp.so.10


chrism01 12-06-2013 12:11 AM

Try protecting the wildcards from the shell with single quotes
Code:

  yum provides '*libmpfr*'
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: centos.mirror.serversaustralia.com.au
 * centosplus: centos.mirror.serversaustralia.com.au
 * contrib: centos.mirror.serversaustralia.com.au
 * epel: mirror.optus.net
 * extras: centos.mirror.crucial.com.au
 * rpmforge: mirror.ventraip.net.au
 * updates: centos.mirror.crucial.com.au
1500 packages excluded due to repository priority protections
epel/filelists_db                                                            | 7.9 MB    00:00   
extras/filelists_db                                                          |  10 kB    00:00   
updates/filelists_db                                                        | 148 kB    00:00   
mpfr-2.4.1-6.el6.x86_64 : A C library for multiple-precision floating-point computations
Repo        : base
Matched from:
Other      : libmpfr.so.1()(64bit)
Filename    : /usr/lib64/libmpfr.so.1
Filename    : /usr/lib64/libmpfr.so.1.2.0



All times are GMT -5. The time now is 08:50 PM.