Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
this might sound odd and probably ridiculous to most people, but what exactly are headers? i see to compile the kernel i need kernel headers, why is this? and why seperate them from the source code packages if i need them to compile (as after all, all your gonna do with source is possibly alter then compile..right?)
well i suppose you mght edit then send to someone, i dont know but basically im just curoius as to what headers actually are as ive seen them in multiple packages, and it seems like any package that needs compiling needs its headers.
headers are files, sometimes called includes, that contain code that's re-used and then used in other pages of code.
i think the reason you're missing kernel headers is because you've downloaded the patch, but don't have the source code for the kernel you're running now installed on you system.
just get the full version of the kernel.
im not sure why they didnt come with the code, its from slack 9.1 packages, they are seperate and kernel is broken down into modules, ide, source and headers. got it all fixed now though (was having a make dep problem), but was just wondering what the headers were as im curious...
no good knowing how to do something if you dont know what it is your right? not if you want to learn :P
Let's say that if a program you are about to compile
has dependencies for other libraries, you'd need to
install the package that provides that library (and it's
headers) first. Usually a program wouldn't have it's
own headers in a seperate package. (Note that the
kernel source already includes the headers, that is,
if you install the kernel source you don't need to
install the headers as well).
really? thats odd, i have the kernel source yet i need the headers? well im sure i had the source anyway. installed from slack 9.1 cd's....thats the full source right? (well im pretty sure it is, says so in the slack package browser)
so to check, to run make dep u reckon id only need the kernel source?