LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-25-2012, 10:35 AM   #1
TylerGriffiths
LQ Newbie
 
Registered: Feb 2012
Posts: 2

Rep: Reputation: Disabled
Building RHEL 6 from sources


If my understanding is correct, Red Hat releases all the source code for RHEL. I've used Fedora and CentOS at various times in the past, but I really want to use real RHEL, and I want to build it from source. Where do I get them from, and how do I actually make a bootable OS from them?

Thanks, TYLER.
 
Old 03-25-2012, 10:43 AM   #2
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
A search for "redhat source" on popular search engines would have brought you straight to it (first hit on Google):

http://ftp.redhat.com/pub/redhat/linux/enterprise/

That said, recompiling it all from source is not straightforward. There are lots of complications, which is why projects like CentOS exist to do it for you. Doing it yourself won't make it any more RedHat than CentOS, it will just be more effort for you.
 
Old 03-25-2012, 11:28 AM   #3
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Browse the devel mailing list archives for CentOS and you will begin to get a handle on the process and challenges that might be involved. It is a non-trivial exercise, certainly, and would give you no performance boost or anything over just using CentOS at the end of the day.

If you are considering this as an alternative to paying the Red Hat subscription fee, I doubt it will be a cost-effective project when man-hours are accounted for.
 
Old 03-25-2012, 11:58 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
As per the 2 replies above, don't bother unless you intend to distribute your own distro or are just VERY bored or this is an academic project.
You won't gain anything and you still won't get the updates from RH without a subscription.
In any case, doing from Centos sources would make it possible to get help.
 
Old 03-26-2012, 10:48 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Install the FREE rebuilds of RHEL 6
CentOS 6
or
Scientific Linux 6
-- there are a few others but these are the big ones


But if you just want to BUILD the system from source then
USE
"Linux From Scratch "
and BUY the book !!!
 
Old 06-11-2012, 02:47 PM   #6
MustangChuck
LQ Newbie
 
Registered: May 2011
Posts: 11

Rep: Reputation: 1
Speaking of building from source code, is there an SRPMS repository for Scientific Linux or CentOS? I have been searching and have not found it. Or, do they simply grab the RHEL version and build it themselves?

Thanks,
Chuck
 
Old 06-11-2012, 04:59 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 6.

SRPMS SL 6 http://ftp.scientificlinux.org/linux...fic/6.2/SRPMS/
→ 'vendor' : probably equal to EL 6 ...
http://ftp.scientificlinux.org/linux.../SRPMS/vendor/


SRPMS CentOS 6, 'os' http://vault.centos.org/6.2/os/Source/SPackages/
( Redirect from http://mirror.centos.org/centos/6.2/...Sources_README ).
Updates http://vault.centos.org/6.2/updates/Source/

.
 
Old 06-12-2012, 06:37 AM   #8
MustangChuck
LQ Newbie
 
Registered: May 2011
Posts: 11

Rep: Reputation: 1
Those could be them, but I am also looking for the SRPMS for the 5.X series.

Thanks,
Chuck
 
Old 06-12-2012, 08:22 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 8

All versions http://ftp.scientificlinux.org/linux/scientific/
> 5.8 > SRPMS/, etc.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating RPM Package without sources, building etc prakashpms Linux - Software 1 08-27-2008 02:19 PM
building rpm from sources Yoyo302 Fedora 1 07-28-2005 06:52 PM
building apt sources.list mickeyboa Fedora 6 05-18-2005 02:08 PM
help building xgalaga from sources Joseph Schiller Linux - Games 2 01-22-2005 07:59 PM
Building RPM's from Sources in RH 7.3 MgF Linux - Newbie 2 02-03-2003 12:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration