简体   繁体   English

由于缺少配置文件,因此无法在Linux上安装node.js v0.10.22

[英]Can't install node.js v0.10.22 on linux because configure file missing

I'm trying to install Node.js (v0.10.22) on a CentOS machine (64 bit) without internet connection. 我正在尝试在没有Internet连接的CentOS计算机(64位)上安装Node.js(v0.10.22)。 So far I: 到目前为止,我:

  • Copied "node-v0.10.22-linux-x64.tar.gz" to the desktop 将“ node-v0.10.22-linux-x64.tar.gz”复制到桌面
  • Ran tar xvzf node-v0.10.22-linux-x64.tar.gz to unpack it tar xvzf node-v0.10.22-linux-x64.tar.gz解压缩
  • Moved to the new directory cd node-v0.10.22-linux-x64 移至新目录cd node-v0.10.22-linux-x64
  • Tried to run ./configure , but the file is missing 试图运行./configure ,但是文件丢失

Is that a bad package? 那是一个不好的包裹吗? How can I get past this issue? 我如何解决这个问题?

Tarballs that include an OS and architecture in the filename indicate pre-compiled tarballs. 在文件名中包含操作系统和体系结构的压缩文件表示预编译的压缩文件。 That means it includes binaries and not the actual source code for node. 这意味着它包括二进制文件,而不是节点的实际源代码。 Typically you can just extract these tarballs to /usr/local or any other prefix that is in your $PATH . 通常,您可以将这些压缩文件提取到/usr/local$PATH任何其他前缀。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM