LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   My Shiny New LFS Desktop (https://www.linuxquestions.org/questions/linux-from-scratch-13/my-shiny-new-lfs-desktop-4175416567/)

Keith Hedger 07-13-2012 01:14 PM

My Shiny New LFS Desktop
 
Just about got all I need installed now, just missing a few minor cli commands and fonts and I'm god to go.
Major apps:
Claws - Mail App
Chrome - Browser
Links - Console Browser
Gimp 2.6 - What a PITA to install!
Conky - How do you describe Conky?
Cairo-Dock - Another PITA
Xfce 4.10 - Easy Peasy Lemon Squeezy
SpaceFM - File Manger ( Nautilus gone but not forgotten )
Gedit - Best Text Editor Since EdWord
Meld - Visual Diff Editor
Mplayer - Latest SVN Version
Ffmpeg - Latest GIT Version
Xfce-Theme-Manager - What It Says ( blatant plug )
gFtp - FTP Client
Lfspkg - My own package manager based on slackpkg.

What it looks like:
http://keithhedger.hostingsiteforfre...shots/lfs1.png

spiky0011 07-13-2012 01:18 PM

Hi

Looking good I take it you are proud of it

Keith Hedger 07-13-2012 01:37 PM

Quote:

Originally Posted by spiky0011 (Post 4727276)
Hi

Looking good I take it you are proud of it

Yeah It's been hard work but well worth it I've got rid of a load of junk I don't need and the stuff I have put in runs much better/faster, still tweaking the kernel but I am using it pretty much all the time now, though I still have my main slackware install just in case.

stoat 07-13-2012 04:31 PM

Nice. But I never got to see the image.

Anyway, when you need some office stuff, I found Abiword and Gnumeric easy to install without having to get bogged down in too much dependency stuff. Later on, I found the LibreOffice steps to have been greatly simplified in recent book versions. It's much easier than OpenOffice ever was, IMO.

About a month ago, I removed my last Linux distro. My BLFS system is the only Linux I have now.

brhanheck 10-03-2012 09:40 AM

for some help...
 
Quote:

Originally Posted by Keith Hedger (Post 4727272)
Just about got all I need installed now, just missing a few minor cli commands and fonts and I'm god to go.
Major apps:
Claws - Mail App
Chrome - Browser
Links - Console Browser
Gimp 2.6 - What a PITA to install!
Conky - How do you describe Conky?
Cairo-Dock - Another PITA
Xfce 4.10 - Easy Peasy Lemon Squeezy
SpaceFM - File Manger ( Nautilus gone but not forgotten )
Gedit - Best Text Editor Since EdWord
Meld - Visual Diff Editor
Mplayer - Latest SVN Version
Ffmpeg - Latest GIT Version
Xfce-Theme-Manager - What It Says ( blatant plug )
gFtp - FTP Client
Lfspkg - My own package manager based on slackpkg.

What it looks like:
http://keithhedger.hostingsiteforfre...shots/lfs1.png

Hi,
i gotta ask you something...actually i've built lfs several times almost complete but failed every single time...not i am kinda gonna doubt that weather it works or not..but as you've built, so i wanna ask few things to you if you never mind...that is:
how many times has you built lfs?
do i need to compile every single make check/test file? except of most imp ones like gcc or so...
is blfs is also as complicated as lfs?
how much time it overall (lfs + blfs) takes?

stoat 10-03-2012 09:53 AM

Hello brhanheck,

You didn't ask the questions to me, but I don't think you or Keith Hedger will object to my input here, too. If I guessed wrongly about that, then I apologize and retreat. You can ignore the following.

Quote:

Originally Posted by brhanheck

...not i am kinda gonna doubt that weather it works or not

I can assure you that LFS works. It's been around since 2002. If it didn't work, then it would qualify as one of the greatest hoaxes in history. The only computer operating system that I use now is BLFS. I don't use any Linux distros nor any Windows systems. I donate money to the LFS project every time I build a new system. I have a wiki account there and routinely submit bug reports and book errors which the maintainers seem to appreciate and act on quickly. I am counting on the project going on for another decade.

Quote:

Originally Posted by brhanheck

how many times has you built lfs?

I have built the last three versions of LFS. And I have used those to go and build six BLFS systems.

Quote:

Originally Posted by brhanheck

...do i need to compile every single make check/test file? except of most imp ones like gcc or so...

IMO, no. I stopped doing routine make checks long ago. Know why? First because they add so much time to the overall building process. But also because mine never failed. Not even once. That may not be universally experienced or agreed to around here, but it is at least the truth for me. I'm not saying this as a recommendation to everyone. I'm only answering your question in what I think is a truthful way. In other words, if all the checks pass, then the system still would have been good if the checks had not been done. For the first time though, do them. They are good feedback that you understand what you are doing.

Quote:

Originally Posted by brhanheck

...is blfs is also as complicated as lfs?

To me, BLFS is just more of the same from LFS. The difference is that BLFS is not a linear book like LFS. It's not a step-by-step beginning-to-end set of instructions like LFS. You don't install everything like in LFS. That requires you to know what you want to install. My friends here taught me to install GPM (the mouse daemon) and Lynx first to be able to read the book and copy from it (LFS has no X or GUI apps at first, you know). Then I do the first few chapters to further establish the environment and a user account, and a few basic things like a firewall. After that, then I skip around to what I want to install. The issue of dependencies can get complicated and need to be sorted out into a plan somehow. But once you've built one BLFS system, the next ones are easy and have only minor variations to the dependency trees (so keep your notes). The BLFS book is sort of a rolling release with daily versions. This means you will encounter incompatibilities and errors that are rare in the LFS book. Usually, the next daily version or so will have the needed corrections. If not, then make the maintainers aware of it, and it will be fixed quickly (in my experience).

Quote:

Originally Posted by brhanheck

how much time it overall (lfs + blfs) takes?

My first LFS system took about three evenings. I now build the LFS system in one evening. I spend the next month of evenings building the BLFS systems the way I want them.

brhanheck 10-03-2012 10:18 AM

Hi stoat...
thanks for your reply....i appreciate your help today....
but i've build lfs recently may be more then 3 times and i got a lota errors...i am using ubuntu in vmware fusion. could ubuntu host under virtual machine make problem?
if not so, then how will i boot from lfs after compiling lfs from ubuntu host as bootable package? i mean how could i boot from vmware fusion? will it detect lfs built or not?
if it will not, then which virtual machine best for lfs and which host sys is best? i've heard that ubuntu is not best at all...

and for the sake of blfs...i am really exciting about that because it is the only exciting part of the game...can you please tell me that after making lfs completely, can i install directly gnome desktop from blfs at my existing lfs?

Keith Hedger 10-03-2012 12:18 PM

Quote:

Originally Posted by brhanheck (Post 4796062)
Hi,
i gotta ask you something...actually i've built lfs several times almost complete but failed every single time...not i am kinda gonna doubt that weather it works or not..but as you've built, so i wanna ask few things to you if you never mind...that is:
how many times has you built lfs?
do i need to compile every single make check/test file? except of most imp ones like gcc or so...
is blfs is also as complicated as lfs?
how much time it overall (lfs + blfs) takes?

Well I have built LFs about three or four times, it's difficult to say exactly as I decided to script it as I went along so I erased some bits and rebuilt using the script, I first built the vanilla LFS but decided to build CLFS as I like my libs in /lib64 /usr/lib64 etc. I didn't do all the tests just the very important ones when building the tool chain and I only run the tests the first time I built LFS, I skipped some very long tests, can't remember which ones.

Difficult to say how long it takes, it's sort of how long is a piece of string, the basic bootable system I guess to a couple/three days, the extra bits X,xfce,firefox etc etc is an ongoing process, for instance having had a stable system now for a month or two I am now upgrading a lot of packages, but then I am a fiddler!

BLFS is what you dip into when you have a working system, just think of it as a "pic'n'mix" you just use the bits you want.

I would strongly suggest making notes as you go or as I did put the commands into a script its easy then to see if you have missed something and you can always re-run the script, also make small scripts for setting up and chrooting into your LFS as aside from typing everything every time you go in and out of the chroot environment being a pain, once you have working scripts you stand less chance of making mistakes.

I agree with all the remarks by stoat.

Keith Hedger 10-03-2012 12:26 PM

P.S.

If you have the disk space I would set up a partition to build LFS on as it will make it lots easier to run the real thing later on, I may be wrong but looking at these forums it seems more people have more trouble building LFS on a virtual machine than on a 'real' disk, just an impression I get.

As for host systems I would strongly suggest slackware as it does not split dev packages, ie in ubuntu for instance to compile against a library you need to install BOTH the library itself AND the -dev package, slackware isn't exactly user friendly but is very stable with good forums and is a good learning experience in itself, it's what I used to build LFS.

spiky0011 10-03-2012 12:32 PM

I agree about a dedicated partition as well

brhanheck 10-04-2012 02:10 AM

well, thanks for your reply keith...but i gotta still ask you something, that why did you chose xfce? rather then gnome or kde? is there something wrong with them?
and i also wanna ask you that as you've built ur os, it look very cool with that theme that you've chose, but can you install apps on it? i mean without manual compilation?
or for that reason i also have to put alfs onto (blfs + lfs)?
if so, then what else alfs can actually does?
and for the sake of operating system...i've recently built lfs at ubuntu successfully but at the end...then kernel got weird and saying that there is something wrong with my diffutils...
i know that i can go back and repair it..but its a lot fun to kill the whole damn thing and rebuild it....
so, now should i go to slackware? i dont really care about its weird GUI...i just want performance.
and as you've said that i should use external harddrive | partition...i dont have external harddrive..but i have 500GB of harddrive on my imac. but
as you know, i cant just install linux at mac.. its the only worse thing with mac. but on the other hand ~ i dont have any PC...
so is there any way to go with my mac?
config of mac: iMac 11,1 - i3 - 4GB RAM - 500 GB HD - Mountain Lion - virtual machine linux | ubuntu 12 | slackware 14.

BTW, i appreciate all of your help once again. Thanks.

Keith Hedger 10-04-2012 04:13 AM

Quote:

...why did you chose xfce? rather then gnome or kde? is there something wrong with them?...
I have tried kde a number of times but it was always sluggish an too much like windowze so not really an option, I always used to use gnome but since the gnome devs lost the plot with gnome 3 which is THE single most hideous piece of software I have ever used also not an option, there is also WAY too many dependencies in gnome, I tried Xfce 4.6 and found it ok but lacking some basic functionality and when 4.10 was released I tried again and found it to be a brilliant desktop so that was that.

Quote:

...can you install apps on it? i mean without manual compilation?...
I compile all my apps from scratch that way they are all optimized for my system and also I control what dependencies are installed, I suppose you could install apt or yum to take care of installing pre-built binary's but that seems a waste after having built the OS from scratch.

Quote:

...as you know, i cant just install linux at mac...
Absolutly not true I have recently put slackintosh on my iMac running Xfce 4.10 check out http://distrowatch.com/table.php?dis...on=slackintosh
If you need to partition your mac drive ready for linux and can't or don't want to reinstall OSX you can get a live partitioner ( I can't remember the name off hand and my imac has been packed as I am moving, google it )

Quote:

...i also have to put alfs onto (blfs + lfs)?...
No alfs ( I believe ) is an automated version of lfs and bfls is a sort of pic'n'mix you just install what you want you don't need all of it.

brhanheck 10-04-2012 04:25 AM

well thanks keith... but i dont wanna install slackintosh because it is too old enough.
but is there any other option? and BTW, i wanna ask that i didnt got any problem till end of my previous lfs, but do i still need to change linux host system from ubuntu?
ive downloaded slackware but u know, i dont know how to install it, it is too kinda like windows 98 in its installation. i've partitioned it successfully but now at the root user, i
am watching my monitor to see what to do next...i cant even install it...
__is there anything wrong with ubuntu still?
--what about suss? or red hat?

Keith Hedger 10-04-2012 04:40 AM

No there is nothing wrong with using ubuntu if that is what you are happy with, as for slackintosh I was only suggesting it as a way of getting a basic linux on your mac and then build a better linux.
If you are running the slackware install disk you need to read the root mail
Code:

mail
but if you are fine with ubuntu then stick with that, I definitely would not change host systems half way through a LFS build

brhanheck 10-04-2012 04:44 AM

okay, thats fine but i wanna use your linux online. can you please let me use it through teamviewer or something? i would really appreciate that. because i wanna check it virtually that
how it is, how it feels like and so. i also wanna test few things like some support of network or so. if you do so, then i would really appreciate that.


All times are GMT -5. The time now is 09:00 PM.