nodejs in Linux (CentOS): compilation and installation from source
Third party dependency libs sudo yum groupinstall "Development Tools" Note: Development Tools contains various 3rd party libs to compile and build new rpm from the source. If above command does not install any lib in your machine, then you may try the following command, (In my machine, Development Tools did not install anything) . sudo yum groupinstall "Additional Development" Compilation and installation steps Download the nodejs from the official site: https://nodejs.org/en/download/ 1) Create node-4.1.2 installation directory in the /opt with proper read/write/executable permission i.e: /opt/node-4.1.2 2) Run the following commands in the downloaded source folder of node: 2.1) sudo ./configure --prefix=/opt/nodejs-4.1.2 2.2) sudo make install Note: You may want to add more option during configuring process. To see more options: ./configure --help In my case, I...