Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Memcached seems to be preinstalled with Xcode on OS X, according to Apple's documentation. To make sure I'm not hallucinating, I checked Apple's developer tools documentation. Yes, memcached is supported and documented by Apple:

Apple Developer Library : memcached(1)

Apparently, memcached is installed with Xcode since at least 10.6 onwards.

The reason I'm asking this is that on the Web and on SO there are lots people asking how to install memcached on OS X but curiously no one seems to mention that the easiest way to do so is to simply install Xcode via the AppStore (or using a DMG). All the answers given involves using homebrew or some other complicated way to install memcached from source.

Is there any compelling reason why the Apple shipped memcached is not good enough? I don't see any advantages of compiling and installing memcached from source since there's an Apple supported version.

share|improve this question

migrated from stackoverflow.com Aug 28 '12 at 9:20

This question came from our site for professional and enthusiast programmers.

closed as off topic by Shane Madden, mgorven, Scott Pack, MDMarra, Iain Sep 29 '12 at 16:37

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
I'm not sure it is the easiest way. Naturally it depends on your familiarity with build tools. –  Michael Aug 28 '12 at 6:32
    
You can ask this question for any of the dozen items shipped with XCode. I'd argue that Apple's support version is usually outdated. Current stable memcached is 1.4.14 –  emcconville Aug 28 '12 at 20:14
    
I'm a developer without the luxury of having a sysadmin to figure this out for me. Got to do it myself. But at least with SF I get to ask some of the best sysadmins in the world for advice. My question was migrated from SO. I'm not sure why this question got down-voted though. It's not that I didn't do research before asking. Just saying. –  GeneQ Aug 29 '12 at 15:06
    
@Michael, thanks for rephrasing the question. You read my mind. That's was exactly what I wanted to ask. –  GeneQ Aug 29 '12 at 15:08

1 Answer 1

up vote 6 down vote accepted

If (and that's a very big if) I'm going to deploy a Mac OS X Server in production, installing all of Xcode just to get memcached doesn't make a whole lot of sense, if there's an easy way to just get the components I need.

As a system administrator, I want only the components I need to deploy the application/service that the server is supposed to be running, and nothing else. All else is either an unnecessary waste of disk space or a potential security problem or both, and having unnecessary things on the server increases my workload.

For a development machine, it's more or less fine, though, especially if you have to install a bunch of things to try several approaches to a problem. (Just clean up after your failed experiments...)

All that said, I've never deployed Mac OS X Server into production for anything, and I don't expect to do so at any time in the foreseeable future.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.