How To Install tlog on CentOS 8
Introduction
In this tutorial we learn how to install tlog
on CentOS 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. tlog 9 2.el8 x86_64 123 k tlog-9-2.el8.src.rpm appstream 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install tlog.
Install tlog on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8
To uninstall only the tlog
package we can use the following command:
sudo dnf remove tlog
tlog Package Contents on CentOS 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/32
/usr/lib/.build-id/32/0b9963bb77ac58043be8076e4277ae3b7cb310
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/8dbbddfafc7df06efa517e3d3c8683e619e989
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/bc90fc79128ae07a86e326abf4e4159d89371b
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/4df77a26be5ee94965f2f20b6f5756cdf6379b
/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/61
/usr/lib/.build-id/61/800b68754361de67ecf477838b048a78a2f2dd
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/0e7b094aa6a4b6e5cdf212f663a051355bc05e
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/fdeb0d3f7d5e7fc59b2070eb5c754a7d1e7734
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/e5cbd74930e2462420038615e84427085bd589
/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
- [tlog website](https://github.com/Scribery/tlog https://github.com/Scribery/tlog)
Summary
In this tutorial we learn how to install tlog
on CentOS 8 using yum and dnf.