Install NodeJS on Ubuntu 12.10
4063 ワード
Installing Node.js via package manager
The packages on this page are mantained and supported by their respive package, not the node.js core team.Please report any ises you encounter to the package mantainer.If it turns out your ise a bug in node.js itself,the mantainer will report the issure udem.
Gentoo
Node.js is available in the potage tree.
Node.js is available in offical repo for Debian Sid.
For Debian Wheezy,your best bet is to comple node by yourself:
Example install:
The e e e is a naming conflickt with the node package(Amature Packet Radio Node Program)、and the nodejs binary has been renamed from
openSUSE&SLE
Node.js stable repos list.Also node.js is available in openSUSE:Factory repository.
Available RPM packages for:openSUSE 11.4,12.1,Factory and Tumbleweed;SLE 11(with SP 1 and SP 2 variations)
Example install on openSUSE 12.1:
Node.js and npm are available in Fedora 18 and later.Juse your favorite graphcal package manager or run this on a terminal to install both npm and node:
Node.js and npm are available from the Fedora Extra Package for Enterprise Linux(EPEL) repository.If you haven't already done so,firstenbale EPEL and then run the follwing command to install node and npm:
Node.js is available in the Community Repository.
Node.js is available through the portsystem.
Using a package
Simply download Macintosh Installer.
Using homebrew:
Using a package
Simply download Windows Installer.
Using chocollatey to install ノード:
ありがとうございますhttps://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#ubuntu-mint
他見:http://stackoverflow.com/questions/16302436/install-nodejs-on-ubuntu-12-10
The packages on this page are mantained and supported by their respive package, not the node.js core team.Please report any ises you encounter to the package mantainer.If it turns out your ise a bug in node.js itself,the mantainer will report the issure udem.
Gentoo
Node.js is available in the potage tree.
# emerge nodejs
Debian,LMDAENode.js is available in offical repo for Debian Sid.
For Debian Wheezy,your best bet is to comple node by yourself:
sudo apt-get install python g++ make checkinstall
mkdir ~/src && cd $_
wget -N http://nodejs.org/dist/node-latest.tar.gz
tar xzvf node-latest.tar.gz && cd node-v*
./configure
checkinstall #(remove the "v" in front of the version number in the dialog)
sudo dpkg -i node_*
ユニスター:sudo dpkg -r node
In case you get a permission denied on the node
executable、an alternative path might be:umask 0022
./configure
make
checkinstall -D --umask 0022 --reset-uids --install=no
dpkg -i node_*.deb
Ubuntu,Mint,Elemenntary OSExample install:
sudo apt-get update
sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
It installs current stable Node on the current stable Ubuntu.Qual(12.10)users may need to install the ソフトワレ-properties-common package for the add-apt-repository
command to work: sudo apt-get install software-properties-common
As of Node.js v 0.0.0、the nodejs package from クリスLea's repo includes both npm and nodejs-dev.The e e e is a naming conflickt with the node package(Amature Packet Radio Node Program)、and the nodejs binary has been renamed from
node
ト nodejs
.You'll need to symlink /usr/bin/node
ト /usr/bin/nodejs
or you could uninstall the Amature Packet Radio Node Program to avoid that conflit.openSUSE&SLE
Node.js stable repos list.Also node.js is available in openSUSE:Factory repository.
Available RPM packages for:openSUSE 11.4,12.1,Factory and Tumbleweed;SLE 11(with SP 1 and SP 2 variations)
Example install on openSUSE 12.1:
sudo zypper ar http://download.opensuse.org/repositories/devel:/languages:/nodejs/openSUSE_12.1/ NodeJSBuildService
sudo zypper in nodejs nodejs-devel
FedoraNode.js and npm are available in Fedora 18 and later.Juse your favorite graphcal package manager or run this on a terminal to install both npm and node:
sudo yum install npm
RHEL/CentOS/Scintific Linux 6Node.js and npm are available from the Fedora Extra Package for Enterprise Linux(EPEL) repository.If you haven't already done so,firstenbale EPEL and then run the follwing command to install node and npm:
su -c 'yum install npm'
Arch LinuxNode.js is available in the Community Repository.
pacman -S nodejs
FreeBSD and OpenBSDNode.js is available through the portsystem.
/usr/ports/www/node
Development versions are also available using portscd /usr/ports/www/node-devel/ && make install clean
or packages on FreeBSDpkg_add -r node-devel
OSXUsing a package
Simply download Macintosh Installer.
Using homebrew:
brew install node
Using macport:port install nodejs
WindowsUsing a package
Simply download Windows Installer.
Using chocollatey to install ノード:
cinst nodejs
or for full install with NPM:cinst nodejs.install
Last edted by Johnny Freeman、 3 days agoありがとうございますhttps://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#ubuntu-mint
他見:http://stackoverflow.com/questions/16302436/install-nodejs-on-ubuntu-12-10