LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 09-08-2009, 04:42 AM   #1
atevewr
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Rep: Reputation: 0
Linux Install Process


Hi to everyone,

I have a very simple question relating to a Linux installation
I hope that i am posting this at right place.

I want to know, when we install any Linux Distro, How is the install process carried out ?

For Eg. taking Anaconda or the Debian Installer in mind,
How does the actual installation is carried out, after we select all the user defined options.

Are the packages, rpm's/deb's etc are compiled according to the system, to make an executable image??

If yes, what internal compiler is used there? gcc?? a modular version?
I would be grateful if somebody can guide me to the right documentation.

Thanks in advance!!

Last edited by atevewr; 09-08-2009 at 04:44 AM.
 
Old 09-08-2009, 05:11 AM   #2
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
It actually depends on the distro. Some uses combined comressed files(like squashfs) some keeps the packages(rpms, debs etc) individually and separately in the installation media.

Linux installer identifies the hardware and configure the softwares properly as it is supposed to.
 
Old 09-08-2009, 05:15 AM   #3
strubbldesign
Member
 
Registered: Aug 2009
Distribution: Gentoo Xenserver (x/k)ubuntu CentOS
Posts: 36

Rep: Reputation: 15
you also can try ubuntu out without installing it (i mean going throug the installer and canel it on the last step

this can give you a nice previev how installers of ubuntu work

many other dists also provide this service
 
Old 09-08-2009, 02:18 PM   #4
atevewr
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
i think, this is something close, i was looking towards

http://d-i.alioth.debian.org/doc/internals/
 
Old 09-08-2009, 02:27 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,192

Rep: Reputation: 120Reputation: 120
I get the impression that you're trying to figure out which compiler the installer uses. For Debian, it doesn't. All packages are precompiled and just downloaded to your system during the installation process. The kernel, itself, is already compiled with all the commonly used drivers. This way, it's a one-size-fits-all, which is what's wanted during an install.
 
Old 09-08-2009, 11:35 PM   #6
atevewr
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Can i assume the same for Anaconda,
Can you please point me towards some documentation of Anaconda, as i was unable to find it.
 
Old 09-08-2009, 11:35 PM   #7
atevewr
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Can i assume the same for Anaconda,
Can you please point me towards some documentation of Anaconda, as i was unable to find it.
 
Old 09-09-2009, 12:59 AM   #8
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Yes, you may assume the same for anaconda. It would take ages to install if it had to compile everything that you wanted to install.
 
Old 09-09-2009, 09:04 AM   #9
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,860

Rep: Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768
Quote:
Originally Posted by atevewr View Post
I have a very simple question relating to a Linux installation
Just because it is a simple question, doesn't mean that it has a simple answer.

Quote:
I want to know, when we install any Linux Distro, How is the install process carried out ?
It varies. If you look at Gentoo (the distribution) or sabayon, you'll find that they do/can use an entirely different process from the standard
.deb/.rpm -based distros.

If you wqant the irritatingly generic answer, its 'you run a program and it does stuff'.

Quote:
Are the packages, rpm's/deb's etc are compiled according to the system, to make an executable image??
No, (up to a point) that's the point. There will be package files pre-compiled for different supported architectures (except for the degenerate case in which only one arch is supported) and the installer will select between the ones/one (!) that is available. this will givew you the desired executables for your arch. Additional configuration will also have to be done for a particular installation (writing .conf files, primarily).

Quote:
If yes, what internal compiler is used there? gcc?? a modular version?
IIRC, there is pretty effective gentoo documentation that you might want to look at, for a view 'from the other side of the fence'.
 
Old 09-09-2009, 07:01 PM   #10
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5
Posts: 16,086

Rep: Reputation: 1993Reputation: 1993Reputation: 1993Reputation: 1993Reputation: 1993Reputation: 1993Reputation: 1993Reputation: 1993Reputation: 1993Reputation: 1993Reputation: 1993
As basically said above, most distros provide pre-built binaries as the default, with src as an extra. Much safer/quicker install.
This is why, when distros came on up to 5 or 6 CDs, a std install would only use the first 2 or 3 CDs. The higher num CDs had the src code, but weren't usually needed for a std installation.
Used to be a fairly common qn here at LQ. These days, most people go DVD or download, so they don't realise.
 
Old 09-09-2009, 07:10 PM   #11
nathanpc
Member
 
Registered: Aug 2009
Location: Brazil
Distribution: Ubuntu Lucid
Posts: 45

Rep: Reputation: 15
The better to do in your case is to try a Live Distro, if you like you install it and use free!
In my case, i'm a Linux Hyper Fan, i use Linux in my notebook, HP Jornada 720(Handheld PC), in my Palm T|X and in my cellphone!

A Linux Fan!
 
Old 09-10-2009, 12:50 AM   #12
atevewr
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Ya, i hope, that if i would have wanted the "generic" answer, i wouldn't have bothered coming here. Moreover G$ can offer me more !

I have been asking for the right documentation, from my first post,
well, now i know, some distro's go for precompiled packages, others like gentoo do provide precomiled packages, with the option of compilation....

Is there any significant source, where i can read about all the distro's.....
or if somebody even tried to do that.....
its not that mundane, to not have a page of its own...

anyways, if there are other "different" processes of doing the installation,
i would request you to make a note here, so that i can do the documentation myself.
I will end up with an article of differential install processes on different distro's

& yes, i have been using Live CD's for my last three years.
& used my VMWare for even more stuff.

Thanks everyone.
 
Old 09-10-2009, 07:01 PM   #13
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5
Posts: 16,086

Rep: Reputation: 1993Reputation: 1993Reputation: 1993Reputation: 1993Reputation: 1993Reputation: 1993Reputation: 1993Reputation: 1993Reputation: 1993Reputation: 1993Reputation: 1993
Just FYI,

1. there are hundreds of distros; see www.distrowatch.com
2. most, if not all, distros have a HOWTO install doc on the web on their home page
3. there are many webpages of the 'Intro to Linux' type that describe how to install one (or more) Linux distros

I guess you could maybe create a site that indexed the Install HOWTOs for many distros. Might be tricky to keep up to date though (see 1 above).

Fundamentally, there are 2 major install types;

1. most distros go for the pre-built binary approach, although as per the GPL, you also get the src code files as well
2. a few (advanced user) distros just supply the src and a compiler, so you can build from scratch; see eg Gentoo, LFS

HTH
 
Old 09-12-2009, 06:08 AM   #14
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,860

Rep: Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768
Quote:
Originally Posted by atevewr View Post
Ya, i hope, that if i would have wanted the "generic" answer, i wouldn't have bothered coming here.
So, why, if you didn't want a somewhat lame, generic answer, did you not ask something more directed than a lame, generic, question?


Quote:
well, now i know, some distro's go for precompiled packages, others like gentoo do provide precomiled packages, with the option of compilation....
So, now you are an expert...

Even amongst the 'precompiled package' distros, there are significant differences, but as far as a generic answer is concerned, you are fully informed.

If you read, eg Maximum RPM (which is not all that different from a slightly expanded version of 'man rpm') you'll see how an rpm-based distro can install stuff from repositories. Obviously, not all distros do this, but, if you've got to provide the software to install stuff, it makes sense to use it to install stuff, no...

Of course that will not apply, in detail, to anything using .deb, but the general ideas will. And anything using the 'also works as a live CD' methodology will take a slightly different approach, although whether it willgo 100% for the live CD approach or a hybrid one, will vary from distro to distro.

Quote:
Is there any significant source, where i can read about all the distro's.....
Well, distrowatch is the best source that I know of for information on the differences between distros. It doesn't deal with this question specifically, but there is some stuff on the overall philosophy of the distros and the package management format/package manager.

Quote:
or if somebody even tried to do that.....
its not that mundane, to not have a page of its own...
Well, if you want you can create one, but it would be an amount of work for something that is of little general interest. But I suppose that you could argue that this is one of the wonders of the internet, whatever you want, no matter how wacky, someone has put up a site about it, or started a discussion about it.
 
Old 09-13-2009, 10:32 AM   #15
atevewr
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by salasi View Post
So, why, if you didn't want a somewhat lame, generic answer, did you not ask something more directed than a lame, generic, question?
Ya, it was a indeed a very lame question, & thank you for the expert reply i got.
 
  


Reply

Tags
anaconda, compilation, fan, install, linux


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install process freezes- testing aquaboot Debian 5 08-09-2009 03:12 PM
Need to install process at end of boot process ch485de Linux - Newbie 5 12-07-2006 05:47 PM
install process not working SuSE 10.1 Agent_White Linux - Newbie 12 10-12-2006 02:21 AM
Mandriva install process ? Daiashi Mandriva 3 03-13-2006 05:07 AM
failed install lilo during install process sirpelidor Mandriva 5 01-15-2004 12:51 AM


All times are GMT -5. The time now is 04:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration