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.

Hey, I'm fairly new to Linux...so I have no idea what I'm doing lol....but, I was trying to install something, and it said something about needing to be recompiled in order to work with my kernal's version, so I told it to go ahead, and then it said it I needed a C compiler, so i used YUM and installed GCC (i think?), then tried recompiling it again, in which case it said it needed me to direct it to the folder which contained the "C headers"....after a few hours of googling and reading info, I Thought I had found the right version "C headers", and downloaded them, and installed them, and pointed the compiler to them....and it said the version of the C headers doesnt match my kernal's version.... ....im running the final version of Fedora Core 5....and I'm the biggest linux noob you've ever met , any help would be GREATLY appreciated

try opening a command prompt (should be able to right click on the desktop and choose "Open Terminal") type "su -" and enter the password then type "uname -rm" then in yum run "yum -y install kernel-*"
and see if that helps any

then if they don't show up in the rpm command run
yum -y install kernel-devel-YourKernel version
yum -y install kernel-headers-YourKernel version
and see if that fixes it.

Also if you would like a GUI for yum you have some choices, you can run yum -y install yumex (this installs the Yum Extender GUI) screen shots and such are at http://www.yum-extender.org/cms/modules/news/
or
yum -y install smart-0.42-39.fc6 smart-gui-0.42-39.fc6 smartmontools-5.36-3
This installs the Smart Package Manager tools also a GUI for updating, although it uses APT instead of YUM. Their home page is http://labix.org/smart screen shots and such are at http://zorked.net/smart/doc/README.html
I like either of these over the Software updater GUI.
By the way I noticed you have jpackage-generic or something like that for a repo.
You might want to look over this web site for a better way to install and run Sun's JVM http://www.fedorafaq.org/#java .

I think I found what I'm looking for on my FC5 disk...I'm just not sure which to install...it has multiple "kernel-" rpm's, with my version, but I have no idea which I need to install...

I think you are missing part of what you need also I noticed when you execute the yum command it lists "Loading "installonlyn" plugin" when I execute my yum I also have "Loading "fedorakmod" plugin"
let's try this
yum install plugin
and see where that takes you
BTW what were you trying to install that started this whole thing?

I think you are missing part of what you need also I noticed when you execute the yum command it lists "Loading "installonlyn" plugin" when I execute my yum I also have "Loading "fedorakmod" plugin"
let's try this
yum install plugin
and see where that takes you
BTW what were you trying to install that started this whole thing?

yum-fedorakmod.noarch 1.0.1-1.fc6 installed
Matched from:
/etc/yum/pluginconf.d/fedorakmod.conf
/usr/lib/yum-plugins/fedorakmod.py
/usr/lib/yum-plugins/fedorakmod.pyc
/usr/lib/yum-plugins/fedorakmod.pyo
config(yum-fedorakmod)
yum-fedorakmod
then run
yum -y install yum-fedorakmod.noarch
that shold get the modules package which has the headers and such.
If all else fails run
yum -y install yumex
then run a search in the search bar for yum that will bring up all of the goodies available for your yum version.

and, lol, I run Linux via a virtual computer, and I installed the tools so that I can move the mouse right into the Linux "computer", without having to click in the window, to make the mouse active within it, but after I installed the software to do that, I ran the config stuff for it, and it said it needed to recompile, as to work with my kernel, but then i didnt have a compiler installed, so i installed GCC, but then GCC needed the "C header" files in order to compile....and thus began my search for help :-P lol.

ahhhhhhhh....that was too much info all at once lol, I don't know what in that is commands, and what's spit-out text from a terminal.....and, I already have Yumex installed, though, what's the -y command do? Also, I can see the "kernel-devel-" packages on yumex, but their version doesnt match my kernel, whereas the ones on my disk do, I just don't know which to install to get what I need....

I run Linux via a virtual computer, and I installed the tools so that I can move the mouse right into the Linux "computer", without having to click in the window, to make the mouse active within it, but after I installed the software to do that, I ran the config stuff for it, and it said it needed to recompile, as to work with my kernel, but then i didnt have a compiler installed, so i installed GCC, but then GCC needed the "C header" files in order to compile....and thus began my search for help :-P lol.

Ah VMware server what a joy
I found it easier to install fedora as my main OS and install VMWare on that and make Windows the Virtual machine myself
but, I think your problem lies in two areas,
1 VMware was only comapitble with GCC version 3. something and Fedora uses GCC 4. something, in your CD find legacy software and install those packages.

2 it is possible that the wrong development package for your processor is installed, running "uname -m" will tell you what is in stalled.
please post a screen shot of what packages are available via yumex

well, actually it's VMWare Workstation, and it sees GCC, but, when I installed FC5, I left off most of the development stuff, cause I was going for a very small install, and I didn't know I'd need any of it , I believe I have the stuff I need right here on my disk, I'm looking at the "kernel-devel-" RPM's that match my kernel's version...I just don't know the difference between i586 and i686 ...or well, lol..

[root@localhost ~]# uname -m
i686
[root@localhost ~]#

okay, now I know which I need lol, and, what packages do you want me to take a screenshot of? I think there's multiple tabs of stuff...

forgot...where would I find the legacy software? and what might it be named as?

ahhhhhhhh....that was too much info all at once lol, I don't know what in that is commands, and what's spit-out text from a terminal.....and, I already have Yumex installed, though, what's the -y command do? Also, I can see the "kernel-devel-" packages on yumex, but their version doesnt match my kernel, whereas the ones on my disk do, I just don't know which to install to get what I need....

Sorry,
the -y option answers yes to questions; would you like to install certificate, etcetrea.
if the numbers are higher then your current Kernel they are newer versions.
You should need the basic kernel,
kernel-devel
kernel-doc
kernel-debuginfo
kernel-kdump
and yum-kernel-module
That should take care of basic needs. I remember you posting your kernel version ending in 2047? move to a higher number, my uname results are 2.6.18-1.2798.fc6 so if memory serves me correctly your newest version should be 2.6.18-1.22something go to that kernel.
the i686 means the cpu classifacation. I have a AMD Thunderbird 1700MHz and uname -m gives the output of i686.
Ask.com could give better information about it just ask what is i686 mean.
Let me know if I confused you more or if that helped.
btw if you run yum -h it does give command options with some expalination.