C header files location

Simon simon80-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sat Dec 9 03:26:36 UTC 2006


When running a command someone else gave you it's helpful to read the
output and make sure that it worked - here we see that nothing was
installed:

On 12/8/06, chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org <chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org> wrote:
> Parsing package install arguments
> No Match for argument: linux-headers-
> No Match for argument: uname -r
> Nothing to do

You told yum to install linux headers- and 'uname -r', because a space
was added, and single quotes ('') were used instead of backticks (``).
 The purpose of backticks is to run whatever is inside the backticks,
and substitute the output of that command into your command.  So if
uname -r outputs "2.6.17-10-generic", for example, then
linux-headers-`uname -r` becomes linux-headers-2.6.17-10-generic.
This assumes that that is how your distribution chooses to name its
header packages, if it provides header packages at all (it's safe to
say that it would provide them though).
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list