I'm looking for a way to install memcached on my Mac running Lion, but I have no idea how to use terminal. Is there an easy to use GUI package to install it instead?
There is no easy GUI for installing memcached server. You can use an OSX package manager, like HomeBrew or MacPorts, but will still need to use terminal. I'd recommend installing everything from source, as this is a good introduction to how the underlying UNIX system works.
$ brew install memcached
$ sudo port install memcached
XCode will install the basic libraries and applications to compile source code into an executable application. XCode was shipped on the install disc that came with your Mac, but is now available for free download in the AppStore. Additional set-up will be needed, depending on your version of XCode.
Memcached will require a few dependencies; which, is handled automatically by the listed package managers. Each dependencies & memcached follow the same Terminal commands to install: ./configure
, make
, and make install
. This becomes very easy with experience. Here's an example.
# Download source
$ curl -O http://memcached.googlecode.com/files/memcached-1.4.14.tar.gz
# Extract files
$ tar zvxf memcached-1.4.14.tar.gz
# Change working directory to newly extracted files
$ cd memcached-1.4.14
# Configure source to your local machine
$ ./configure
# Compile the application
$ make
# Install application on your system
$ sudo make install
Heres' where you can find the needed libraries & such