LoginSignup
5
5

More than 5 years have passed since last update.

CentOS 6.6にNode.jsをパッケージインストールする

Last updated at Posted at 2015-02-28

以下のサイトのまま.
yumでNode.jsが管理できることがポイント.

Installing Node.js via package manager
Enterprise Linux and Fedora

make環境を入れておく.

#yum install -y gcc-c++ make
#curl -sL https://rpm.nodesource.com/setup | bash -

リポジトリが登録されるので,インストール.

#ls /etc/yum.repos.d
...
nodesource-el.repo
#yum install -y nodejs
#node -v
v0.10.36
#npm -v
1.4.28
5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5