Gkhan
Gkhan

Reputation: 133

Installing libcap package on Raspberry Pi

I couldn't install libcap package to use CAP_SYS_ADMIN on Raspberry Pi 3.

How can I install it? I couldn't understand installing step in some websites.

This is the version page of libcab

https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/

How can I install one of them?

Upvotes: 3

Views: 6917

Answers (2)

Joe
Joe

Reputation: 1342

I had the package from the first answer already installed, was using jpcap for java and installing this resolves the dependency issue i had

sudo apt-get install libpcap0.8

Upvotes: 3

GAD3R
GAD3R

Reputation: 4635

To install libcap use the following command:

sudo apt-get install libcap2

Upvotes: 1

Related Questions