Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unix stuff

 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11879
195
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11879
195
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Andrew.

I did find XCode on the Apple site and installed it.
I didn't realize that it was on the disk. I'll take some time to RTFM when I get home this evening.

I'll look into Fink.
It sounds similar to Darwin Port.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic