How To Install multitail on CentOS 7

In this tutorial we learn how to install multitail on CentOS 7. multitail is View one or multiple files like tail but with multiple windows

Introduction

In this tutorial we learn how to install multitail on CentOS 7.

What is multitail

MultiTail lets you view one or multiple files like the original tail program. The difference is that it creates multiple windows on your console (with ncurses). It can also monitor wildcards another file matching the wildcard has a more recent modification date, it will automatically switch to that file. That way you can, for example, monitor a complete directory of files. Merging of 2 or even more logfiles is possible. It can also use colors while displaying the logfiles (through regular expressions), for faster recognition of what is important and what not. Multitail can also filter lines (again with regular expressions) and has interactive menus for editing given regular expressions and deleting and adding windows. One can also have windows with the output of shell scripts and other software. When viewing the output of external software, MultiTail can mimic the functionality of tools like ‘watch’ and such.

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

Install multitail on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install multitail

Install multitail on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install multitail

How To Uninstall multitail on CentOS 7

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

sudo dnf remove multitail

References

Summary

In this tutorial we learn how to install multitail on CentOS 7 using yum and dnf.