April 4, 2017 | S. P. T. Krishnan
In a previous two part series on extending Amazon Linux with packages from other RPM-based distributions, we used R 3.3.2 as an example package. We got a few queries with a request to provide a bash script that will automatically install this popular package. In this post, we show how you can automate the steps discussed previously and provide you with a working bash script that will automatically install R 3.3.2 as well.
Being a DevOps company it is in our gene that we automate everything which needs to be done more than once. We are a heavy user of Amazon EMR service and have deployed more than 200 clusters so far. In each of this cluster, we require R 3.3.2 to be installed. The version that is shipped in EMR today is R 3.2.2
Find below the bash script version of the steps that is required to install R 3.3.2 on Amazon Linux and as discussed in our previous 2-part blog post series. Create a file, copy the code from here to the file, change the file permission to include execute permission and you are good to go.
In this blog post, we provide you a scripted version of R 3.3.2 installation on Amazon Linux. If you are interested in having our team help you with your projects, please contact us at firstname.lastname@example.org.