Just got my first mac this weekend and am still stumbling around trying to get used to it.
I'm coming from using Redhat / Fedora almost exclusively for the last decade.
What I'm missing most right now is Yum.
I downloaded the source to wget and found that there is no c compiler on this machine.
So, my question is: What is the best practice when it comes to getting the core-utils (wget, shred, etc..) that one would expect to find on a Linux box?
Should I get things one at a time or should I look into something like Darwin ports?
I'm thinking that I want to avoid downloading and installing any large suites of tools that might stomp on some of the OSX/BSD tools that came with this OS.
First up, you probably want to get the C compiler on your computer. Put your installation DVD back in your computer, then open the "Optional Installs" folder. There you will find the XCode package, which gives you the Apple development environment, including GCC.
My next suggestion would be to install Fink. This gives you access to a lot of the Linux applications that have been already ported to the Mac. It also uses the Debian format for archives, which can make it easier if you need to do a custom modification or build something manually that you want included in the repositories.
To install wget, I run:
And it is done! I now have wget on that computer.
Similarly, I can find out what packages are named something like wget:
There is also a GUI, but I don't use it very often.
I should also mention that Fink will not deliberately stomp on existing installed software. By default, it knows about what is installed, and has "virtual" packages installed for them. So if you try to install something that would otherwise stomp on existing software, you will be warned about the conflict.