Slashdot Mirror


GNU-Darwin Goes Beta

proclus writes "OSX.1 users can now install the GNU-Darwin base distribution automatically with one command. As Root: "curl http://gnu-darwin.sourceforge.net/one_stop | csh"." This assummes you have curl or wget or something. From there you can install gnome, abiword, gimp or whatever. Looks pretty smooth (although I'm kinda confused how you get back to OSX.1 from there ;)

7 of 150 comments (clear)

  1. What's so special about this distribution? by Jeremy+Erwin · · Score: 5, Interesting

    I use fink myself. It's sort of a clone of apt-get for OSX. I have octave, gimp, latex, and a host of other applications on my machine. What's the advantage of this "distribution"?

  2. Re:gnome over x? by alfredo · · Score: 4, Interesting

    It gives expanded resources. You can run it rootless so XWindows apps run alongside Aqua apps.

    Steve Jobs knew this would happen. Kind of like Field of Dreams, "If you build it, they will come."

    Here is one screenshotWindowmaker and other goodies

    this one is nice too. a lot going on

    --
    photosMy Photostream
  3. WGET Missing from OS X.1 by Buran · · Score: 3, Interesting
    "This assummes you have curl or wget or something."

    Well, I did have wget in 10.0 up to 10.0.4, but the 10.1 update "helpfully" deleted it from my system. After several annoyed looks and some time spent searching Google, I found a download site for a precompiled binary for wget that will run under OS X (downloads as an installer .pkg file; you'll need to be root or an admin to install it.) The file is, for those who want to get it directly, here (.tar.gz format... use gunzip and tar -xvf to unpack if StuffIt Expander doesn't/can't.)

    If you really, really want to compile yourself (you need to have installed the developer tools, which come with boxed copies of OS X), the source is here.

    Beats me why Apple did this...

  4. Um, disturbing by skullY · · Score: 5, Interesting
    Is anyone else highly disturbed by this? Have you read through that csh script? And why csh, there's no black magic there, and at least my copy of osx came with /bin/sh.

    From the script:

    essential_binaries:
    curl -o wget http://gnu-darwin.sourceforge.net/packages/wget
    chmod 755 wget
    cp wget /usr/bin
    rehash
    Erm, so 10.1 comes with curl, which besides providing a library for use in your own programs, also seems to be more unix-like and full featured than wget, with the exception of recursively getting an entire directory tree, which 95% of the time I use wget I'm not doing anyway. This script also doesn't seem to use wget for anything but fetching single files. (Was s/wget/curl -O/ too hard?)

    cd /usr/bin
    mv tar ~
    wget http://gnu-darwin.sourceforge.net/packages/tar
    chmod 755 /usr/bin/tar
    wget http://gnu-darwin.sourceforge.net/packages/killall
    chmod 755 /usr/bin/killall
    Oh boy, here come the first of the unwelcome "improvements." Apple thoughtfull provided not only the bsd tar program, but a binary called "gnutar" as well that seems to support all the options of GNU tar on my linux machines (With the one exception of bzip2 compatability, but that's easily fixed by piping bzip2 output to tar.) And KILLALL, don't forget about one of the single most dangerous commands to get into the habit of using, next to rm -rf. God forbid they have to cat pid files or even use awk to figure out a process id in a one time use shell script. It might make the script ugly.

    *sigh*

    I really do appreciate the work GNU-Darwin is doing, they're filling the few gaps on my osx machine. I just wish they didn't go the extra mile to make my system GNUified. It's not becoming of a nice BSD install.

    --
    When I was able to do my own spam-armoring, you got a chance to email me. Now you can only hope I see your reply.
    1. Re:Um, disturbing by CoolVibe · · Score: 2, Interesting
      Indeed... Wow, sensible people at slashdot. Who would have thought that? ;-)

      Instead of instantly running to my Mac OS X machine to type in the command line so I could have GNU/Darwin on my OSX installation I first _READ_ the script.

      Again... YMMV to all who try this out. Don't whine if it breaks. I can not stress this enough: back up your important files first.

      I wish Taco took more care in posting stories like this without slapping a big YMMV on it. Someone actually might try it out and render his system unusable. I'm waiting for the horror stories already.

      Oh, I would like to mention that GNU/Darwin is very cool, I have no gripes with it (yeah, well I got some, but they are merely small things I needn't bother anyone with and which I can easily solve myself) but I am always weary of "ready to run" upgrade scripts that run right off the web. It makes me think of a comment Wietse Venema once made about security and running scripts in a hapless fashion without checking what it actually does.

      So... again... YMMV... If it breaks, well, you have been warned. Now go and have fun. GNU/Darwin is seriously cool. Try it. (but back up your files, just in case).

  5. x86 Darwin by Hostile17 · · Score: 4, Interesting

    Does anyone know if any active development is taking place for the x86 port of Darwin ? I have downloaded it and had look, but it supports very little hardware and if I build a system just for it, I might as well get an iMac and use it in its native platform.

    --
    Fascism should more properly be called corporatism, since it is the merger of state and corporate power - Benito Mussoli
  6. Re:That script is weird... by bocee · · Score: 2, Interesting

    I installed the full gnu fileutils a while ago to get colorized ls, and df -h, and after a while I realized that the gnu rm command does *not* work with mac os x. I had lots of problems with the drive thinking it was full when it was not, etc. I could fix everything with fsck, and the problems went away when I went back to the included rm command. (As always, this may have been fixed since I had problems with it.)

    Also, Apple does beneficial work on the commands that they include. For example, with the rm included in 10.1, it is now able to delete files that are locked at the (HFS+) filesytem level. Gnu rm will never do that.