getcap

Command to display the name and capabilities of each specified file. More information: <https://manned.org/getcap>.

Debian Debian
RUN apt-get update && \ apt-get install -y libcap2-bin
Ubuntu
RUN apt-get update && \ apt-get install -y libcap2-bin
Alpine
RUN apk add libcap
Arch Arch Linux
RUN pacman -S --noconfirm libcap
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y libcap2-bin
CentOS
RUN yum install -y libcap
Fedora
RUN dnf install -y libcap
Raspbian
RUN apt-get update && \ apt-get install -y libcap2-bin
click the source code to copy install getcap on any operating system with command-not-found.com