How To Install tlog on Rocky Linux 8

In this tutorial we learn how to install tlog on Rocky Linux 8. tlog is Terminal I/O logger

Introduction

In this tutorial we learn how to install tlog on Rocky Linux 8.

What is tlog

Tlog is a terminal I/O recording program similar to “script”, but used in place of a user’s shell, starting the recording and executing the real user’s shell afterwards. The recorded I/O can then be forwarded to a logging server in JSON format.

We can use yum or dnf to install tlog on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install tlog.

Install tlog on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install tlog

Install tlog on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install tlog

How To Uninstall tlog on Rocky Linux 8

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

sudo dnf remove tlog

tlog Package Contents on Rocky Linux 8

/etc/tlog
/etc/tlog/tlog-play.conf
/etc/tlog/tlog-rec-session.conf
/etc/tlog/tlog-rec.conf
/run/tlog
/usr/bin/tlog-play
/usr/bin/tlog-rec
/usr/bin/tlog-rec-session
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/e9700cd0a44d09fd3fbce04d6cb6a892404b09
/usr/lib/.build-id/57
/usr/lib/.build-id/57/46f58bd6e8d6b6b9fe2c40df21dd01e4c7d85a
/usr/lib/.build-id/68
/usr/lib/.build-id/68/6fe24b70b8decf6232724c70d228e34b07706f
/usr/lib/.build-id/83
/usr/lib/.build-id/83/611b6036f9b6636d68b4122e8e84de835e7348
/usr/lib/libtlog.so.0
/usr/lib/libtlog.so.0.0.0
/usr/lib/tmpfiles.d/tlog.conf
/usr/share/doc/tlog
/usr/share/doc/tlog/README.md
/usr/share/doc/tlog/log_format.md
/usr/share/doc/tlog/mapping.json
/usr/share/doc/tlog/schema.json
/usr/share/licenses/tlog
/usr/share/licenses/tlog/COPYING
/usr/share/man/man5/tlog-play.conf.5.gz
/usr/share/man/man5/tlog-rec-session.conf.5.gz
/usr/share/man/man5/tlog-rec.conf.5.gz
/usr/share/man/man8/tlog-play.8.gz
/usr/share/man/man8/tlog-rec-session.8.gz
/usr/share/man/man8/tlog-rec.8.gz
/usr/share/tlog
/usr/share/tlog/tlog-play.default.conf
/usr/share/tlog/tlog-rec-session.default.conf
/usr/share/tlog/tlog-rec.default.conf
/etc/tlog
/etc/tlog/tlog-play.conf
/etc/tlog/tlog-rec-session.conf
/etc/tlog/tlog-rec.conf
/run/tlog
/usr/bin/tlog-play
/usr/bin/tlog-rec
/usr/bin/tlog-rec-session
/usr/lib/.build-id
/usr/lib/.build-id/63
/usr/lib/.build-id/63/d6f2002a4735e902880960ddb70265d63e090e
/usr/lib/.build-id/75
/usr/lib/.build-id/75/f529d63cf71ac0c18147f91ad0349d86cc0141
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/2aaf28ef71ad0eb97c17f1c53255aff230e8a5
/usr/lib/.build-id/be
/usr/lib/.build-id/be/9b9a0e26c8412cb8a3cb9b2b705f72c9014fcc
/usr/lib/tmpfiles.d/tlog.conf
/usr/lib64/libtlog.so.0
/usr/lib64/libtlog.so.0.0.0
/usr/share/doc/tlog
/usr/share/doc/tlog/README.md
/usr/share/doc/tlog/log_format.md
/usr/share/doc/tlog/mapping.json
/usr/share/doc/tlog/schema.json
/usr/share/licenses/tlog
/usr/share/licenses/tlog/COPYING
/usr/share/man/man5/tlog-play.conf.5.gz
/usr/share/man/man5/tlog-rec-session.conf.5.gz
/usr/share/man/man5/tlog-rec.conf.5.gz
/usr/share/man/man8/tlog-play.8.gz
/usr/share/man/man8/tlog-rec-session.8.gz
/usr/share/man/man8/tlog-rec.8.gz
/usr/share/tlog
/usr/share/tlog/tlog-play.default.conf
/usr/share/tlog/tlog-rec-session.default.conf
/usr/share/tlog/tlog-rec.default.conf

References

Summary

In this tutorial we learn how to install tlog on Rocky Linux 8 using yum and dnf.