How To Install am-utils on CentOS 8
Introduction
In this tutorial we learn how to install am-utils
on CentOS 8.
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 8. 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 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install am-utils
using dnf
by running the following command:
sudo dnf -y install am-utils
Install am-utils on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install am-utils
using yum
by running the following command:
sudo yum -y install am-utils
How To Uninstall am-utils on CentOS 8
To uninstall only the am-utils
package we can use the following command:
sudo dnf remove am-utils
am-utils Package Contents on CentOS 8
/.automount
/etc/amd.conf
/etc/amd.net
/etc/sysconfig/amd
/usr/bin/pawd
/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/c1dbf5f32a1c61b78da3400762c85403b8abb4
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/0deb47ff65aa5392575570ed317c210a4f284b
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/d10042ad96c9a32c1c19cefd722a35537f8e38
/usr/lib/.build-id/45
/usr/lib/.build-id/45/98f223fd2f807dbc637c78f4ae1d87f2b44c11
/usr/lib/.build-id/55
/usr/lib/.build-id/55/e2f4bb4717f1554afd2fb8938c31a604390fd4
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/4a28b9c0c71265e965352e76ad044a05918892
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/7135f3e0c3972053e7c6a88f0759df3d9499d5
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/1947a753f939fa61a838d0bc103b5398d68a8b
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/d720449e65d9877e0036b2111b09ed562dc3ab
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/704be348de4d1518c8d4d7013f3e5469734850
/usr/lib/systemd/system/amd.service
/usr/lib64/libamu.so.4
/usr/lib64/libamu.so.4.0.0
/usr/sbin/am-eject
/usr/sbin/amd
/usr/sbin/amd2ldif
/usr/sbin/amd2sun
/usr/sbin/amq
/usr/sbin/automount2amd
/usr/sbin/ctl-hlfsd
/usr/sbin/fix-amd-map
/usr/sbin/fixmount
/usr/sbin/fixrmtab
/usr/sbin/fsinfo
/usr/sbin/hlfsd
/usr/sbin/lostaltmail
/usr/sbin/mk-amd-map
/usr/sbin/sun2amd
/usr/sbin/wait4amd
/usr/sbin/wait4amd2die
/usr/sbin/wire-test
/usr/share/doc/am-utils
/usr/share/doc/am-utils/AUTHORS
/usr/share/doc/am-utils/BUGS
/usr/share/doc/am-utils/ChangeLog
/usr/share/doc/am-utils/NEWS
/usr/share/doc/am-utils/README
/usr/share/doc/am-utils/README.attrcache
/usr/share/doc/am-utils/README.autofs
/usr/share/doc/am-utils/README.ldap
/usr/share/doc/am-utils/README.osx
/usr/share/doc/am-utils/README.sun2amd
/usr/share/doc/am-utils/README.y2k
/usr/share/doc/am-utils/am-utils.ps
/usr/share/doc/am-utils/amd.conf-sample
/usr/share/doc/am-utils/hlfsd.ps
/usr/share/doc/am-utils/lostaltmail.conf-sample
/usr/share/info/am-utils.info-1.gz
/usr/share/info/am-utils.info-2.gz
/usr/share/info/am-utils.info.gz
/usr/share/man/man1/pawd.1.gz
/usr/share/man/man5/amd.conf.5.gz
/usr/share/man/man8/amd.8.gz
/usr/share/man/man8/amq.8.gz
/usr/share/man/man8/automount2amd.8.gz
/usr/share/man/man8/fixmount.8.gz
/usr/share/man/man8/fsinfo.8.gz
/usr/share/man/man8/hlfsd.8.gz
/usr/share/man/man8/mk-amd-map.8.gz
/usr/share/man/man8/sun2amd.8.gz
/usr/share/man/man8/wire-test.8.gz
References
Summary
In this tutorial we learn how to install am-utils
on CentOS 8 using yum and dnf.