We use Ubuntu 16.04.5 LTS 64bits
apt-get install memcached
Result:
root@tutorialspots:~# apt-get install memcached Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: libcache-memcached-perl libmemcached libanyevent-perl libyaml-perl libterm-readkey-perl The following NEW packages will be installed: memcached 0 upgraded, 1 newly installed, 0 to remove and 59 not upgraded. Need to get 89.6 kB of archives. After this operation, 246 kB of additional disk space will be used. Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 memcached amd64 1.4.25-2ubuntu1.4 [89.6 kB] Fetched 89.6 kB in 0s (325 kB/s) Selecting previously unselected package memcached. (Reading database ... 97376 files and directories currently installed.) Preparing to unpack .../memcached_1.4.25-2ubuntu1.4_amd64.deb ... Unpacking memcached (1.4.25-2ubuntu1.4) ... Processing triggers for systemd (229-4ubuntu21.10) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for man-db (2.7.5-1) ... Setting up memcached (1.4.25-2ubuntu1.4) ... Processing triggers for systemd (229-4ubuntu21.10) ... Processing triggers for ureadahead (0.100.0-19) ...
Done! Check:
root@tutorialspots:~# service memcached status ● memcached.service - memcached daemon Loaded: loaded (/lib/systemd/system/memcached.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2019-01-09 11:51:27 UTC; 1min 34s ago Main PID: 21067 (memcached) CGroup: /system.slice/memcached.service └─21067 /usr/bin/memcached -m 64 -p 11211 -u memcache -l 127.0.0.1 Jan 09 11:51:27 ip-172-26-8-36 systemd[1]: Started memcached daemon.