Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installation from sources or from precompiled ISO ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
leninelenine
n00b
n00b


Joined: 20 Nov 2015
Posts: 2
Location: France

PostPosted: Fri Nov 20, 2015 7:39 pm    Post subject: Installation from sources or from precompiled ISO ? Reply with quote

Hello,

I'm new on Gentoo community.

I would know if I compile Gentoo minimal CD on my computer, the computing performance will be better, than if I use the distributed binary minimal CD ISO for installation.

Thanks
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54258
Location: 56N 3W

PostPosted: Fri Nov 20, 2015 8:04 pm    Post subject: Reply with quote

leninelenine,

Welcome to Gentoo.

The Linux system you use to install Gentoo only provides the tools needed to accomplish the install.
None of its code goes into your install, so you can use any Linux you happen to have.
You may need one extra step. That's
Code:
mkdir /mnt/gentoo

There is one constraint too. You must use a 64 bit kernel to do a 64 bit install.

The binaries used to form the core of your install are provided by the stage3 tarball, which you download during the install process.
The packages it contains are like any other packages, they are updated from time to time. Indeed, some of these packages may already be out of date when you install.
If you want to rebuild the entire stag3 tarball, you can.
Code:
emerge -eav @system
however, it will take longer to rebuild that any time savings due to the rebuild.

My view is to allow nature to take its course and rebuild things as the need arises.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
leninelenine
n00b
n00b


Joined: 20 Nov 2015
Posts: 2
Location: France

PostPosted: Fri Nov 20, 2015 9:02 pm    Post subject: Reply with quote

Thanks,
However, I have read that the interest of gentoo, is that you can compile your package yourself for more hardware compatibility.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54258
Location: 56N 3W

PostPosted: Fri Nov 20, 2015 9:25 pm    Post subject: Reply with quote

leninelenine,

That's correct. You will.

You download the stage3, ready built. You add your kernel, boot loader and a few other packages and reboot into your Gentoo.
At this time, your Gentoo has only what every Gentoo must have and few packages you must have but there is a choice.
Unlike a binary distro, the stage3 binary can be thought of an an 'empty system'.

e.g. lilo, grub, gub-legacy for your boot loader. With a UEFI system, you don't even need a boot loader.
You also choose your cron daemon and logger. You may choose not to have them too.

Once you reboot, you have a very basic Gentoo, that can do little more than compile other programs from source.
There is no GUI. If you want a GUI, you build it from source.

Gentoo gives you two things.
a) the packages you explicitly install
b) the things you need to build and run the packages you explicitly install.

This means you only get what you ask for.
Conversely, if you have not installed a package, you probably don't have it.

Getting back to your original question. The packages in the stage3 are only a small part of your install.
They do include all the packages you need to build other packages. This is called the 'tool chain'.
The tool chain from the stage3 will run on a wide range of systems, however, it will make code optimised to run on your system if you ask it to.
It does not need to be rebuilt to do this.

You can spend several hours of CPU time rebuilding it if you wish. It may save you a few seconds in build time but it will not change the binaries made by the tool chain, even one byte.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum