GNU-Darwin Goes Beta 150
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 ;)
OS X.1 (Score:1)
Re:OS X.1 (Score:1, Informative)
rootless [hyperjeff.net]
UNIX for the rest of us.
getting back (Score:2, Informative)
Ximian (Score:2, Informative)
Re:Ximian (Score:2)
Perhaps yast or apt-get check the signatures on files. RPM does also (well, except for a few files this last time
I don't really like blindly trusting downloads, even from good sites. There have been too many compromises.
(I must admit, that what really got to me about Ximian was the way that it tended to stomp all over KDE installations, but when thinking about replacement strategies, I realized just how uncomfortable I was with the blind downloads.)
Re:Ximian (Score:1)
lynx -source whatever | csh
Regards,
proclus
Re:And whats even better, (Score:1)
I still have to think... If you're replacing everything with GNU stuff, why not just install som distro of Linux-PPC and be done with it? But thats just me.. (this is not anything against the Mac, just my confusion with this, I'd welcome anyone who had a good explanation)
Re:And whats even better, (Score:2, Informative)
gnome over x? (Score:4, Insightful)
(and what's with this 20 seconds before post rule? does everyone on slashdot think really slowly?)
Re:gnome over x? (Score:4, Interesting)
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 [hyperjeff.net]
this one is nice too. a lot going on [hyperjeff.net]
Re:gnome over x? (Score:2)
Ok, that's really freaky. It almost makes me want to have a Mac.
I thought Aqua didn't use X though. How does this actually work? What's the window manager?
Re:gnome over x? (Score:4, Informative)
Re:gnome over x? (Score:2)
Does that mean that the X applications run on a plane "above" Aqua? So an X window can't be beneath an Aqua window?
I guess what I'm missing is how these two environment's interact. How, for example, does an event (mouse-click, keypress, etc.) get to the right environment? If I give focus to an Aqua window, does the X window lose focus?
context switching (Score:2, Informative)
Re:gnome over x? Afterstep (Score:2)
Re:gnome over x? (Score:3, Informative)
And the 20 second rule is to try to discourage crapflooders and trolls. Not very effective, but its something most regular users don't come across (I haven't, at least).
Re:gnome over x? (Score:2)
I use a similar ditribution to run GNU-Octave on my machine. It is faster and more convenient for me to run X apps on my iBook than on my old Pentium II linux box.
Re:gnome over x? (Score:3, Insightful)
I'm surprised nobody else said this; It's let's me run my X apps. As a long time linux user who just switched to OSX I find myself missing gvim, gaim, etc. With X11, I can get these things going again. Now I have the beauty of OSX, the stability of unix (bsd), and the apps of the open source world. I like my apple.
OK Taco... (Score:1, Redundant)
Sheesh. Why do you think they said it would only take one command?
Re:OK Taco... (Score:1)
What's so special about this distribution? (Score:5, Interesting)
fink == apt-get (Score:4, Informative)
Re:fink == apt-get (Score:2)
Re:What's so special about this distribution? (Score:1)
Regards,
proclus
Re:What's so special about this distribution? (Score:1)
...at a fraction of the quality. As anyone can see from the shell script mentioned in the story, that applies to both the packages and the scripts that keep the distribution together. Some really funny excerpts:
ln -s /usr/bin/install /usr/bin/install-info /usr/bin/install /usr/local/bin/install-info
/usr/X11R6/bin/enlightenment /bin
/usr/X11R6/lib/libfreetype.7.0.dylib /usr/X11R6/lib/libfreetype.6.dylib
ln -s
ln -s
ln -s
Then there's other fun stuff like replacing /usr/bin/tar the most dangerous way, or the script version number in the comment: 0.0.1a2 (untested)
I really don't know if I should laugh or cry about this...
Re:What's so special about this distribution? (Score:1)
None of the above has anything to do with the quality of the distro.
Regards,
proclus
Re:What's so special about this distribution? (Score:2, Informative)
Not at all. I'm just horrified by the scripts that you ask people to execute as root. I'm also defending Fink in the comparison you make. Saying that GNU-Darwin and Fink are the same and the only difference is the number of available packages misses some important differences, and one of them is testing and quality.
Quite to the contrary, they have very much to say:
And, well, the version number and the complete lack of sanity checks and error handling in the install script also says a lot about the quality of the distro. Remember, distro = packages + infrastructure + handling scripts.
Re:What's so special about this distribution? (Score:1)
Regards,
proclus
Re:What's so special about this distribution? (Score:1)
Okay, I give up. If you really, seriously think that this:
cd /usr/bin /usr/bin/tar
mv tar ~
wget http://gnu-darwin.sourceforge.net/packages/tar
chmod 755
is not a serious issue, then there is no point to further discussion.
Re:What's so special about this distribution? (Score:1)
cd
mv cp ~
wget http://gnu-darwin.sourceforge.net/packages/gcp
mv gcp cp
chmod 755
It is a serious issue, but I expect your are correct that there is no point to further discussion. *G*NU-Darwin will continue on course.
Regards,
proclus
Cool stuff, but beware of Dillo (Score:2, Informative)
Dillo is a neat little effort, a cool side project, but no replacement for a real browser like Galeon or Konqueror. It is beyond a shadow of a doubt, the lowest point of the GNU-Darwin package.
-CT
Re:Cool stuff, but beware of Dillo (Score:1)
When SSL arrives (soon!), Dillo will be king of the browsers.
Regards,
proclus
Re:Cool stuff, but beware of Dillo (Score:1)
Regards,
proclus
That script is weird... (Score:4, Informative)
That said, I'll just download the ISO and free up a partition to run it alongside Mac OS X and Aqua. That way my normal OSX system is guaranteed not to break. My mac is a test machine anyway. I run different operating systems on it depending on what I need to test. I urge everyone that wants to test this on their machine that runs important stuff to BACK UP THEIR IMPORTANT FILES, just to be safe.
Oh.. another thing: it's BETA. It might break. So be a little cautious, and be prepared to pull up your sleeves and do some work if it breaks, but hey, that's what being bleeding edge is all about, right?
But anyway: Great work guys! I'll seriously check it out. I'm downloading the iso as you read this comment.
Re:That script is weird... (Score:2, Interesting)
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.
Re:That script is weird... (Score:2, Informative)
Definitely a YMMV is in order.
Re:That script is weird... (Score:1)
We know that it doesn't break anything, because we are doing much cool stuff with it. For example,
Researcher brings Open-Source [apple.com]
Software to the
Mac
Regards,
proclus
Re:That script is weird... (Score:2, Informative)
Nevertheless, what you guys are doing with the free Darwin system is very cool, I will heartily agree with that, but "upgrading" my existing OSX system with your script is a bit dangerous. There's another comment in this discussion somewhere that talks about that as well. Maybe you could provide a version of the script that only installs the rootless X stuff and the GNOME bits, and maybe a script that transforms an Aqua system to a GNU/Darwin one. The possibilities are endless here, as are the wishes of the people that wish to run those nifty OSS X11 apps on their Aqua setup. I would like to help, but I have priorities elsewhere that take up most (if not all) of my scarse free time. I will definately try GNU/Darwin on my Mac, but I'll just play safe and set a partition aside for it, so I won't hose my Aqua system.
You guys are doing a great job, but the OSX install script has issues (and it even says 'untested' in the script header somewhere). I am not trolling, and I am not attacking your project. I am merely warning people that they should be careful.... That's all... You guys keep on going. You are doing some cool stuff. But a YMMV is definately in order here.
So people, just try the upgrade script, but your mileage may vary. Oh, if it somehow screws up your machine, please send bugreports to the GNU/Darwin people and don't forget to report what setup you have and what the problems were so they can fix it.
Re:That script is weird... (Score:2)
But... (Score:1)
As you can see from some of the /. reading public, they tried it anyway, so somewhere someone didn't get it (and neither did I).
Why is everyone in this discussion going on about curl and wget on OSX? Makes me think I'm not the only one here that didn't get it.
Needless to say, it should be more obvious that this upgrade script is not intended vor OSX. Maybe a few tests can be built into the script, to prevent running on a OSX system?
Re:That script is weird... (Score:1)
Regards,
proclus
Re:GNU Darwin? (Score:2, Informative)
Re:GNU Darwin? (Score:2)
Curl, proprietary, are you on crack or just a troll? Curl is under a MIT/X license. Check out http://freshmeat.net/projects/curl/
Re:GNU Darwin? (Score:2)
But not only that, they're disappearing down the same route as Ximian, namely chasing Microsoft in the "features and convenience are more important than security" game. The more users get used to seeing installation instructions that involve piping the output of an arbitratory web download into a root shell, the more they'll start to believe that's just the way it's done. You or I might know better, but the average user that'll be thinking ofdoing this probably won't.
No more security risk than usual (Score:3, Insightful)
When's the last time you read the entire Makefile and all external files that it calls, before typing 'make install'?
This is no different from downloading a tarball with a Makefile inside. You are downloading a script from the net and running it as root. You either check the script yourself beforehand, or you rely on the fact that a reputable party is providing the script and that more paranoid users will be checking it and publicizing any trojans inside (and ruining the reputation of the author).
The situation I would really warn against is running an unexamined script that isn't provided by a known author, or even worse a compiled binary with no source available. As long as the source is public, it is no different from what Unix admins have been doing for decades every time they install software.
Re:No more security risk than usual (Score:3, Insightful)
Dunno about you, but when I download a tarball, I sure as hell don't su to root and blast away with 'make install' right after I get it. I read the READMEs and install instructions, read some docs, check out the available install options, and generally have a look around. Then I make the binaries under my usual login account, take a look at the results, and finally 'make install' as root as the very last step.
Sure I could still get fooled that way, but it does give me a good chance at an informed opinion about whether the stuff I downloaded and will install is indeed what I thought I was getting. And in fact, sometimes I've stopped the process, because the package in question required something for the install that I wasn't willing to do.
Piping the output of a web page into the C-shell as root is about the most cockamamie idea I have ever seen! And this is in a headline on Slashdot! You've got no chance to decide whether you're installing something legit -- even the most cursory inspection is impossible. Sheesh, if this is what people running Unix boxen are going to start doing, then it won't be long before the Unix world is just as saturated with Code Reds and Nimdas and God knows what-all the Microserfs have to live with.
Re:No more security risk than usual (Score:2)
Speak for yourself. None of the code I compile myself is either compiled or installed as root. If the final deliverable calls for a setuid root program, then yes, I'll run the final make install as root, but only after checking the Makefile to see what it does.
The situation I would really warn against is running an unexamined script that isn't provided by a known author
But that's exactly what you're advocating. Since you don't know if the DNS for the download domain has been hijacked, you haven't a clue who the author of the script you're piping into a root shell is.
curl is "absurdly proprietary?" (Score:1, Informative)
Uh, what exactly is "absurdly proprietary" about this? [curl.haxx.se] Try and get your facts straight before your pour more salt on licencing wounds, OK?
Re:GNU Darwin? -- Troll (Score:2)
You've got to be a troll. Anyone who's been around *NIX for 2 months or longer knows the difference between cURL [curl.haxx.se] and Curl [mit.edu]. The fact that the context is either using "curl" or "wget" makes this incredibly clear.
RETRACTION (was Re:GNU Darwin? -- Troll) (Score:2)
No. Not trolling. I've dabbled in *NIX and have a BSD partition for when I absolutely need it, but I only fire it up every 6 months, sometimes longer.
I honestly had no idea there was something called cURL. The only time I had ever heard "curl" used in association with computing was in connection with Curl, the MIT-commercial partnership to which you linked. So, I retract my previous statements in regards to cURL.
Maybe I went off half-cocked, but then again if I made this mistake maybe others will too. Poor marketing on the part of cURL? If Curl is really "out to get people" maybe cURL should consider a pre-emptive name change to prevent lawsuits.
Re:RETRACTION (was Re:GNU Darwin? -- Troll) (Score:2)
Well now, it seems that you are just being petty here, but I'll reply anyway.
Perhaps your not a part of tehir target market? Or is your ignorance always the blame of someone's marketing department?
As a matter of fact, my ignorance is the fault of marketing. It's not my job to know the name and purpose of every product on the market. It's marketing's job to make their product something I know about. If it weren't for marketing, "windows" would be something you open when the weather is warm, "oracle" would live in "delphi" and "ford" would be a stream crossing. It wouldn't be my fault for not associating these words with something else.
Now it seems to me that Curl must have a pretty good marketing department, since they got mentioned on /. even though their philosophy is 180 from a lot of people here. cURL OTOH, being Open Source, probably doesn't care about marketing, which is just one of many problems with OS/FS.
Being reasonable people, I don't think they have any intention of suing MIT
Read what I said again. You switched cURL with Curl.
Re:GNU Darwin? (Score:1)
[darwinfo.org]
http://darwinfo.org/devlist.php3?number=11712
The first thing the script does is fetch wget with curl. It uses wget for everything after that. BTW, don't worry, we never re-license _any_ code.
Regards,
proclus
WGET Missing from OS X.1 (Score:3, Interesting)
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 [24.5.29.77] 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 [24.5.29.77] (.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 [gnu.org].
Beats me why Apple did this...
WGET gone; curl is it (Score:2)
I believe it was deprecated in favor of curl, which I'm told is more robust anyway. It has the same basic syntax:
curl url
Re:WGET Missing from OS X.1 (Score:1)
It does the exact same thing, they just seem to like it more.
Re:WGET Missing from OS X.1 (Score:3, Informative)
Re:WGET Missing from OS X.1 (Score:1)
Re:WGET Missing from OS X.1 (Score:1)
This just in... (Score:3, Funny)
Um, disturbing (Score:5, Interesting)
From the script:
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?) 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.
Re:Um, disturbing (Score:2, Interesting)
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).
Re:Always knew I was a bit cowboy (Score:1)
killalll (sic) is handy...
Indeed killall is handy, but if you get into the Linux (or is it GNU) habbit of using it to kill processes by name, then you will get into a lot of bother when you use it on a system (not sure which flavours) where it reall does "kill all" and you end up with no init(1).
Re:Always knew I was a bit cowboy (Score:2)
That really kills EVERYTHING, no prompt, no quckhelp, (if you were root). It's the fastest way to take down a small supercomputer that I know of.
Re:Always knew I was a bit cowboy (Score:1)
Re:Always knew I was a bit cowboy (Score:1)
At least now under Irix 6.5.x, killall works like Linux. Funny, a lot of things in Irix 6.5 look like Linux!
curl | csh? Danger will Robinson, danger!!! (Score:3, Insightful)
curl http://gnu-darwin.sourceforge.net/one_stop | csh
Erm. Isn't this a bit of a dangerous install strategy? e.g. sourceforge get hacked again and http://gnu-darwin.sourceforge.net/one_stop points to a script that starts with 'rm -rf /'. Not so fun now...
Wouldn't it be better to use something that does a bit of public key crypto and verifies that you are really downloading something signed by a darwin guy or sourceforge? At least using https would help to stop a man in the middle attack...
x86 Darwin (Score:4, Interesting)
Re:x86 Darwin (Score:1)
Re:x86 Darwin (Score:2)
What's so wrong with 'rm -Rf ' ?
Did you read my post ? If you did, I would like you to explain what your post had to do with x86 Darwin.
Re:x86 Darwin (Score:1)
Note the actual license on GNU-Darwin-ports (Score:3, Informative)
And, on the main page, the license is listed as GPL. http://sourceforge.net/projects/gnu-darwin/
Re:Note the actual license on GNU-Darwin-ports (Score:1)
Regards,
proclus
DON'T DO THIS UNLESS YOU WANT TO REPLACE OS.X.1 (Score:2, Informative)
Other safe, easy installations to run as root: (Score:3, Funny)
curl http://goatse.cx/setwallpaper.csh | csh
curl http://spamforprofit.org/easymoney.pl | perl
curl http://microsoft.com/msonly/seekNdestroy | bash
http://curl.haxx.se/ (Score:2, Informative)
Lots are being said about cURL in these discussions, both favourable and some things not so favourable. Feel free to stop by and make your own opinion.
We host our project web pages at http://curl.haxx.se/ [curl.haxx.se] and we welcome your contributions!
GNU? (Score:2)
And of course, GNU Darwin is not a GNU project. So why is it called "GNU Darwin"? This project has nothing to do with GNU. Sure it has some ported GNU software, but so do my Solaris and FreeBSD boxen. Come to think of it, so do my Windows and QNX boxen.
Re:GNU? (Score:1)
Regards,
proclus
Re:GNU? (Score:2)
That might make sense if all of the free software you were porting over to Darwin where GNU software. But it's not. GNU is not a repository of all possible free software. It is a specific project to create a specific operating system.
Why not call it "BSD Darwin"? BSD is also free software, and there's a hell of a lot more BSD stuff in GNU Darwin than there is GNU stuff. Since RMS insists that LinuxOS be called "GNU/Linux" since he thinks it is derived from GNU, then why not call your project "BSD Darwin" since it is clearly derived from BSD software.
Or even better, since you want to use "GNU" to imply "free", why not just call it "Free Darwin?" You would avoid much confusion that way. It would also avoid pissing off the BSD community by taking their software and renaming it GNU.
Re:GNU? (Score:1)
GNU=Free
There you have it. Do you want to have our usual free software debate again, Ara-dear?
Regards,
proclus
Re:GNU? (Score:3, Insightful)
GNU != free
...and it sure would be nice if RMS and his commie-butties would quit trying to give such a singular meaning to a word that has so many interpretations within our language.
It's absurd, I tell you. Websters has it right. There's multiple definitions of the word "free". Therefore, assuming a singular meaning for a term like "free software" is bunk.
By the way, I find you and your project boring and trollsome. I'm glad you prefixed it with "GNU" so I can toss it into the same loony bin linux belongs in.
(pre-emptive "fuck you" to the moderator who mods this down - I'm damn right with respect to the word free, don't cover it up with slashtrash points)
Re:GNU? (Score:1)
Regards,
proclus
Re:GNU? (Score:1)
Hmmm, not quite.
GNU="GNU's Not Unix".
GNU is free, but not everything that is free is GNU. How much more plain than that can you get?
Oh, and don't call me "dear"
Re:GNU? (Score:1)
Regards,
proclus
Re:GNU? (Score:1)
Looking closer, I see that the first two entries aren't even licensed under a FSF-style license at all, but under MIT-style licenses.
I'm not sure what you mean by "FSF-style free software", but it's clear that your project is porting more than GNU software, and more than copyleft software.
Re:GNU? (Score:1)
Having said that, free software is what it is. We favor copyleft, but we are using are using the ports system to bring free software to users. Of course, that ports system is derived from FreeBSD, as you know, and all 6000 ports were picked by FreeBSD users and developers.
We have added a number of ports to the collection, most of which are copyleft, all of which are free software.
Regards,
proclus
Re:GNU? (Score:1)
It _is_ correct to refer to the package of GNU programs for Darwin/OS X as "GNU-Darwin". It has nothing to do with whether or not Darwin is GNU and everything to do with the tools being GNU. In theory, your Windows box with GNU software (If it has the full set) is now "GNU-Windows". Pretty nifty eh?
Re:GNU? (Score:2)
He just thinks that Linux is really The GNU System with linux as the kernel instead of Hurd.
GNU Darwin is no such beast. Not even close.
In theory, your Windows box with GNU software (If it has the full set) is now "GNU-Windows".
Of course Windows doesn't have the "full set". GNU is a complete operating system in its own right. What good is Hurd going to do under Windows?
But that's beside the point. Not even RMS considers Windows with all possible GNU software installed on it to be "GNU/Windows".
Re:GNU? (Score:1)
I don't own an Apple/BSD/GNU/Darwin system, so this is all conjecture; but I was under the impression that the "toolchain" was derived from FreeBSD, wich would place it largely under the BSD license. If that is in fact the case, then it would not be any more valid to call it GNU/Darwin then would Windows GNU/Windows (granted, you cannot rebuild windows using cygwin) or calling FreeBSD GNU/FreeBSD (where you do use GNU tools to rebuild the OS).
Point being, how is it you can call it GNU/Darwin, but not GNU/FreeBSD? Where is it you're saying the difference lies? In using GNOME? In replaceing the fileutils? Where, exactly?
Re:GNU? "GNU" is "GNU is Not Unix" but Darwin IS (Score:1)
Darwin is Unix, as is its bigger brother, Mac OS X. Real Unix. BSD 4.4 (or whatever minor version is actually is). GNU means "GNU is Not Unix" (it's recursive, but that's the fun of it). So what does GNU/Darwin mean?
Re:GNU? "GNU" is "GNU is Not Unix" but Darwin IS (Score:1)
Re:GNU? "GNU" is "GNU is Not Unix" but Darwin IS (Score:2, Funny)
Time for a darwin topical icon? (Score:2)
csh for scripting? ouch.. (Score:1)
Warm lap (Score:2)
Re:what the... (Score:1)
Regards,
proclus