How To Install webalizer on CentOS 7

In this tutorial we learn how to install webalizer on CentOS 7. webalizer is A flexible Web server log file analysis program

Introduction

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

What is webalizer

The Webalizer is a Web server log analysis program. It is designed to scan Web server log files in various formats and produce usage statistics in HTML format for viewing through a browser. It produces professional looking graphs which make analyzing when and where your Web traffic is coming from easy.

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

Install webalizer on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install webalizer

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

sudo dnf -y install webalizer

How To Uninstall webalizer on CentOS 7

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

sudo dnf remove webalizer

References

Summary

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