How To Install perl-Email-MIME-ContentType on CentOS 7
Introduction
In this tutorial we learn how to install perl-Email-MIME-ContentType
on CentOS 7.
What is perl-Email-MIME-ContentType
This module is responsible for parsing email content type headers according to section 5.1 of RFC 2045. It returns a hash with entries for the type, the subtype, and a hash of attributes. For backward compatibility with a really unfortunate misunderstanding of RFC 2045 by the early implementors of this module, ‘discrete’ and ‘composite’ are also present in the returned hashref, with the values of ’type’ and ‘subtype’ respectively.
We can use yum
or dnf
to install perl-Email-MIME-ContentType
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Email-MIME-ContentType.
Install perl-Email-MIME-ContentType on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install perl-Email-MIME-ContentType
using yum
by running the following command:
Install perl-Email-MIME-ContentType 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.
After updating yum database, We can install perl-Email-MIME-ContentType
using dnf
by running the following command:
How To Uninstall perl-Email-MIME-ContentType on CentOS 7
To uninstall only the perl-Email-MIME-ContentType
package we can use the following command:
References
Summary
In this tutorial we learn how to install perl-Email-MIME-ContentType
on CentOS 7 using yum
and dnf
.