Namalak Namalak - 2 years ago 120
Linux Question

How to update memcached server in Linux

I have installed memcahced server in my machine

namal@namal:~$ sudo service memcached start
Starting memcached: memcached.

namal@namal:~$ telnet 11211
Connected to
Escape character is '^]'.

VERSION 1.4.14

namal@namal:~$ which memcached

So, I wanted to update it into 1.4.17 since it is the latest one.
But, when I say
yum update memcached
, it yells like this.

Setting up the Update Process
No Match for argument: memcached
No package memcached available.
No Packages marked for Update

OS : Ubuntu 12.10

Result for
aptitude show memcached

namal@namal:~$ aptitude show memcached
Package: memcached
State: installed
Automatically installed: no
Version: 1.4.14-0ubuntu1
Priority: optional
Section: web
Maintainer: Ubuntu Developers <>
Architecture: i386
Uncompressed Size: 226 k
Depends: libc6 (>= 2.4), libevent-2.0-5 (>= 2.0.10-stable), libsasl2-2 (>= 2.1.24), perl, lsb-base (>= 3.2-13), adduser
Suggests: libcache-memcached-perl, libmemcached
Description: A high-performance memory object caching system
Danga Interactive developed memcached to enhance the speed of, a site which was already doing 20 million+ dynamic page views per day for 1 million users with a bunch of webservers and a bunch of database servers. memcached dropped
the database load to almost nothing, yielding faster page load times for users, better resource utilization, and faster access to the databases on a memcache miss.

memcached optimizes specific high-load serving applications that are designed to take advantage of its versatile no-locking memory access system. Clients are available in several different programming languages, to suit the needs of the specific
application. Traditionally this has been used in mod_perl apps to avoid storing large chunks of data in Apache memory, and to share this burden across several machines.

Answer Source

Try running aptitude show memcached in the terminal. Then you might find out that the latest version currently supported by the Ubuntu 12.10 repositories is in fact 1.4.14. (You might need to install aptitude if it's not installed.)

That is because the package is maintained by the Ubuntu developers to ensure that it is stable for the Ubuntu release you are using. For more about Ubuntu repositories, see

If you still want the latest and greatest, you might need to build it from source yourself:

Edit: Broken link, and no way to substitute it. Their wiki docs seems to be suffering after Memcached migrated to GitHub. So or might be the place to start. Hopefully, up to date install-from-source-docs will eventually show up at

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download