How To Install systemd-resolved.i686 on Amazon Linux 2

In this tutorial we learn how to install systemd-resolved.i686 in Amazon Linux 2. systemd-resolved.i686 is Network Name Resolution manager.

Introduction

In this tutorial we learn how to install systemd-resolved.i686 on Amazon Linux 2.

What is systemd-resolved.i686

systemd-resolved is a system service that manages network name resolution. It implements a caching DNS stub resolver and an LLMNR resolver and responder.

We can use yum to install systemd-resolved.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install systemd-resolved.i686.

Install systemd-resolved.i686 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 systemd-resolved.i686 using yum by running the following command:

sudo yum -y install systemd-resolved.i686

How To Uninstall systemd-resolved.i686 on Amazon Linux 2

To uninstall only the systemd-resolved.i686 package we can use the following command:

sudo yum remove systemd-resolved.i686

systemd-resolved.i686 Package Contents on Amazon Linux 2

/etc/dbus-1/system.d/org.freedesktop.resolve1.conf
/etc/systemd/resolved.conf
/usr/lib/libnss_resolve.so.2
/usr/lib/systemd/system/dbus-org.freedesktop.resolve1.service
/usr/lib/systemd/system/systemd-resolved.service
/usr/lib/systemd/systemd-resolve-host
/usr/lib/systemd/systemd-resolved
/usr/share/dbus-1/system-services/org.freedesktop.resolve1.service
/usr/share/man/man5/resolved.conf.5.gz
/usr/share/man/man5/resolved.conf.d.5.gz
/usr/share/man/man8/systemd-resolved.8.gz
/usr/share/man/man8/systemd-resolved.service.8.gz

References

Summary

In this tutorial we learn how to install systemd-resolved.i686 on Amazon Linux 2 using yum.