Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install some dependencies for thrift using yum. I've found, for example boost via yum search boost which gives me (after a load of fails as the PC not on the web, but has a local repository somewhere...on the network...I think):

boost.x86_64 : The free peer-reviewed portable C++ source libraries

But when I go to try yum localinstall boost* I get nothing 'file does not end with RPM, skipping', likewise find boost* gives nothing.

Should my yum command work, and this is a sign that it's not on the network? Or is it on there and I'm not using the right command to find the path to the rpm for it? Bottom line: How can I use yum to install a local file I found using search?


I should mention, running yum install boost* fails as I cannot get on the web. This still leaves me wondering: The yum search result is not local (as per Ignacio's comment), and it's not installed (whereis and which are drawing up blanks, as is locate) nor can I even reach a repo. So what is yum search finding, and how do I install it?

share|improve this question
What is the output of locate boost.x86_64? – terdon Sep 24 '12 at 10:43
@terdon locate: cannot stat () '/var/lib/mlocate/mlocate.db': No such file or directory – Pureferret Sep 24 '12 at 11:09
Run updatedb as root first, and then then the locate command. locate will search for file names containing a pattern. It should at least be able to find your local rpm. – terdon Sep 24 '12 at 11:13
@terdon updated and it finds nothing. How do I know the search result is local? – Pureferret Sep 24 '12 at 12:53
I assumed it was local because you used localinstall and were referring to a local package. – terdon Sep 24 '12 at 13:10
up vote 2 down vote accepted

localinstall is intended to install packages you have on your local filesystem. If yum finds it in a repository then you should use install instead.


The reason yum install boost* fails is because you have files that match that pattern, and your shell is globbing it. Escape the wildcard.

yum install 'boost*'
share|improve this answer
Two things, does the out put form the search call imply it's not local (i.e. in a repo) and two, if it is in a repo, why doesn't just using install work? – Pureferret Sep 24 '12 at 12:24
yum only looks at packages either in a repo or already installed. And nowhere do you say that install doesn't work. – Ignacio Vazquez-Abrams Sep 24 '12 at 12:26
Sorry, I should have mentioned that to start. – Pureferret Sep 24 '12 at 12:54
+1 as I foudn this useful. Also I've updated the question. Is it clearer now? – Pureferret Sep 24 '12 at 13:38
Escaping the wildcard doesn't work either; it tries the all the mirrors, they all fail, it tries to download form base, that all fails (why does it get this far?) Then tells me all the files in boost didn't install. – Pureferret Sep 24 '12 at 14:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.