LinuxQuestions.org
Help answer threads with 0 replies.
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 12-05-2013, 03:43 PM   #1
jyunker
Member
 
Registered: Aug 2009
Posts: 134

Rep: Reputation: 0
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

Last edited by jyunker; 12-05-2013 at 03:45 PM. Reason: error in title
 
Old 12-05-2013, 04:26 PM   #2
Bryzey
LQ Newbie
 
Registered: Aug 2013
Posts: 11

Rep: Reputation: Disabled
cannot find what package provides each these files

Have you tried rpm - qf filename
 
Old 12-05-2013, 04:26 PM   #3
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: Fedora14,Scientific 6.1?, Mandriva 2010 ;GO MAGEIA!!!Next up Gentoo
Posts: 836

Rep: Reputation: 51
You could do it manually by searching pbone or rpmfind.
 
Old 12-05-2013, 06:44 PM   #4
Sydney
Member
 
Registered: Mar 2012
Distribution: Scientific Linux
Posts: 147

Rep: Reputation: 36
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
 
Old 12-06-2013, 12:11 AM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,287

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
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
 
  


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
[SOLVED] find files associated with a package using Ubuntu metallica1973 Linux - General 3 02-04-2013 11:45 AM
How to list/find all files etc related to a package? linus72 Slackware 3 08-28-2009 08:10 PM
linux-headers package on a VPS? (Couldn't find package) FEL Linux - Newbie 8 04-06-2009 11:45 AM
find files that do not belong to any package? Pinchiukas Slackware 10 09-15-2004 07:26 AM
how to find all files and programs in a package (RPM) 1kyle Linux - Software 1 07-13-2004 04:16 AM


All times are GMT -5. The time now is 12:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration