Beyond Linux From Scratch 1.0 Released
An anonymous reader writes "DistroWatch reports about the 1.0 release of Beyond Linux From Scratch (BLFS), a subproject of Linux From Scratch: 'The BLFS Development team is proud to announce the release of BLFS 1.0. With this release, you can take your LFS 4.1 base beyond a development system. It can be a desktop, a firewall, a multimedia player/editor, an Apache web server or all of the above. You install only what you need. Your Distro. Your Rules. Enjoy.'" Choose the closest mirror...
It can be a desktop, a firewall, a multimedia player/editor, an Apache web server or all of the above. You install only what you need. Your Distro. Your Rules.
And that's different from LFS how?
I've recently been impressed by Gentoo Linux which lets you build your system from a BSD-style ports system: the whole thing held together by a bunch of Python scripts, but otherwise your build options, tools and so on are your own choice. If that's not Linux From Scratch I'm not sure what is :-)
Having said that, I'm not always convinced that the way to a reliable server setup is to build everything yourself, but both LFS and Gentoo look good for the desktop.
Matthew @ Bytemark Hosting
Slackware!
=P
but gentoos base system is bloated :) i mean i dont need nano wasting valuable kilobytage.
I know you are psychotic, but please make an effort.
Linux From Scratch [linuxfromscratch.org] is not a disto, but a set of instructions for building a GNU/Linux system from little more than an existing distro. The Beyond Linux From Scratch [linuxfromscratch.org] project builds on this tradition, providing instructions for installing a number of other packages.
:-)
Having said that, I would recommend that anyone serious about furthering their knowledge of Linux, and at least 750MB of free hard disk space should give it a go. I got into Linux back in '93, and knew quite a lot. Then I stumbled across Linux From Scratch (LFS) - I didn't realise how much I didn't know until finishing my first complete build.
I now run an number of LFS-based systems at home and at work, and have never looked back.
BTW, I am typing this on my Gentoo [gentoo.org], 1.4_rc4 build.
Any fool can talk, but it takes a wise man to listen.
... to learn a lot about linux.
Thx to all the guys (and girls) who contributed to LFS
Grtz
LFS has been around for a lot longer than Gentoo, and is a different approach. Rather than hold your hand and let all the scripts do the work, LFS tells you how to do it and gives you commands but also the options for how to do it. It is more a teach-yourself-linux distro, in that you learn about interdependencies, the order which certain packages must be installed, and what each package does. Every single file created on the system can be accounted for this way. LFS is just the base system, and BLFS is seen as an extension of the base system, providing the means to customize a functional base linux system with only thoe applications you want! A faster and cleaner system I have not found anywhere! (not even gentoo, sorry! :-P)
I've installed LFS before. LFS is just the instructions on how to install Linux from scratch (hence the name, Linux From Scratch). They supply a few pieces of software conveniently in one place so you don't have to spend hours finding it on your own and figuring out what version goes with what. It is just enough to get an OS that works, but not enough to do much except put more software on it.
BLFS is a collection of instructions for installing various bits of popular software like Gnome, KDE, Mozilla, and more.
I would like to point out that LFS is not Gentoo. LFS is literally Linux From Scratch. There are no installation scripts. There are no system management tools. There is no pretty interface, or simple instructions. It is a book, not a piece of software.
You literally go through each piece of software and configure, compile, and install it. It is pretty cool because they describe what each piece of software is for, and you can see how one piece builds on another. You'll certainly never look at your system the same again, because you'll know what each bit does.
I wouldn't suggest trying LFS unless you are interested in what exactly goes on under the hood, or you are building your own distro from scratch.
The radical sect of Islam would either see you dead or "reverted" to Islam.
is that it is a good learning experiance.
When I first started using Linux I did the usual, RedHat, SuSE, Mandrake, blah blah blah. I ran the nice little installer, opened my desktop, ran a few programs, but I couldn't tell you what was where or how to effectively fix broke things.
Then I tried Gentoo and now I feel like I have learned something about Linux. I found out where configuration files went because I had to. I learned how to compile the kernal because I had to. I learned how to install freaking network cards because I had to.
I don't know if my machine is "leaner and meaner" but you know, I had a lot more fun doing building it.
RTFM? FTFM!!
Then how come Windows still comes on one CD, while Redhat comes on four?
BTW, if you want to do the LFS part, I'd expect it to take a few weeks for a novice linux user (that's about what I averaged all three times.)
LFS. Have you built your system today?
Linux from scratch is critical to the future of GNU/linux. It stops the corporates from stealing all the limelight (yes I mean SuSE, Redhat et al) and is the ultimate counter measure to the "Linux will fragment like UNIX did" naysayers.
For all Linux users, building from scratch is like the Muslim pilgrimage to Mecca, it is something that you should do at least once in your life. I for one support this and will do my bit to ensure continuing freedom.
For labs/installations of many machines, or people who are dolts - um I mean newbies, I always recommend whatever the local flavour of Redhat/Suse/Mandrake/whatever.
However, for a few choice machines, machines that you spend more time with then should be legally allowed, I always recommend slackware (for a non high bandwidth connection) or gentoo (with high bandwidth). The flexibility of these last too is very rewarding for anyone who wants an uber customized Linux box.
And especially with slackware, you gain a lot of knowledge and familiarity with how things works, and how to fix things. This knowledge pays off it's debt quickly. For example, you might have a redhat buddy that has some problems with configuration GUI X, and you just go and fix it by hand.
LFS is interesting, but what's the big difference between it and gentoo? Just an extra step that's not very practical unless you're making your own distro.
Last time I looked to set up a windows system with anything like the functionality of a linux system you'd need the windows CD, the office CD(s), the visual studio CD(s), the SQL Server CD(s) ad infinitum.
Beond Linux From Scratch is a great resource for expanding an LFS system, but don't forget about the LFS hints! http://hints.linuxfromscratch.org
There is lots of valuable information in the form of hints that is not available in BLFS
if MS bundled server and client versions of the OS in one product, MS office suite, firewalls, proxies, webservers, programming languages (lots of them), application development tools, etc, i doubt it would still fit in 1 cd.
and btw, redhat comes in three cds, or 6 if you want the source code, not 4
Has anyone compared this against other OS's? FreeBSD or OpenBSD or something else?
(Windows doesn't count)
A.
http://www.spareprojects.nl
You don't need to put the [domain] into your comment after your urls. Slashcode will do it automatically for you.
In case anyone should misunderstand that, due to my horrible lack of linebreaks:
:)
[16:06:45] * Now talking in #LFS
[16:07:23] * HIghoS changes topic to 'Die, slashdot, die! http://quasar.highos.com/mrtg/'
Don't you feel the love?
Then how come Windows still comes on one CD, while Redhat comes on four?
The Windows CD includes just an operating system. RedHat includes the operating system, a complete development environment, three office suites, two desktop environments, lots of server software, and so on and so forth. Three CDs for RedHat 9. Let's see how this breaks down into Microsoft products:
Windows - 1 CD (sometimes 2) - $400
Office - 2 CDs - $600
IIS - 1 CD - $(not sure)
Exchange - 1 CD - $(not sure)
VisualStudio - 5-6 CDs - $1,000
That list is hardly exhaustive. So, what you get on 3 discs from RedHat, you can get on a minimum of 10 discs from Microsoft. Oh, RedHat 9 purchased costs about 99$ (you can also get it free, sans support). The software from Microsoft costs about $2,000 total without support.
That's the difference.
Join Tor today!
This is excellent news. Linux has enjoyed widespread publicity and use, but unfortunately, I think that most people who use Linux (and are new to "alternative" operating systems) are using Red Hat or one of the larger distros and don't really understand its ins-and-outs. For many people, this is perfectly acceptable because all they care about is reading their email and word processing anyway. For them, DOS 2.0 with some kind of quick GUI would be more than enough, let alone Windows XP LX SE 2010. Putting together your own distribution with step-by-step instructions will probably make anybody a better user, admin, developer, etc. And with a book to show you how to build a usable distro, you simply can't go wrong. I think I'm going to dig some junk out of my computer graveyard and try this one out tonight... it'll be a long night!
Developments are already underway for the sequel, "Return to the Gates of LFS". "LFS 3D" is planned in Q4 2004. It is rumored "LFS: Vice City" will follow.
It's 10 PM. Do you know if you're un-American?
Install slackware as a base system, binutils and gcc and the other 'required stuff'.
Recompile and reinstall your kernel, glibc, etc, etc..
You get all the benefits of LFS with less headaches.
Of course this is really only useful on an x86 box, but for those wanting a completely tweaked/unique linux box on their desktop, this is no doubt an easier route to take.
Just getting linux to boot from scratch is the time consuming part, customizing it from there on in is the fun stuff (IMO). So skip the gruntwork and get to the meat and potatoes.
I don't need no instructions to know how to rock!!!!
Sigh... /. editors, I love you for causing an absurd amount of trouble for me. I thank you for promoting our projects, I just wish you guys would have contacted us before linking to the main websites.
;p)
:)
We've had hosting issues ever since our main server was taken off the VA network last October, and since then things have been hosted on my personal server. Anyways, I just wanted to rant little, considering i'm at the other end of this slashdotting.. (not like it's my first time, more like 8th now
At least use the mirrors guys.. please
You install only what you need. Your Distro. Your Rules. Enjoy
My problem? I was perfectly gruntled, until some numbnuts came by and dissed me.
Here are some suggestions for your distro-crafting efforts (no implied priorities):
- There should be a way to say "fetch documentation for x" where x is a path name to any non-user file (and a few user files). man is the "right place" to do this, although if you wanted to take the time to re-engineer info so that it could take any program name or path name as an argument and find the right documentation AND had an initial dir.info that wasn't so geard toward "so you've installed EMACS and the GNU tools on an existing UNIX" then it might be a useable replacement for man (and info has the benefit of being a bit easier to convert into other forms like GUI-viewer, print and HTML-based representations because it's based on a more generalized markup language (texi) which is in turn based on a more powerful typesetter (\TeX). I'm a long time (15ish years) user of UNIX and UNIX-like systems, and I still want this!
- A set of management tools for pam that runs the spectrum from adding a user to choosing a password hashing format to setting up an LDAP server based on an existing source (local files, an external database, etc). In the UNIX tradition (and for good and valid reasons that you can find by searching USENET, and I won't go into here) it should be command-line driven, but I would not complain at all about a GUI tool
- A heirarchical installation model that allows for a
/usr, /opt and /usr/local which are applied to all system paths and configurations in reverse order (e.g. default paths all start with /usr/local/bin) and which package maintainers have well defined conventions for using according to historical precident (/usr is for distribution-native packages, /opt is for third-party packages and /usr/local is for site-local items that are created and installed by the maintainer of the system). If I put GNOME3.0pre-alpha97 into my /etc/apt/sources or whatever the equivalent is, and install it, it should go into /opt so that un-installing it puts my system back where it started. If I hack my own copy of Perl and install it, it should go into /usr/local so that it's clear that this is my hacked version and not something installed from the official distribution. - sudo, ssh, and pam all have different views on what it means to authenticate. These views need to be merged at the distribution level into a single means of authenticating. This is a hairy problem, and may involve feeding back into all three projects, but if I don't have a password because I use a pam-based smart card and ssh-agent for remote key exchange then I can't use sudo (which requires a password). sudo is well within its rights to require periodic re-authentication, but that needs a mechansism (through support in it and the infrastructure of the os including pam and ssh) to feed that re-authentication request all the way back to my smart-card interface....
So, if distributions are seeking to solve problems like these, great. If they're not, and they're just another way to customize Red Hat or Debian or install from source or put your files on an FTP server, then I have to ask if the authors of these tools are even scratching their own itch?!Yeah, I've looked through the LFS and BLFS online documentation, and I was curious... are there any directions out there on how to make it a usable/deployable distrobution?? I guess I could use g4u to copy the harddrive image to iso.. but i would rather not.
why bother with CD's? its much easier just to use a DVD.
or in fact. just PXEboot and install over teh interweb.
It is a lot easier to use mirrors if you tell us what they are. As stands, to find a mirror, I would look it up on your site, which rather defeats the purpose.
I like my current Mandrake distro, and RPM works great as long as you consistently and always use RPM to install stuff. But for me, it always ends up breaking. Just last night I tried to uninstall postfix in order to install sendmail, and it went something like this:I even tried to use rpm to update rpm, in case there was a bug, but that failed too.
What the #$%&*@!! am I supposed to do? (Excuse my Perl)
Anyway, perhaps I should try a debian-based distro like Xandros. Everyone talks about how great apt-get is... is there an apt-remove? Does it manage dependencies well?
bp
LFS looks like an interesting way to learn Linux from the ground up, but the .pdf says you have to do it from an existing Linux box. Is there a way to go through these steps from a Windows machine?
(Cygwin or something like that maybe?)
Um, he didn't, and it did.
Patrick Doyle
I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
Oops, I was wrong. Looks like I changed my settings and then forgot.
Patrick Doyle
I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
Couldn't agree more. As was mentioned in earlier posts, LFS is just a document that describes how to build a Linux system - and it takes you from system bootup all the way through to your first bash prompt. However, it's important to note that LFS is NOT just a simple set of instructions. Littered throughout the document are tidbits explaining WHY things are done the way they are (for example, why do we need to create statically built libraries first?). It's the combination of excellent directions AND concise explanation of those directions that make LFS so great.
Of course, building LFS can be a real pain in the ass because it takes so long to do. But like the OP mentioned, it's something you should do at least once.
apt-get remove [package]
Yes, it manages dependencies very well.
Don't forget that the Windows CD has to be for the $4000 Advanced Server version.
... a few years ago. The original 1.x series (the original howto) for LFS actually went thru X, KDE/Gnome, sound, etc. Not sure when it changed to just the base system, or even why, but more docs is always a good thing. I did my LFS system with the 1.x series of docs, and stopped when I had a "working" system - defined as being able to play Quake2 online with 3d support and sound.
Don't blame me, I voted for Kodos
I really want to build my linux system from scratch, I hate installing a distro and not knowing what software i don't need or later how to upgrade, etc. I want to know where things are, how they work, what else I can get them to do...
Do you linux Gurus recommend this? Or What about distros like gentoo and sourcemage? Has anyone had success with sourcemage?
Is there a book that you'd recommend that clearly explains everything I would need to know to do this? I know about the RTFManPages and all that, but a nice book helps.
no, gentoo is a source based distro, you can rely on ebuilds ( automated install scripts ) to be sent by someone, or you can install stuff from source.
as with any distro, when you install stuff from sources over stuff that's been installed elsewhere, that other stuff might break.
gentoo is nice, but very dangerous. the rpm -e postfix command that you used would be:
emerge unmerge postfix
in gentoo, and it would NOT complain about any dependancies. try doing an rpm -e --force glibc (or whatever however to force an uninstall) and see how well your system works.
it also has a nice clean feature where it will uninstall old packages that aren't used any more (still have kde 2.x laying around, emerge clean kde will do the trick) the problem is that you might have some apps that still need those kde 2.x libs. again no checking is done to see if packages are installed that use that software before cleaning it up.
in a nutshell, i like gentoo, i use gentoo, i wouldn't really think of using anything else, but i need to keep window around for whem my system gets fubarred from a simple upgrade. re-installing a system including kde/xfree takes literally days.
in debian there is no need to do a remove but you can if you need to (say you install something frim SID that is not working right yet and it messes with your system well it is a peice of cake to uninstall it)
I am the Alpha and the Omega-3
There are no packages. You download the official Tarball or gzip and extract, compile with your options, and install. It is probably the absolutely most vanilla linux their is. I have to second that it is very educational. I have built LFS twice, once about 2 years ago, and once about 4 months ago. The first time a system boots where you understand every little daemon and startup script and program and it's usefullness is very rewarding. LFS is basically an instruction book on how to build all the differant programs and libraries in the right order. At first, the GNU tool chain is built statically from a differant distro, then a jailed root is used to rebuild everything dynamically with the static toolchain, so the system is self-hosted. The book explains everything very well, and only minimal knowledge is needed. I can't emphasize enough how educational it is on Linux and Unix in general.
-- the computer doesn't want any beer, no matter how much you think it does. NEVER, EVER feed your computer beer.
I'm just a home PC user & built a LFS 3 system and used it for about a year exclusively. I never got gnome to compile completely (tried very hard every few months) and lots of other things were broken. /really/ prefer my broken distro better than someone elses broken distro with 'hardware detection', lol, sooo unnecessary.
With no real exposure to any other distros, occasionally I would reboot to windows98 to install a game and from this side of a 56k connection they just don't work from the store without hundreds of megs of fixes, etc. I found that the only difference between game support for linux is that the companies don't have a big enough market to lie and mention linux along with the unsupported versions of windows....
Anyways, I got a new p4 system and my optimized for pIII system wouldn't boot all the way and I decided to try redhat 9. I thought it was going to be The Bomb & all; with little file browsers and auto-insert notification, fully functional gnome & kde subsystem, etc, etc, etc.
Rh9 is so LAME. Just different things don't work now is all, and it 'feels' like windows. I had rh5 once and it was kinda cool, dunno wtf...
I
Mostly, I was really expecting to be awestruck by RH9 and even told someone the day I installed it that it was great to be out of the 'dark ages' running auto linux with all the extras now. That was a short lived impression...
So go get LFS, I got the 100M tarball overnight with 56k and there's 'no rules, it just ruels'. That shit would boot fast as heck too.
My dri X server would boot with a black screen and just a cursor - then I could tap the function keys to dial, randomly toggle some wallpaper or some xscreensaver moving wallpaper, start the mixer. Oh sweet funtional function keys.
This stoopid menu bar I got with redhat doesn't even have a terminal on it, but there's all these office productivity crap that I could care less about, nothing useful there...so lame. Yeah I know I can fix it now, but won't have time - got to start making LFS4 w/the spare time.
ok
I'd like to point out the LFS and BLFS stuff works on PPC platforms as well.
You have to grab the PPC kernel and one of a couple other utilities to work with the Mac's ROM, but if you're doing LFS that shouldn't be a problem.
Lots of people are happy with OS X, but it runs poorly, if at all, on older PowerMacs. My 9600MP/200 (200MHz dual-proc Mac from back-in-the-day) would probably stand up and slap me for even putting the OS X 10.2 CD from my wife's iBook in its CD drive. But the LFS style system I built on it is happily hosting my DNS, Web, and Email. It is also pretty snappy when I'm building my (toy) programs in KDevelop, crunching my personal finances in OpenOffice.org Calc, and playing music.
All my geek friends are appropriately jealous of a dual-proc pre-G3 PowerMac running a hand-built Linux. (All my non-geek friends wonder what the hell I'm doing with an almost 10-year-old computer, of course.)
obviously no deficiencies vs. no obvious deficiencies
Its a roll-your-own manual process.. Not a packaged 'distro'..
Sure its *great* for learning the internals and doing it YOUR way.. but calling it a distro, with no install scripts, etc is a bit of a stretch..
---- Booth was a patriot ----
urpm[i/e/q/f/whatever] is your friend.
:)
:)
urpme postfix
To satisfy dependencies, the following packages are going to be removed (9 MB):
mutt-1.4.1i-1.1mdk
postfix-2.0.6-1mdk
Is this OK? (Y/n)
There are graphical tools to manage thsi as well. Using straight RPM in Mandrake is like putting your nuts in a vice. There's no fucking point, and it's painful and stupid as all hell.
Ok, there are times when using rpm is nice/required, but very very rarely since urpm(x) does dependency checking and automatic downloads if you have your sources set up properly.
That being said, I like sorcerer, and use it as my primary OS.
I don't consider myself a guru, but 'I would say I know enough'. I've done the whole LFS/source based distro thing for a while now so here's my take on things.
I think it's important to make a distinction between LFS and Gentoo/SGL/Sourcemage/Lunar/uPM. LFS is a book that describes the process of producing a minimal linux installation that is capable of building software. The source based distros provide scripts/tools that automate the build process for you. Which you choose is largly dependent on your needs.
It seems from your post that you are interested in learning what makes GNU/Linux tick: what files do what, what software is required and what's bloat, and generally what goes on under the hood. For this I found that there is no substitute for LFS, it took me from Mandrake newbie to power-user in a couple of months. This was a good few years ago and at the time there was no BLFS, I feel that that actually helped me with learning the stuff. LFS held my hand through the installation of the base system, but after that I was forced to RTFM, making my own mistakes and learning from them. After 2 or 3 months I had a fully functional system with KDE, apache and a bunch of other stuff. I also had learned many times more than I did in over a year of using mandrake.
My new shiney LFS system was a joy to behold, but it became a real pain to maintain. I found that an unacceptable portion of my time was spent updating software manually and it was effecting my productivity. This was around the same time that SGL first appeared on freshmeat. I had tinkered for a while with LFSmake but found that it wasn't flexible enough. SGL was wonderful, I traded a small amount of the total control that LFS gave me for a system that saved me 80% of the time I was spending on keeping my system up to date.
Unfortunatley there was a bit of a storm in the SGL teacup which resulted in SGL going offline for a while and 2 forks appearing (Sourcemage and Lunar). Initially I went with Sourcemage but I found that after a while it became too unstable and as I was using it for work I couldn't have that (it may well be better now, I've not checked it out in a while). I switched to Lunar and am still using it now. It doesn't provide the same education as LFS, but once that knowledge is aquired it provides a much more efficient means of installing/maintaining your system.
I should say that I did once try gentoo but I was put off by the complete lack of an installer. You have to jump through too many hoops (and triangles, hexagons and other polyhedra) to get the thing up and running. uPM also looks interesting but is still in a relativly eary stage of development.
To sum it all up: LFS cannot be beaten for it's educational value, but for day-to-day use Lunar suits me best.
Same with me.
:-)
I always end up f@!ing my mandrake installation. URPMI doesn't handle everything to me *at least* as some imply it does.
When I upgrade Mandrake 9 to have libgtk2.2 from mandrake 9.1, it breaks the GUI, hiding the labels and texts everywhere.
When I tried to share my connection of my more or less upgraded mandrake 9.1 from 9.0, using their wizards, it broke my internet connection badly.
In less than 10 months I think I reinstalled mandrake about 4 or 5 times. And I need to reinstall it again.
But, I am hoping I can put my hands on a redhat9 or mandrake 9.1 ou suse 8.2 or a cool distro with a binary installation and gnome 2.2 and kernel 2.4.
Well, with linux we hardly get hopeless
Cheers, I am no more angry.
I'm at a loss here. I use SuSe Linux for my home system, which has to be the most brainless and user-friendly distribution available. With 8.2 it's pretty much 'three clicks and you're good to go', if you don't want to customize installation (which I do, heavily).
However, I often install programs which have no RPM, just tarballs or gzipped tarballs. I don't have any problem doing this at all. If there are dependency conflicts they're usually pretty easy to work around; and if not a test or two will tell me where I'm fucked and then I can fix that by hand (or remove the program that's causing the problem).
Sure, this is a bit beyond the average user but you can mix an RPM-based system and regular tarballs relatively easily with some basic know-how.
Max
My god carries a hammer. Your god died nailed to a tree. Any questions?
If you want absofuckinlutely TOTAL control, use LFS/BLFS. Not to mention that if I needed to hire a Linux admin, I'd prefer somebody who successfully runs LFS over somebody who uses Gentoo. Compare Gentoo to buying a "barebones" system from TigerDirect and LFS to building a PC from components.
in a nutshell, i like gentoo, i use gentoo, i wouldn't really think of using anything else, but i need to keep window around for whem my system gets fubarred from a simple upgrade. re-installing a system including kde/xfree takes literally days.
That's why I burned a copy of my initial filesystem to a CD. Frequent backups aren't a bad idea either.
Anyway, I don't understand how anyone has trouble installing packages from source. You just need to partition them appropriately. I wish distributions used a similar method so they could keep parallel versions of programs and libraries installed.
Take openssh, for example:
My typical build of openssh requires: zlib, openssl, and tcp_wrappers.
I use a structure I call /mfs ("My File System"). I could use /usr/local for the same thing, but a customized directory will prevent collisions in /usr/local (the usual default prefix for configure scripts).
Under /mfs I have directories "dist" (the tarballs), "src" (where I untar and build each package), and "pkg" where I install packages.
So I start with zlib: "./configure --prefix=/mfs/pkg/zlib/1.1.4 ; make ; make test ; make install".
I repeat with tcp_wrappers, openssl, and finally openssh. So now I have the most current versions:
It should go without saying that I configure openssh to use the zlib, openssl, and wrappers libraries under /mfs, rather than the default system libraries. To the anal purists out there, I don't do this with all libraries (such as glibc), as it would drive me insane -- but it could theoretically be done.
Here's where it gets elegant (or convoluted, depending on your tolerance for complexity). Under each package's directory, I use a symlink from the version I wish to use on a regular basis to "std".
So, under /mfs/pkg/openssh, I may have directories 3.6.1p1, 3.0.1p1, and 2.9.9p1. Let's say that I want to use the latest sshd, so I run "cd /mfs/pkg/openssh ; ln -s 3.6.1p1 std". I then cd back up to /mfs. I then issue "lndir pkg/openssh/std". Actually, I have a script in /mfs that automatically removes all existing links under /mfs (avoiding the "pkg" dir, for obvious reasons) then re-linking every package with a "std" link. (Note I don't use a "std" link -- and thus don't lndir -- for libraries without runable binaries). If you don't know how lndir works, check it out (it's from the XFree86 distribution, though that might not be where it originated.).
After running lndir (or my script), I now have /mfs/{bin,etc,var,lib,sbin}. I point my sshd startup script to always use /mfs/sbin/sshd, which is actually a link to /mfs/pkg/openssh/std/sbin/sshd. Since std is a symlink to the version I wish to use, I can change to a newer or older version by simply stopping sshd, changing the "std" link to point to another version, and restarting sshd.
The beauty is that still have other versions available to me. Say the scp provided in 3.6.1p1 has an irritating bug (not the case, but just imagine). If my normal PATH has /mfs/bin, I'll get scp v3.6.1p1, but I can fall back to running /mfs/pkg/openssh/3.0.1p1/bin/scp.
This technique is especially valuable in multi-user systems, where libraries and applications of different versions (think compilers, for example) have dedicated users who aren't ready to upgrade.
Sorry for the really long post, but this idea works extremely well, IMHO, and I'm surprised that no distros use a similar technique for maintaining parallel versions. If RPM used this technique, you'd never run into the case where a new app needs a newer library version, but upgrading that library isn't possible since other major applications require that specific version (such as KDE needing a specific version of libpng and libcrypt).
Method of processing duck feet
Yeah, I agree. Slackware is the one and only. Gentoo is great, but us loyal followers will always have Slackware installed!
Now try to explain that to a novice Unix admin.. You just gotta live it. And I gotta tell you, I haven't felt so ALIVE IN YEARS when I installed the new version of Slackware! Kudos to you Slackware people! You're the best!
I just got my LFS 4.1 book in the mail a few days ago. I like it even better now that i have a hard copy of it. I just wish BLFS came in hardcopy....or maybe it does, i'll have to check.
75% of all statistics are made up!
Maybe it's your friend, but it's definitely my foe. I can't get urpmi to work.
Example:I have done this with various sources of RPMs I've gleaned from recent posts to alt.os.linux.mandrake, all of which fail one way or another. There's nothing wrong with my internet connectivity, it's urpmi.
bp
" People with actual lives use Mandrake or Red Hat. People with l33t tendancies but an aversion to work use Gentoo. People who want to learn stuff use LFS."
This is a blatant troll. Please tell me we have at leat a few moderators with some critical thinking skills. It makes no sense. "Linux is for people who want to work, but Linux is for lazy people who think they are l33t." is all it amounts to. If you modded this up, you're an idiot.
Everyone is entitled to their own opinion. It's just that yours is stupid.
It is called the capacity for rational thought, considering you have obviously never implemented an LFS system. It was a nice troll attempt, but far too obvious to be terribly effective.
"Sufferin' succotash."
directly to mirror page
see the main page for more info
The project relies on one thing to be(come) successfull: users providing mirrors, or at least leaching the site before it gets slashdotted
Site slashdotted? Look here for mirrors, or even better: o
You should try gentoo - you don't need to research all dependencies - it does it by itself..
I also had nothing but hell with urpmi. Essentially it would figure out that dependencies were needed and then not install stuff. Part of the fault was with broken standard rpms from mandrake from what I can tell (this was trying to upgrade Mandrake 8.0 to 8.1, using the rpms from cd, and the rpms wanted dependencies with slightly different names than what those packages were called by the 8.0 rpms).
My boss swears by Red Carpet, and if you want RPM to work, I hear this is the way to go, but it seems there are many reasons this method is a broken one.
To be fair, the maintainers of the scripts (whatever gentoo calls them) research the dependencies. So you should thank the maintainers! (perhaps this will become an exclamation much like C3PO's "Thank the Creator!" or "Thank God!") :)
There are huge benefits from this effort.
First of all they tell you how to fetch, recompile and configure a whole lot of standard packages. Want to enhance your RH9 distribution with ALSA? head for these guys' documentation and you'll be home and dry in no time.
Second of all this documentation covers a lot of things in a very tight format. Want to configure an anonymous CVS server? there you go.
Finally this effort frees the whole community from the grips of the distribution vendors. If all goes to hell in a handbasket and your favourite distro turns its back on you, you can still survive, fix, patch and generally maintain what you've got, or start from scratch.
Thanks B/LFS!
Yeah, there are times when it's pretty broken. I once upgraded a system from 8.0->9.0 using standard RPM, because urpmi broke on me. The newer versions (9.0+) haven't given me any problems though, so you might want to try and upgrade those first. of course, I think they have pretty intrusive version requirements, so you might have to upgrade everything anyway. Whee!
:)
;)
use this website: http://plf.zarb.org/~nanardon/urpmiweb.php to find sources, I could never find an easier way to put them in, the urmpi.addmedia command's documentation was complete crap.
Hope it helps. Mandrake is nice for not wanting to have to deal with stuff toooo much. but I still prefer sorcerer.
You can install gentoo's portage on a LFS system, then you would get an easy to maintain system after learning all the stuff you want to... Check out the gentoo forums, lots of talks about it on there.
What do you mean there's no need to remove? People do want to remove packages even if there's not a problem ya know.