• Happy holidays, folks! Thanks to each and every one of you for being part of the Tom's Hardware community!

I need to download the source for my Redhat linux

FredRdr88

Honorable
May 26, 2017
206
1
10,695
I have the version that if I were to say cat /proc/version, it would output:

Linux version 3.10.0-327.el7.x86_64 (mockbuild@x86-034.build.eng.bos.redhat.com) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) #1 SMP Thu Oct 29 17:29:29 EDT 2015

The above is basically
RHEL Linux 7.3 SE or

I've already downloaded the source once - I have the kernel-devel and other stuff. I just want to know how to get all of the source. Which exact files do I download if I wanted to rebuild the entire Linux for my machine. Including drivers, everything.

I remember I had kernel-3.10.0-327.el7.src.rpm which is 83.8MB, kernel-debug-devel-3.10.0-327.el7x86_64.rpm which is 11.5 MB, etc.. I'm trying to understand all this before I install it. I already installed it once but I must have done something wrong because the kernel will not build.

My goal is to have a complete rebuild (and with drivers all capable of debugging or release).

Sorry, I should have issued the command:
cat /etc/redhat-release, and the output would be:

Red Hat Enterprise Linux Server release 7.2 (Maipo)

And the command uname -a would give:

uname -a - gives kernel version
3.10.0-327.el7.x86_64 @#1 SMP Thu etc... EDT 2015 x86_64 etc... GNU/Linux