How To Install migrationtools.noarch on Amazon Linux 2

In this tutorial we learn how to install migrationtools.noarch in Amazon Linux 2. migrationtools.noarch is Migration scripts for LDAP

Introduction

In this tutorial we learn how to install migrationtools.noarch on Amazon Linux 2.

What is migrationtools.noarch

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 to install migrationtools.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install migrationtools.noarch.

Install migrationtools.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install migrationtools.noarch using yum by running the following command:

sudo yum -y install migrationtools.noarch

How To Uninstall migrationtools.noarch on Amazon Linux 2

To uninstall only the migrationtools.noarch package we can use the following command:

sudo yum remove migrationtools.noarch

migrationtools.noarch Package Contents on Amazon Linux 2

/usr/share/doc/migrationtools-47
/usr/share/doc/migrationtools-47/README
/usr/share/doc/migrationtools-47/migration-tools.txt
/usr/share/migrationtools
/usr/share/migrationtools/migrate_aliases.pl
/usr/share/migrationtools/migrate_all_netinfo_offline.sh
/usr/share/migrationtools/migrate_all_netinfo_online.sh
/usr/share/migrationtools/migrate_all_nis_offline.sh
/usr/share/migrationtools/migrate_all_nis_online.sh
/usr/share/migrationtools/migrate_all_nisplus_offline.sh
/usr/share/migrationtools/migrate_all_nisplus_online.sh
/usr/share/migrationtools/migrate_all_offline.sh
/usr/share/migrationtools/migrate_all_online.sh
/usr/share/migrationtools/migrate_automount.pl
/usr/share/migrationtools/migrate_base.pl
/usr/share/migrationtools/migrate_common.ph
/usr/share/migrationtools/migrate_fstab.pl
/usr/share/migrationtools/migrate_group.pl
/usr/share/migrationtools/migrate_hosts.pl
/usr/share/migrationtools/migrate_netgroup.pl
/usr/share/migrationtools/migrate_netgroup_byhost.pl
/usr/share/migrationtools/migrate_netgroup_byuser.pl
/usr/share/migrationtools/migrate_networks.pl
/usr/share/migrationtools/migrate_passwd.pl
/usr/share/migrationtools/migrate_profile.pl
/usr/share/migrationtools/migrate_protocols.pl
/usr/share/migrationtools/migrate_rpc.pl
/usr/share/migrationtools/migrate_services.pl
/usr/share/migrationtools/migrate_slapd_conf.pl

References

Summary

In this tutorial we learn how to install migrationtools.noarch on Amazon Linux 2 using yum.