memccat command not found

In this troubleshooting guide we learn how to fix memccat command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

memccat: command not found

or when using sudo you get the following error message

sudo: memccat: command not found

Solutions to memccat: command not found

How To Fix memccat: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu memccat is provided by libmemcached-tools package.

libmemcached-tools is:

libmemcached is a C and C++ client library to the memcached server (http://memcached.org/). It has been designed to be light on memory usage, thread safe, and provide full access to server side methods.

This package provides several command line tools:

  • memccat - Copy the value of a key to standard output
  • memcflush - Flush the contents of your servers.
  • memcrm - Remove a key(s) from the server.
  • memccp - Copy files to a memcached server.
  • memcstat - Dump the stats of your servers to standard output
  • memcslap - Generate testing loads on a memcached cluster

To fix this problem, we can install more using the command below.

sudo apt-get -y install libmemcached-tools

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libmemcached-tools.

sudo apt -y install libmemcached-tools

Or if you have aptitude installed you can use the following command.

sudo aptitude install libmemcached-tools

Summary

In this tutorial we learn how to fix memccat command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.