3

The AWS Elastic BeanStalk Documentation specifically wrote:

Elastic Beanstalk currently supports the following package managers: yum, rubygems, python, and rpm.

So, what should I do if I want to install some packages on an Ubuntu image?

Can I replace yum/rpm lines with apt?

(Someone once blogged this example:)

packages:
  yum:
    libmemcached: []
    ruby-devel: []
    gcc: []
  rpm:
    epel: http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
  rubygems:
    chef: '0.10.2'
  apt:
    mysql-client: []

(I cannot find explanation about the apt: section in the AWS Documentations, though.)

0

apt-get is a package manager for Ubuntu/Debian based distros, it will not be found in Amazon Linux or RedHat.

You want to use yum.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.