How To Install tripwire on Fedora 36

In this tutorial we learn how to install tripwire in Fedora 36. tripwire is IDS (Intrusion Detection System)

Introduction

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

What is tripwire

Tripwire is a very valuable security tool for Linux systems, if it is installed to a clean system. Tripwire should be installed right after the OS installation, and before you have connected your system to a network (i.e., before any possibility exists that someone could alter files on your system). When Tripwire is initially set up, it creates a database that records certain file information. Then when it is run, it compares a designated set of files and directories to the information stored in the database. Added or deleted files are flagged and reported, as are any files that have changed from their previously recorded state in the database. When Tripwire is run against system files on a regular basis, any file changes will be spotted when Tripwire is run. Tripwire will report the changes, which will give system administrators a clue that they need to enact damage control measures immediately if certain files have been altered.

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

Install tripwire 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 tripwire using dnf by running the following command:

sudo dnf -y install tripwire

Install tripwire 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 tripwire using yum by running the following command:

sudo yum -y install tripwire

How To Uninstall tripwire on Fedora 36

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

sudo dnf remove tripwire

tripwire Package Contents on Fedora 36

/etc/cron.daily/tripwire-check
/etc/tripwire
/etc/tripwire/twcfg.txt
/etc/tripwire/twpol.txt
/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/439e7b8b4e14bbd8704b798f40e1579e584b1c
/usr/lib/.build-id/60
/usr/lib/.build-id/60/8caecb9fc1c2e004bb815575802dbac902239f
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/246148b8674285f575154968efbb1d38fed29b
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/8c80c4402c4d560eb1d601f5329b90ddd83222
/usr/sbin/siggen
/usr/sbin/tripwire
/usr/sbin/tripwire-setup-keyfiles
/usr/sbin/twadmin
/usr/sbin/twprint
/usr/share/doc/tripwire
/usr/share/doc/tripwire/COMMERCIAL
/usr/share/doc/tripwire/COPYING
/usr/share/doc/tripwire/ChangeLog
/usr/share/doc/tripwire/License-Issues
/usr/share/doc/tripwire/README.Fedora
/usr/share/doc/tripwire/TRADEMARK
/usr/share/doc/tripwire/policyguide.txt
/usr/share/doc/tripwire/tripwire.gif
/usr/share/man/man4/twconfig.4.gz
/usr/share/man/man4/twpolicy.4.gz
/usr/share/man/man5/twfiles.5.gz
/usr/share/man/man8/siggen.8.gz
/usr/share/man/man8/tripwire.8.gz
/usr/share/man/man8/twadmin.8.gz
/usr/share/man/man8/twintro.8.gz
/usr/share/man/man8/twprint.8.gz
/var/lib/tripwire
/var/lib/tripwire/report

References

Summary

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