LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   How to build a ISO DVD of Linux Fedora from source code? (http://www.linuxquestions.org/questions/fedora-35/how-to-build-a-iso-dvd-of-linux-fedora-from-source-code-904059/)

xlu2000 09-20-2011 02:19 PM

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!

John VV 09-20-2011 02:53 PM

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

xlu2000 09-20-2011 04:06 PM

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.

archtoad6 09-20-2011 05:16 PM

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.

John VV 09-20-2011 06:05 PM

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

xlu2000 09-20-2011 07:21 PM

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?

John VV 09-20-2011 08:08 PM

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

Timothy Miller 09-20-2011 08:18 PM

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.

xlu2000 09-21-2011 07:31 AM

Quote:

Originally Posted by Timothy Miller (Post 4477668)
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"

Thor_2.0 09-21-2011 12:40 PM

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

xlu2000 09-21-2011 03:36 PM

Quote:

Originally Posted by Thor_2.0 (Post 4478360)

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 (Post 4478360)
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?

Thor_2.0 09-22-2011 10:45 AM

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


All times are GMT -5. The time now is 02:14 PM.