How To Install tlog on Fedora 34

tlog is Terminal I/O logger Terminal I/O logger

Introduction

In this tutorial we learn how to install tlog on Fedora 34.

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. tlog 11 2.fc34 x86_64 116 k tlog-11-2.fc34.src.rpm fedora Terminal I/O logger https GPLv2+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install tlog.

Install tlog on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install tlog

Install tlog on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove tlog

tlog Package Contents on Fedora 34

/etc/tlog
/etc/tlog/tlog-play.conf
/etc/tlog/tlog-rec-session.conf
/etc/tlog/tlog-rec.conf
/usr/bin/tlog-play
/usr/bin/tlog-rec
/usr/bin/tlog-rec-session
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/0191f8ec6951974fcc269b429ef3eed834ee79
/usr/lib/.build-id/46
/usr/lib/.build-id/46/00456db7712389dec9622b60fb2433982ced49
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/6408e49a2f66048a9947012cc7d9c87c9a08ec
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/653d75c3e3bc9f64d17ddb277ea95d75674c2b
/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
/usr/bin/tlog-play
/usr/bin/tlog-rec
/usr/bin/tlog-rec-session
/usr/lib/.build-id
/usr/lib/.build-id/66
/usr/lib/.build-id/66/09145f89cb88536980a05aa79f353cc2db0b8f
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/db2c0e1bfeca57b4135512915b510583ef6471
/usr/lib/.build-id/89
/usr/lib/.build-id/89/f7a911d0be1a88926205eb1dd3f62716c9d3de
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/a73b266353a3332da07b08ddbfa61787dc0b93
/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 Fedora 34 using yum and dnf.