Installation on Arch Linux
sudo pacman -S memcached installs the server from the official repositories. Enable and start it with sudo systemctl enable --now memcached. Verify the binary with memcached -V.
Configuration
Arch's unit starts Memcached with default flags. To customize memory or the listen address, create a systemd drop-in with sudo systemctl edit memcached and override ExecStart to add flags such as -m 256 -l 127.0.0.1 -U 0, then sudo systemctl restart memcached.
Security
Memcached has no authentication and binds broadly on some setups. Keep it on 127.0.0.1 and disable UDP (-U 0) unless you explicitly need otherwise, to avoid being abused in amplification attacks.