I was using Ubuntu for development and one of the dependencies needs
apt-get libgraphicsmagick1-dev
now I need to deploy to a AWS EC2 which runs AMI and only support YUM or RPM, what the the equivalent command for the above? Please note that I cannot change the server OS choice. Thanks.