Question

how do i install proftpd on amazon linux, yum install proftpd is not working, its showing "proftpd pakage not found"

[root@ip-172-31-37-101 ec2-user]# yum install proftpd Loaded plugins: priorities, update-motd, upgrade-helper amzn-main/latest | 2.1 kB 00:00 amzn-updates/latest | 2.3 kB 00:00 No package proftpd available. Error: Nothing to do [root@ip-172-31-37-101 ec2-user]#


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

Hi!

ProFTPd is not available in the default Amazon Linux repos. However, your system should have the EPEL repo installed (although disabled) by default. You can temporarily enable the EPEL repo by passing --enablerepo=epel to yum:

yum --enablerepo=epel install proftpd

If you want to enable the EPEL repo permanently, edit /etc/yum.repos.d/epel.repo and replace enabled=0 with enabled=1 under the [epel] section. Though, you should know that due to the way the repos are prioritized by default, if a package is available in both repos, the Amazon Linux AMI version will be installed.

Refer to the Amazon Linux AMI FAQ for more info.