How Do You Install Maven, openjdk, libssl-dev, build-essential, and pkgconf on a RedHat 7.X or CentOS 6.X Linux Server?

Problem scenario
You are using a RedHat derivative distribution of Linux (e.g., CentOS/RHEL/Fedora).  To eliminate a Hadoop error, you need to install a variety of packages.  How do you install Maven, openjdk, libssl-Dev, build-Essential, and pkgconf?

To install Maven, see this article.

For the rest of the packages, run these commands:

sudo yum -y install java-1.8.0-openjdk-devel openssl-devel cmake protobuf

sudo yum -y groupinstall 'Development Tools'

curl > pkgconf-1.3.7-1.fc25.x86_64.rpm

curl > libpkgconf-1.3.7-1.fc25.x86_64.rpm

sudo rpm -ivh *.rpm

Leave a comment

Your email address will not be published. Required fields are marked *