Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to install node Linux Binaries (.tar.xz) file in ubuntu 14.04 [closed]

I have downlaoded the latest node package installer from their homepage https://nodejs.org/en/ and the latest package from https://nodejs.org/dist/v4.4.0/node-v4.4.0-linux-x64.tar.xz and I am trying to install it in Linux. There seems to be no instructions in the website so I have decompressed the file and I am using instructions given in README.md file. It says the following

  $ ./configure
  $ make
  $ [sudo] make install

From my decompressed folder I am running theses commands,but I am getting an error:

bash: ./configure: No such file or directory

For kind info: I am having Python 2.7.6, and gcc.

How to install the downloaded file "node-v4.4.0-linux-x64.tar.xz" in my ubuntu system ?

like image 398
Dheerendra Jeevani Avatar asked Mar 12 '23 20:03

Dheerendra Jeevani


1 Answers

Tarballs that include the OS and CPU architecture in the filename indicate pre-compiled binary tarballs. That means there is nothing to compile, so ./configure, make, and make install are not of any use there.

Just extract the binary tarball to whatever prefix you want. For example:

tar Jxf --strip=1 -C /usr/local node-v4.4.0-linux-x64.tar.xz

like image 112
mscdex Avatar answered Mar 15 '23 09:03

mscdex