How To Install jpcap on Fedora 36

In this tutorial we learn how to install jpcap in Fedora 36. jpcap is A Java library for capturing and sending network packets

Introduction

In this tutorial we learn how to install jpcap on Fedora 36.

What is jpcap

Jpcap is a Java library for capturing and sending network packets from Java applications. This Jpcap package requires Java 1.6 or higher and libpcap 0.9 or higher.

We can use yum or dnf to install jpcap on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install jpcap.

Install jpcap on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install jpcap using dnf by running the following command:

sudo dnf -y install jpcap

Install jpcap on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install jpcap using yum by running the following command:

sudo yum -y install jpcap

How To Uninstall jpcap on Fedora 36

To uninstall only the jpcap package we can use the following command:

sudo dnf remove jpcap

jpcap Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/50240042b0781c0356db50d50865524ebd5487
/usr/lib64/jpcap
/usr/lib64/jpcap/jpcap.jar
/usr/lib64/jpcap/libjpcap.so
/usr/share/doc/jpcap
/usr/share/doc/jpcap/COPYING
/usr/share/doc/jpcap/ChangeLog
/usr/share/doc/jpcap/README

References

Summary

In this tutorial we learn how to install jpcap on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).