How To Install nodejs-mimeparse on CentOS 7
Introduction
In this tutorial we learn how to install nodejs-mimeparse
on CentOS 7.
What is nodejs-mimeparse
This Node.js module provides basic functions for handling mime-types. It can handle matching mime-types against a list of media-ranges. See section 14.1 of the HTTP specification [RFC 2616] for a complete explanation <http
We can use yum
or dnf
to install nodejs-mimeparse
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install nodejs-mimeparse.
Install nodejs-mimeparse on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install nodejs-mimeparse
using yum
by running the following command:
Install nodejs-mimeparse 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 nodejs-mimeparse
using dnf
by running the following command:
How To Uninstall nodejs-mimeparse on CentOS 7
To uninstall only the nodejs-mimeparse
package we can use the following command:
References
Summary
In this tutorial we learn how to install nodejs-mimeparse
on CentOS 7 using yum
and dnf
.