How to Install and Uninstall libcap2 Package on openSUSE Leap

Last updated: May 21,2024

1. Install "libcap2" package

In this section, we are going to explain the necessary steps to install libcap2 on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install libcap2

2. Uninstall "libcap2" package

Please follow the steps below to uninstall libcap2 on openSUSE Leap:

$ sudo zypper remove libcap2

3. Information about the libcap2 package on openSUSE Leap

Information for package libcap2:
--------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : libcap2
Version : 2.63-150400.3.3.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 58.5 KiB
Installed : Yes (automatically)
Status : up-to-date
Source package : libcap-2.63-150400.3.3.1.src
Upstream URL : https://sites.google.com/site/fullycapable/
Summary : Library for Capabilities (linux-privs) Support
Description :
Capabilities are a measure to limit the omnipotence of the superuser.
Currently a program started by root or setuid root has the power to do
anything. Capabilities (Linux-Privs) provide a more fine-grained access
control. Without kernel patches, you can use this library to drop
capabilities within setuid binaries. If you use patches, this can be
done automatically by the kernel.