LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 01-23-2007, 04:05 PM   #1
knutz
LQ Newbie
 
Registered: Jan 2007
Location: Auckland, New Zealand
Distribution: FC5 and LFS 6.2
Posts: 9

Rep: Reputation: 0
LFS binary installer


Hi,

I understand that the original (and I think current) purpose of LFS is to teach people how linux works. I also understand that programs are much more efficient when compiled from source. Please don't call me any rude names - but I want to create an quick-install cd. I understand that the only way to do this is installing pre-compiled binaries (otherwise it's the usual 6 hours or so).

My question is:
How do you get the binaries from the compiled code?
Do you just compile what you want and assume everyone else wants then do a copy and paste into the user-designated partitions?
How do you then make the binaries configurable?
Is there a site that describes this process?

Google hasn't been able to help me yet. Just wondering if anyone else asked the question and got a better answer than: "That's not what LFS is for!"
 
Old 01-28-2007, 04:29 PM   #2
Vitalie Ciubotaru
Member
 
Registered: Dec 2005
Location: Osaka, Japan
Distribution: Ubuntu Trinity
Posts: 153

Rep: Reputation: 30
Statistics say a lot of people saw your question, but none posted a reply. This might mean they do not know the answer(s) or just do not understand your question(s). I am not sure about the first category, but I am definitely in the second one. What do you actually want to do? Do you want to copy your ready-made LFS to other disks/computers? Do you want an installable CD? Should it be a liveCD?
 
Old 01-28-2007, 10:44 PM   #3
Angeliqe
LQ Newbie
 
Registered: Jan 2007
Posts: 22

Rep: Reputation: 15
"How do you get the binaries from the compiled code?"

compiled code = binaries...There's a lot of configuration that goes into compiling. Some of it can be automated.

"Do you just compile what you want and assume everyone else wants then do a copy and paste into the user-designated partitions?"

It's not really what you want, but what your hardware wants. Manufacturers of processors and motherboards and so on and so forth all have different ideas of what standards to use. Different configuration options during compilation take advantage of knowing specifically what hardware will be used. What you compile on one machine may not even work on another and definately won't work as well unless it's very similar hardware.

"How do you then make the binaries configurable?"

Binaries are for the most part not configurable in the same way as when you compile them.

"Is there a site that describes this process?"

http://www.linuxfromscratch.org describes how to build your own system. It's mostly copy and paste as long as your host system is capable. Assuming you can read and understand English and are semi computer literate.
 
Old 02-06-2007, 01:53 PM   #4
knutz
LQ Newbie
 
Registered: Jan 2007
Location: Auckland, New Zealand
Distribution: FC5 and LFS 6.2
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Vitalie Ciubotaru
Do you want to copy your ready-made LFS to other disks/computers? Do you want an installable CD? Should it be a liveCD?
What I'm after is a way to make my own easy installable distro. I mean Fedora, Red Hat, Kubuntu, Yoper all install between 10 and 45 mins. It's obvious all the packages are pre-compiled. They still work ok on my PC, so my question is, how do I get my custom LFS system to be easily installable from CD (maybe live cd or maybe just install CD)?
 
Old 02-16-2007, 01:20 PM   #5
pengStudent
Member
 
Registered: Nov 2003
Location: California
Distribution: Slackware 14
Posts: 55

Rep: Reputation: 15
knutz, if you want to build binary packages for compiled source code you will have to do this manually since LFS does not have a built in package manager or any other tool to help create those packages. One way of doing this is to compile the programs and pass different options to the ./configure and make install process. You will want to follow the same steps but not actually install the program, just compile it.

1. ./configure --prefix=/usr
This will configure the program to install in the /usr as opposed to /usr/local

2. make
This is the same as any other package compile

3. make prefix=/temp/usr install
This last step installs the program and all its files under /temp/usr as opposed to /usr. Since all the files are in 1 place , now you can package them up as a tar.gz or tar.bz2 package. To "install" unpack your package as root under the / directory. It will unpack under /usr and work just as expected.

Like I said, a very manual process, but once you get the grasp of it you can script the process out.

If you have other questions, PM me.
 
  


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
removing realplayer10gold (binary installer) oskar Linux - Software 6 06-04-2006 12:16 PM
Building Binary LFS Tuvok Linux From Scratch 10 03-20-2005 08:09 PM
How to differentiate between binary, source and package/installer? subaruwrx Linux - Software 19 06-21-2004 11:12 AM
lfs and an installer toolshed Linux - Software 0 06-11-2004 11:41 AM
Create binary packages of LFS 5.0 pengStudent Linux From Scratch 7 11-16-2003 05:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:02 AM.

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