How To Install migrationtools on CentOS 7
Introduction
In this tutorial we learn how to install migrationtools on CentOS 7.
What is migrationtools
The MigrationTools are a set of Perl scripts for migrating users, groups, aliases, hosts, netgroups, networks, protocols, RPCs, and services from existing nameservices (flat files, NIS, and NetInfo) to LDAP.
We can use yum or dnf to install migrationtools on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install migrationtools.
Install migrationtools on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install migrationtools using yum by running the following command:
sudo yum -y install migrationtools
Install migrationtools 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 migrationtools using dnf by running the following command:
sudo dnf -y install migrationtools
How To Uninstall migrationtools on CentOS 7
To uninstall only the migrationtools package we can use the following command:
sudo dnf remove migrationtools
References
Summary
In this tutorial we learn how to install migrationtools on CentOS 7 using yum and dnf.