LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-20-2011, 02:19 PM   #1
xlu2000
Member
 
Registered: Aug 2010
Posts: 56

Rep: Reputation: 1
How to build a ISO DVD of Linux Fedora from source code?


Where is the source code of the whole Fedora to download?

The SRPMs are single files. I want to see the source code of whole Fedora, and also how to recompile it as linux kernel. Thank you!
 
Old 09-20-2011, 02:53 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
Where is the source code of the whole Fedora to download?
on the World Wide Web

what is it you want to do ?
build a custom "spin" ? If so please read the fedora pages
links are right there on the "get fedora" download page
https://fedoraproject.org/en/get-fedora-all
then click on
https://spins.fedoraproject.org/
https://spins.fedoraproject.org/about
and a tutorial
https://spins.fedoraproject.org/support
 
Old 09-20-2011, 04:06 PM   #3
xlu2000
Member
 
Registered: Aug 2010
Posts: 56

Original Poster
Rep: Reputation: 1
Two questions:

First, I couldnot find the tree Folders of whole Fedora as a Linux kernel, which include all packages.

Second, What is the tool to recompile Fedora in a few commands as kernel(./configure, make, make install), or without it and we have to compile Fedora packages one by one?

Spin has some functions, but it does not look like the direct answer of my question.
 
Old 09-20-2011, 05:16 PM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Moved: This thread is more suitable in Fedora and has been moved accordingly to help your thread/question get the exposure it deserves.

Ironically, that where you posted the 2 duplicates which have been closed.
 
Old 09-20-2011, 06:05 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
Second, What is the tool to recompile Fedora in a few commands as kernel(./configure, make, make install), or without it and we have to compile Fedora packages one by one?
you do not .
Building a OS is far more complicated than a few commands

go to the bookstore and buy the current "Linux From Scratch "

there are whole books on building a OS


but i think ( a guess only) your second question is referring to "rpmbuild"

you use rpmbuild to build the src rpms for the respin
 
1 members found this post helpful.
Old 09-20-2011, 07:21 PM   #6
xlu2000
Member
 
Registered: Aug 2010
Posts: 56

Original Poster
Rep: Reputation: 1
Official Fedora Distribution

How to make the official Fedora Distribution?

RPM can compile the packages, but one by one. Is RPM the only method to build the official Fedora Distribution? Any other methods, tools?
 
Old 09-20-2011, 08:08 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:

RPM can compile the packages, but one by one. Is RPM the only method to build the official Fedora Distribution? Any other methods, tools?
why don't you read the documentation
rpm DOSE NOT build programs ,it INSTALLS them .
but was surpassed by yum

Quote:
RPM can compile the packages
rpm dose NOT compile packages

Quote:
Is RPM the only method to build the official Fedora Distribution?
you do not use rpm

PLEASE read the documentation
a link from one of the above links - from the TUTORIAL LINK ABOVE
https://fedoraproject.org/wiki/Infra...re/CustomSpins
 
Old 09-20-2011, 08:18 PM   #8
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,003
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
You don't MAKE an official Fedora distro. You install it from what they've already made. You can, as pointed out, create a custom spin that had all the same packages, but it won't be the OFFICIAL distro. And the first reply gave you links to how to do that.
 
Old 09-21-2011, 07:31 AM   #9
xlu2000
Member
 
Registered: Aug 2010
Posts: 56

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Timothy Miller View Post
You don't MAKE an official Fedora distro. You install it from what they've already made.
Custom spin(and/or with recompiled packages) is not official Fedora distro, so I asked whether the Fedora developers use ONLY the same tools to MAKE(which means to compile)official Fedora distro.

Spin is not a compiling tool, rpmbuild is one. Do the Fedora developers use other compiling tools?

ps: MAKE and BUILD are equal to "compile"

Last edited by xlu2000; 09-21-2011 at 07:34 AM.
 
Old 09-21-2011, 12:40 PM   #10
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Okay...maybe some basics first.

Linux is not a lump of harddisk filling, it's a collection of interacting pieces of software.

You did'nt really mention what you want to do. Build a MyFedora? If do, make a Spin, as John VV pointed out.
If you want to make a MyLinux type of distro, then Linux from Scratch is the way to go.

Linux is not the result of a "generator" in that you enter some parameters and out comes the CD image. In escence, Linux is a set of software-Lego bricks someone assembled for you. Of course, it is possible to assemble your own bricks...

In very brief: learn to build software on Linux. The steps are simple (example):
- download something
- unpack
Quote:
tar xvzf grub-1.99.tar.gz
- enter the folder tar created
Quote:
cd grub-1.99
- read the readme and configure
Quote:
./configure
- make the software
Quote:
make
- install
Quote:
make install
After all the software (there is a lot more to be installed) is installed, you'll have a working Linux system.

Tweaking a distro (taking care about copyrights) can be as simple as unpacking the ISO and replacing stuff...it CAN be, but rarely is...simple.

May I know your level of proficiency in building software? That way, we can point you to the best starting block for the race...one that we all want you to win

Thor

Last edited by ButterflyMelissa; 09-21-2011 at 12:41 PM.
 
1 members found this post helpful.
Old 09-21-2011, 03:36 PM   #11
xlu2000
Member
 
Registered: Aug 2010
Posts: 56

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Thor_2.0 View Post

You did'nt really mention what you want to do. Thor
Compile:

I want to modified and compile the Fedora source code.

SPIN is for distro. No one directly answered my question of the compiling tools.

As my understood now, RPMbuild is the ONLY tool to compile the packages, which is the ONLY tool can be used by either the official fedora developers or users as me.

Quote:
Originally Posted by Thor_2.0 View Post
May I know your level of proficiency in building software?
I was not a professional linux developer even though I did some coding in Linux. I focus on architecture design.

I want to read Fedora source code. Could anyone introduce me a source code browser as LXR whcih can access all files of Linux kernel or Fedora?


By the way, who is the lead of Fedora project?

Last edited by xlu2000; 09-21-2011 at 04:02 PM.
 
Old 09-22-2011, 10:45 AM   #12
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
No one directly answered my question of the compiling tools.
Yes we did. You download the sourcecode, and if needed modify that. It takes some tenacity...and quite some experience in programming in C....but it can be done. Coders all over the world do it.

As for the code (it took me a few minutes of searching...) I think this list could be a starter...

Quote:
As my understood now, RPMbuild is the ONLY tool to compile the packages, which is the ONLY tool can be used by either the official fedora developers or users as me.
Yes it is. The workflow could be something like this: download the desired source code, and modify it. Then compile (the usual steps) and turn it into an installable package: an RPM. Then, you can distribute this as a package. You could modify the entire thing this way.

Be warned though...you're in for a hefty task.

Thor
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to build a ISO DVD of Linux Fedora from source code? xlu2000 Fedora 2 09-20-2011 03:15 PM
How to build a ISO DVD of Linux Fedora from source code? xlu2000 Fedora 2 09-20-2011 03:15 PM
access to fedora core 9 source code from the installation DVD mitulk Linux - Newbie 1 06-17-2009 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:37 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