What do I need to compile kernel?

Posted on 1999-07-16
Medium Priority
Last Modified: 2013-12-15
I just installed RedHat 6 and I want to recompile my kernel.
When I type "make xconfig" in my /usr/src/linux folder,
it tells me "bash: make: command not found". What else do I need to make this run?
Question by:sxn
  • 2

Expert Comment

ID: 1629676
You need to install two more rpms from your RedHat CD, usually in




Author Comment

ID: 1629677
I already have those RPMs installed

Author Comment

ID: 1629678
I already have those RPMs installed

Accepted Solution

cvidler earned 280 total points
ID: 1629679
You need to install the 'make' RPM and maybe the 'gcc' RPM (ie the make program and source code compiler). These can be found in the 'Development' fodler of the RPM directory

You can install pakcages from within X11 by typing 'glint' at an x terminal. From there you can click the 'Available' button and it will scan your CD for uninstalled RPM's and then you can search for those you need and install them.

You can find 'make' in the /Development/Buidling folder and 'gcc' in the /Development/Languages folder. (note, if these don't appear you may not have the RPM's or they are already installed)

install those and you should be able to compile any source code you get.

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Virtualization software lets you run different versions of Windows, Ubuntu Linux and other versions of Linux all at the same time, rather than running each one directly from your computer's hard drive.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question