How To Install perl-Text-Format on CentOS 7
Introduction
In this tutorial we learn how to install perl-Text-Format on CentOS 7.
What is perl-Text-Format
The format routine will format under all circumstances even if the width isn’t enough to contain the longest words. Text die under these circumstances, although I am told this is fixed. If columns is set to a small number and words are longer than that and the leading ‘whitespace’ than there will be a single word on each line. This will let you make a simple word list which could be indented or right aligned. There is a chance for croaking if you try to subvert the module. If you don’t pass in text then the internal text is worked on, though not modified. Text meant for more powerful text formatting than Text
We can use yum or dnf to install perl-Text-Format on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Text-Format.
Install perl-Text-Format on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install perl-Text-Format using yum by running the following command:
sudo yum -y install perl-Text-Format
Install perl-Text-Format 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 perl-Text-Format using dnf by running the following command:
sudo dnf -y install perl-Text-Format
How To Uninstall perl-Text-Format on CentOS 7
To uninstall only the perl-Text-Format package we can use the following command:
sudo dnf remove perl-Text-Format
References
Summary
In this tutorial we learn how to install perl-Text-Format on CentOS 7 using yum and dnf.