The only tool I use for finding and installing software, including the *-devel packages which contain the header files for specific libraries, is yum. For compiling code, you can start off getting the basics with:
Code:
yum group install "Development Libraries" "Development Tools"
There are several other speciality "Development" groups.. i.e "Legacy Software Development" and "X Software Development". Just use the "yum group list" command to see them all.
Expecting Fedora to install every single *-devel rpm package in it's repositories by default so they would "just be there" for your immediate use is wrong headed thinking. Here is the number of *-devel packages I currently have installed on my system:
Code:
BASH:~/-> yum list installed | grep devel | wc -l
96
And here is the number of additional *-devel packages if I asked yum to give them
all to me:
Code:
BASH:~/-> yum list available | grep "\-devel" | wc -l
5271
I don't even want to think about how much disk space would be required to accommodate all that, much less the fact that probably 98% of those would never ever ever be needed/used by me. It's generally fairly easy to use yum to determine
what *-devel package you need to install for a given "missing" header.
Aside from the usual looking into the README and INSTALLING files that generally come with most source code tarball packages and checking for any advice on what libraries are needed at the projects website, say, for instance, you run a ./configure and it halts on some error about not finding "zzlp/lib.h". What to install to get the missing "lib.h"? Use yum to find out:
Code:
BASH:~/-> yum provides *zzip/lib.h
Loaded plugins: langpacks, presto
updates/filelists_db | 7.7 MB 00:24
zziplib-devel-0.13.59-2.fc15.i686 : Development files for the zziplib library
Repo : fedora
Matched from:
Filename : /usr/include/zzip/lib.h
zziplib-devel-0.13.59-2.fc15.x86_64 : Development files for the zziplib library
Repo : fedora
Matched from:
Filename : /usr/include/zzip/lib.h
zziplib-devel-0.13.59-2.fc15.x86_64 : Development files for the zziplib library
Repo : @fedora
Matched from:
Filename : /usr/include/zzip/lib.h
Easy enough: yum install zziplib-devel
Yes, you still have to "go looking for header files" when compiling code in Fedora, but it's not that hard or daunting a task.