Get the App
SLTechnology News&Howtos  ›  Development  › 

CentOS simple operation command and how to install node.js

Shulou Source: shulou.com Published: 2022-06-01 02:03:02 10月03日 Update

This article mainly explains "CentOS simple operation command and how to install node.js". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "CentOS simple operation commands and how to install node.js" bar!

Check the version of the centos kernel:

Uname-a

Uname-r

View the linux version:

Cat / etc/issue

Check whether the system is 64-bit or 32-bit:

Getconf LONG_BIT

Install node.js

Because node.js needs more than Python2.6.

Note: Python 2.6 or 2.7 is required to build from source tarballs.

View Python version

Python-V

Installation dependency

Yum-y install gcc make gcc-c++ openssl-devel wget

Download node.js source code and installation

Wget http://nodejs.org/dist/v0.12.0/node-v0.12.0.tar.gz

Tar-zxf node-v0.12.0.tar.gz

Cd node-v0.12.0

. / configure & & make & & make install

At this point, I believe you have a deeper understanding of "CentOS simple operation commands and how to install node.js". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Command version content learning practical deeper interest kernel practicality practical simple operation method more friends source code system website or channel query Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft OPPO Reno macOS Linux Shulou Information