fbpx
25 C
Lahore

How to install Node.js on Linux CentOS from the EPEL Repository?

Must read

Ayyaz Zafarhttps://www.ayyaztech.com
I am Full Stack Web Developer with 10 years of professional Experience. I have following Skills: HTML5, CSS3, Javascript, jQuery, Ajax, PHP, MySQL, jQuery, Angular, React.js, Wordpress, Codeigniter, Laravel, Node.js, Mongo DB, Express.js, GraphQL, Typescript, Apollo and many more..

An alternative installation method uses the EPEL (Extra Packages for Enterprise Linux) repository that is available for CentOS and related distributions.

To gain access to the EPEL repo, you must modify the repo-list of your installation. Fortunately, we can reconfigure access to this repository by installing a package available in our current repos called epel-release.

sudo yum install epel-release
Now that you have access to the EPEL repository, you can install Node.js using your regular yum commands:

sudo yum install nodejs
Once again, you can check that the installation was successful by asking Node to return its version number:

node –version
v0.10.30

Tested on CentOS 6.7 x64

Source: DigitalOcean

- Advertisement -spot_img

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article