How To Install php-pear-Net-URL-Mapper on CentOS 7
Introduction
In this tutorial we learn how to install php-pear-Net-URL-Mapper
on CentOS 7.
What is php-pear-Net-URL-Mapper
Net_URL_Mapper provides a simple and flexible way to build nice URLs for your web applications. The URL syntax is similar to what can be found in Ruby on Rails or Python Routes module and as such, this package can be compared to what they call a router. Still, Net_URL_Mapper does not perform the dispatching like these frameworks and therefore can be used with your own router.
We can use yum
or dnf
to install php-pear-Net-URL-Mapper
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install php-pear-Net-URL-Mapper.
Install php-pear-Net-URL-Mapper 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-pear-Net-URL-Mapper
using yum
by running the following command:
sudo yum -y install php-pear-Net-URL-Mapper
Install php-pear-Net-URL-Mapper 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-pear-Net-URL-Mapper
using dnf
by running the following command:
sudo dnf -y install php-pear-Net-URL-Mapper
How To Uninstall php-pear-Net-URL-Mapper on CentOS 7
To uninstall only the php-pear-Net-URL-Mapper
package we can use the following command:
sudo dnf remove php-pear-Net-URL-Mapper
References
Summary
In this tutorial we learn how to install php-pear-Net-URL-Mapper
on CentOS 7 using yum
and dnf
.