I can't install mailx on CentOS 9.
yum install mailx -y
Last metadata expiration check: 0:04:13 ago on Sat 09 Apr 2022 07:55:59 PM UTC.
No match for argument: mailx
Error: Unable to find a match: mailx
I can't install mailx on CentOS 9.
yum install mailx -y
Last metadata expiration check: 0:04:13 ago on Sat 09 Apr 2022 07:55:59 PM UTC.
No match for argument: mailx
Error: Unable to find a match: mailx
According to Bugzilla Bug 2001537 "mailx -> s-nail replacement in CentOS Stream 9", mailx was replaced by s-nail. There's also a reference to the same in the Red Hat's "Considerations in adopting RHEL 9" - Appendix A. Change to packages - Package replacements.
Install the replacement package with: yum install s-nail.