How To Install postfix-sysvinit.noarch on Amazon Linux 2

In this tutorial we learn how to install postfix-sysvinit.noarch in Amazon Linux 2. postfix-sysvinit.noarch is SysV initscript for postfix

Introduction

In this tutorial we learn how to install postfix-sysvinit.noarch on Amazon Linux 2.

What is postfix-sysvinit.noarch

This package contains the SysV initscript.

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

Install postfix-sysvinit.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 postfix-sysvinit.noarch using yum by running the following command:

sudo yum -y install postfix-sysvinit.noarch

How To Uninstall postfix-sysvinit.noarch on Amazon Linux 2

To uninstall only the postfix-sysvinit.noarch package we can use the following command:

sudo yum remove postfix-sysvinit.noarch

postfix-sysvinit.noarch Package Contents on Amazon Linux 2

/etc/rc.d/init.d/postfix

References

Summary

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