How To Install am-utils on CentOS 7

In this tutorial we learn how to install am-utils on CentOS 7. am-utils is Automount utilities including an updated version of Amd

Introduction

In this tutorial we learn how to install am-utils on CentOS 7.

What is am-utils

Am-utils includes an updated version of Amd, the popular BSD automounter. An automounter is a program which maintains a cache of mounted filesystems. Filesystems are mounted when they are first referenced by the user and unmounted after a certain period of inactivity. Amd supports a variety of filesystems, including NFS, UFS, CD-ROMS and local drives. You should install am-utils if you need a program for automatically mounting and unmounting filesystems.

We can use yum or dnf to install am-utils on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install am-utils.

Install am-utils on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install am-utils using yum by running the following command:

sudo yum -y install am-utils

Install am-utils 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 am-utils using dnf by running the following command:

sudo dnf -y install am-utils

How To Uninstall am-utils on CentOS 7

To uninstall only the am-utils package we can use the following command:

sudo dnf remove am-utils

References

Summary

In this tutorial we learn how to install am-utils on CentOS 7 using yum and dnf.