I'm having trouble figuring out yum
, rpm
, and exim4
.
All I want to do is
yum install exim4
yum
has been good to me in the past, smoothly fetching all packages and dependencies required to run the program I desire.
But not this time. exim4
wasn't included in the amzn-main
package apparently.
amzn-main/latest
amzn-updates/latest
No package exim4 available.
Now I don't want any fish. I want to learn how to use the dadgam yum
fishing rod.
- I don't know where to get the command to install
exim4
viayum
. - I don't know how to expand the places my Linux instance is looking (besides just
amzn-main
) to actually find theexim4
yum
package- I don't know whether it is safe to look in other places for packages for my ec2 instance other than
amzn-main
- I don't know whether it is safe to look in other places for packages for my ec2 instance other than
Amazon Linux doesn't include exim in its packages at all. Use a different MTA.
If you enable the repository EPEL, then you can install exim via yum. Here's are Amazon's instructions:
Enabling EPEL is relatively safe, since according to the FAQ "EPEL is purely a complementary add-on repository and does not replace packages in RHEL or layered products."
These days exim is included, so no need for third party repos. You can simply
yum install exim
.enable this:
https://aws.amazon.com/premiumsupport/knowledge-center/ec2-enable-epel/
Once that is installed, you don't need --enablerepo=epel on each yum command. It's enabled for good.
This shows that you are installing exim 4.90 (latest is 4.91, I don't see that available.)
finally:
That's it. ......