Slashdot Mirror


The Swiss Army Knife of Linux?

e8johan asks: "I recently found the BusyBox project that combines tiny versions of many common UNIX utilities into a single small executable. It provides minimalist replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts. As I look through the list of products and projects using BusyBox I find that most installers use it (RH, Slackware, Mandrake, Gentoo, etc.) As the footprint of this is very small, I came to wonder, are there any other smaller versions of common linux software. I found TinyX and the small linux project but I lack a proper desktop. Does anyone has a small desktop solution (like KDE or Gnome) to recommend. What I'm looking for is a proper desktop solution with common configurations tools, standardized IPC and common look-and-feel, not just another window manager."

21 of 39 comments (clear)

  1. Swiss army knife?! by dacarr · · Score: 5, Insightful

    There is already a swiss-army chainsaw. It's called Perl. Why get a knife? Isn't bigger better?

    --
    This sig no verb.
    1. Re:Swiss army knife?! by flikx · · Score: 5, Informative

      You don't even understand the question.

      When you need to fit a full featured unix system on an install disk / rescue disk / embedded system / light hardware / etc., you need something like busybox. Sure, /usr/bin/perl is about 10K, but what about the rest of it?? And who the hell would write a full set of system tools in perl??

      And furthermore, the submitter is asking about a light desktop system. My answer: IceWM, "just another window manager".

      --
      One future, two choices. Oppose them or let them destroy us.
    2. Re:Swiss army knife?! by Anonymous Coward · · Score: 2, Informative
      You may be interested in this thread, in which Jim Thompson (a real smart guy you've probably never heard of) explains his difficulties in fitting a tiny perl onto linux device with a small amount of flash space, for the purposes of running NoCatAuth. Jim lists all the files on his setup, and you can see how much bloated crap came along with perl.

      http://musenki.com/pipermail/musenki-dev/2002-Apri l/000003.html

    3. Re:Swiss army knife?! by dougmc · · Score: 2
      Last time I used Slackware (and yes, it was a long time ago -- it was a nice step up from SLS) it's installer used perl4, and it fit on a floppy. I don't think it was the full perl4 install, but it was enough and it worked well. Very well, actually.

      perl5 won't fit on a floppy anymore. Yes, the main executable will --

      -rwxr-xr-x 2 root root 797972 Feb 20 2002 /usr/bin/perl
      but all the modules won't, and perl isn't *nearly* as much fun without the modules. Yes, I guess you could still use perl4, but it's hard trying to write anything for perl4 now.

      But if you do want your basic *nix utilities written in perl, search for `ppt perl power tools' and you'll find lots of them, already written for you. I wouldn't really call it a good way to save disk space, but I have found them useful in the past (mostly as examples, because I do most of my programming in perl.)

      Putting an installer on a single floppy is hard. In fact, putting anything useful on a single floppy is hard (and kudos to those that have done so!) but I hope the floppy dies out soon. I hate floppies. Hate hate hate. Don't hold squat, and are so unreliable -- my daughter (age 1.5) takes a while to destroy a CD, but a floppy she ruins in 15 seconds flat :)

  2. I highly recommend by DeadMeat+(TM) · · Score: 4, Funny
    this versatile entry into the 1988 IOCCC.

    Some user configuration is required, of course.

  3. Midnight Commander by Anonymous Coward · · Score: 5, Interesting
    I'm not sure exactly what your expectations of a "common desktop environment" are. But there is a floppy bootable linux that contains midnight commander, and midnight commander contains a lot. A syntax highlighting editor, the ability to use ftp servers as a virutal filesystem, compare directory trees, etc.

    http://paud.sourceforge.net/

    I was going to look at your homepage to see what type of background you came from, if you might mean only graphical stuff as a desktop environment. However, I was immediately confronted with a warning that "The contents of this page may not be copied without my written permission." As looking at your page in a web browser makes a copy of it, I hastily hit the back button and cleared my cache. Please don't sue me, and I'm posting AC just to be sure.

  4. Oxymoron by Linux_ho · · Score: 5, Funny

    Does anyone has a small desktop solution (like KDE or Gnome) to recommend.

    Heheheh. That's a good one.

    --
    include $sig;
    1;
    1. Re:Oxymoron by Bastian · · Score: 5, Informative

      Not entirely. There is xfce (www.xfce.org), a CDE-like desktop environment. I used to use it on my old P133 w/ 16mb of RAM, and it worked much more nicely than Gnome or KDE, which kept my computer in a pretty constant state of swapping.

    2. Re:Oxymoron by ameoba · · Score: 2

      A while back, I had a system running on an old 486DX2-50 and 24MB of RAM. To squeeze everything needed onto it, I ended up going with an old (pre-GNOME/KDE) Slackware distro. One of the more interesting bits of software I ran into was a suite called TkDesk. It provides a desktop, app launching bar, file mangler & a number of small utilities (like the emacs-clone text editor), all written in TCL/Tk, and it ran like a dream on that anemic old beastie.

      --
      my sig's at the bottom of the page.
  5. Re: Perl Power Tools by sICE · · Score: 4, Informative

    PPT :-)

    SiCE

  6. There are limits by TheSHAD0W · · Score: 4, Interesting

    Trying to fit a memory-intensive desktop system into a small space is going to be difficult because they're opposite goals. System 6 and prior MacOS did it, but only by using black-and-white graphics and not providing most of the tools you'd expect nowadays from a graphical desktop. I think even GEOS needed several disks worth of data to load its desktop. And if the goal is to allow novice users to operate small distros, they'd take one look at that desktop and go "ew! Linux sucks!" and switch back to Windows.

    1. Re:There are limits by TheSHAD0W · · Score: 2

      If you're writing 8 pixels for each byte of data you transfer to the video adapter, then yes. But speed isn't the question; it's all the nice, antialiased fonts and window effects and code libraries that users are now familiar with and used to. If you don't believe me, do some work on an old Mac SE. Or even that Amiga, running the old OS. You'll find the windowing system laughable and grating.

  7. Embedded/Small Systems by MonMotha · · Score: 5, Interesting

    There are many efforts to putting Linux (and other UNIXes) in places with limited amounts of space.

    handhelds.org is all about running Linux on ipaqs. Space is a concern, of course, so various things are done. The conversion to Busybox has recently been made, saving almost 2MB of space as I recall.

    There's also uClibc. The smallest I've ever seen glibc is about 1.5-2MB. uClibc clocks in at about 200-700kB. That's small. This is used when you just don't have space available, such as on the TuxScreen with only 4MB of bootable flash and on many rescue disks and floppy based Linux systems.

    Remember you don't want to cut corners all the time. On your desktop, it's probably best to run the full-blown GNU utilities. They have extra options that, while not commonly used, have obviously proven useful enough times to be included.

    However, if you only have 16-64MB to work in, and you want to have lots of other stuff, busybox is a very viable option that I would reccomend if you have trouble fitting stuff in. Don't use it when you've got gigs of hard drive space to play with though.

    1. Re:Embedded/Small Systems by MonMotha · · Score: 2

      Hum, Looks like I forgot my conclusion :)

      The idea was to look at what these guys who put Linux in sub-64MB spaces and see what they use. These people spend a lot of their time making the system to making it fit in a reasonable amount of space. If size is a concern, chances are a project has addressed it before.

    2. Re:Embedded/Small Systems by grammar+nazi · · Score: 4, Informative
      My Iopener has a 16MB flash chip. All of the following fits with 1MB to spare (check out the JAILBAIT linux distribution at sourceforge)...


      blackbox

      busybox

      esd

      email client (i forgot which one)

      Netscape 4.72 (that's right!)

      USB ethernet drivers

      mpg123

      I forgot what else, but their were a few other cool things.

      --

      Keeping /. free of grammatical errors for ~5 years.
  8. Build your own? by Raleel · · Score: 5, Informative

    Well, i don't knwo if this helps you, but I recently put together a desktop set up for some lower end pentiums. It consists of

    1) IceWM
    2) RoX
    3) gnumeric
    4) abiword
    5) opera
    6) gnucash
    7) gaim
    8) gimp
    9) sylpheed

    I also used redhat 8's backgrounds, although the actual software was mostly from mandrake 9.

    Honestly, i'm not sure this is what your looking for anyways.

    --
    -- Who is the bigger fool? The fool or the fool who follows him? --
  9. Check out UPX, a binary packer. by kcurrie · · Score: 5, Informative

    UPX, the Ultimate Packer for Executables is great when you don't have alot of diskspace available. It uncompresses binaries on the fly VERY quickly, so fast in fact that after compressing large programs you'll find that they are up and running FASTER than if they are not packed, simply because it can uncompress faster than it takes to load unpacked code from disk. It apparently can do something like 10MB/s decompression on a P133. ..anybody remember PowerPacker and the ilk on the Amiga? Those programs were worth their weight in gold when working on a floppy based system.

    --
    -- I speak only for myself.
    1. Re:Check out UPX, a binary packer. by Per+Wigren · · Score: 2

      The development version decompresses direct to memory! It can also compress linux-kernels and make them bootable with any bootloader, as if it was uncompressed.

      --
      My other account has a 3-digit UID.
  10. smallest X window distribution? by Anonymous Coward · · Score: 2, Informative

    http://freshmeat.net/projects/natld/

    has lots of stuff

  11. I have a vested interest in efficient software by JessLeah · · Score: 2

    And would love to create a central list of "smaller alternatives to common software". (Also a central list of "freer alternatives to common software").

    Anyone up for creating a Yahoo! Group to discuss? Or does anyone have a better solution like some free mailing-list server?

    We could chat as a community, and build a list...

  12. Re:In my day by Mdog · · Score: 2

    in *my* day we used PR #'s damnit!