[CentOS] which gcc package?

Sun May 9 17:28:34 UTC 2010
Les Mikesell <lesmikesell at gmail.com>

Michael Klinosky wrote:
> Alexander Dalloz wrote:
>> You need to install an additional -devel packages.
> 
> Given a list of 10 choices, that would've been at the bottom. I _never_ 
> would have guessed!
> 
>> yum provides */Xlib.h
> 
> Thank you for today's linux lesson. I'm just delving into compiling 
> programs.

This isn't really 'linux' specific.  It relates to the way distributions are 
packaged.  If you don't compile things locally, you don't need all the .h header 
files so they are split into separate package-devel packages.  You can get a 
bunch of them at once if you pick the development-related groups during an 
install or you can do a 'yum grouplist', then 'yum groupinstall ...' for the 
ones you  are likely to need.

-- 
   Les Mikesell
    lesmikesell at gmail.com