How to install jq on amazon EC2 instance
jq is available in the yum repo so run the following sudo yum install jq will install jq on the instance
jq is available in the yum repo so run the following sudo yum install jq will install jq on the instance
If you’re using Amazon Linux it’s CentOS-based, which is RedHat-based. RH-based installs use yum not apt-get. Something like yum search httpd should show you the available Apache packages – you likely want yum install httpd24. Note: Amazon Linux 2 has diverged from CentOS since the writing of this answer, but still uses yum.
Stumbled onto this, was strangely hard to find again later. Putting here for posterity: sudo yum install nodejs npm –enablerepo=epel EDIT 3: As of July 2016, EDIT 1 no longer works for nodejs 4 (and EDIT 2 neither). This answer (https://stackoverflow.com/a/35165401/78935) gives a true one-liner. EDIT 1: If you’re looking for nodejs 4, please try … Read more