How To Install sendmail-sysvinit.noarch on Amazon Linux 2
In this tutorial we learn how to install sendmail-sysvinit.noarch in Amazon Linux 2. sendmail-sysvinit.noarch is SysV initscript for sendmail
Introduction
In this tutorial we learn how to install sendmail-sysvinit.noarch
on Amazon Linux 2.
What is sendmail-sysvinit.noarch
This package contains the SysV initscript.
We can use yum
to install sendmail-sysvinit.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install sendmail-sysvinit.noarch.
Install sendmail-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 sendmail-sysvinit.noarch
using yum
by running the following command:
sudo yum -y install sendmail-sysvinit.noarch
How To Uninstall sendmail-sysvinit.noarch on Amazon Linux 2
To uninstall only the sendmail-sysvinit.noarch
package we can use the following command:
sudo yum remove sendmail-sysvinit.noarch
sendmail-sysvinit.noarch Package Contents on Amazon Linux 2
/etc/rc.d/init.d/sendmail
References
Summary
In this tutorial we learn how to install sendmail-sysvinit.noarch
on Amazon Linux 2 using yum.