How To Install php-zetacomponents-console-tools on CentOS 7

In this tutorial we learn how to install php-zetacomponents-console-tools on CentOS 7. php-zetacomponents-console-tools is Zeta ConsoleTools Component

Introduction

In this tutorial we learn how to install php-zetacomponents-console-tools on CentOS 7.

What is php-zetacomponents-console-tools

A set of classes to do different actions with the console, also called shell. It can render a progress bar, tables and a status bar and contains a class for parsing command line options. Documentation is available in the php-zetacomponents-console-tools-doc package.

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

Install php-zetacomponents-console-tools on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install php-zetacomponents-console-tools using yum by running the following command:

sudo yum -y install php-zetacomponents-console-tools

Install php-zetacomponents-console-tools 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 php-zetacomponents-console-tools using dnf by running the following command:

sudo dnf -y install php-zetacomponents-console-tools

How To Uninstall php-zetacomponents-console-tools on CentOS 7

To uninstall only the php-zetacomponents-console-tools package we can use the following command:

sudo dnf remove php-zetacomponents-console-tools

References

Summary

In this tutorial we learn how to install php-zetacomponents-console-tools on CentOS 7 using yum and dnf.