Compile Source?

timmywear

Distinguished
Oct 13, 2009
11
0
18,510
Hi, could anyone help me on compiling from source?

I have been using a Linux OS for about a year now, (Fedora10-11) but have been putting off learning how to compile from source code.


Thanks
 

MrLinux

Distinguished
Dec 28, 2007
1,036
0
19,310
The short answer is to read the instructions supplied, some source comes with a configure script (run ./configure, then make, then make install (as root)), some come with a makefile (just run make, then make install...), some come with script files (or utilities) that do it all for you... most projects need certain library's installed (some cases certain versions of the library's)... the documentation should tell you how to build it and what the dependencies are.
 

Are you talking about compiling applications or compiling the kernel? As has been said, the former is fairly straightforward. The latter is more complicated but there are plenty of articles on the web about it. I believe there is even a Fedora-specific one on their web site.