概要 †
Debian Backportsからnode.jsをインストールします。
手順 †
- vi /etc/apt/sources.list.d/backports.list
1
2
|
| deb http://ftp.jp.debian.org/debian/ wheezy-backports main contrib non-free
deb-src http://ftp.jp.debian.org/debian/ wheezy-backports main contrib non-free
|
- node.jsをインストール
1
2
3
4
|
-
|
!
| apt-get update
apt-get install nodejs nodejs-legacy
|
- npmをインストール
1
|
| curl -L https://npmjs.org/install.sh | sh
|
検証時の環境 †
- Debian Wheezy x64
- node.js v0.10.29
- npm 2.1.2