How To Install Getcap In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian?

How To Install Getcap In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian?

getcap

Library for getting and setting POSIX.1e capabilities

Maintainer: Christian Kastner



Section: utils

Install getcap

  • Debian apt-get install libcap2-bin Click to copy
  • Ubuntu apt-get install libcap2-bin Click to copy
  • Alpine OS apk add libcap Click to copy
  • Arch Linux pacman -S libcap Click to copy
  • Kali Linux apt-get install libcap2-bin Click to copy
  • CentOS yum install libcap Click to copy
  • Fedora dnf install libcap Click to copy
  • Raspbian apt-get install libcap2-bin Click to copy

libcap

Library for getting and setting POSIX.1e capabilities

libcap2-bin

POSIX 1003.1e capabilities (utilities)

Libcap implements the user-space interfaces to the POSIX 1003.1e capabilities available in Linux kernels. These capabilities are a partitioning of the all powerful root privilege into a set of distinct privileges. This package contains additional utilities.

Installation of latest getcap command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.