nodejs centos 7
[root@localhost ~]# yum install epel-release
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.praction.in
* extras: mirrors.praction.in
* updates: mirrors.praction.in
Kubernetes | 1.4 kB 00:00
base | 3.6 kB 00:00
extras | 2.9 kB 00:00
updates | 2.9 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
epel-release noarch 7-11 extras 15 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 15 k
Installed size: 24 k
Is this ok [y/d/N]: y
Downloading packages:
epel-release-7-11.noarch.rpm | 15 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : epel-release-7-11.noarch 1/1
Verifying : epel-release-7-11.noarch 1/1
Installed:
epel-release.noarch 0:7-11
Complete!
[root@localhost ~]# yum install nodejs
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 9.8 kB 00:00
* base: mirrors.praction.in
* epel: mirrors.aliyun.com
* extras: mirrors.praction.in
* updates: mirrors.praction.in
epel | 5.3 kB 00:00
(1/3): epel/x86_64/updateinfo | 1.0 MB 00:00
(2/3): epel/x86_64/group_gz | 90 kB 00:00
(3/3): epel/x86_64/primary_db | 6.9 MB 00:09
Resolving Dependencies
--> Running transaction check
---> Package nodejs.x86_64 1:6.17.1-1.el7 will be installed
--> Processing Dependency: npm = 1:3.10.10-1.6.17.1.1.el7 for package: 1:nodejs-6.17.1-1.el7.x86_64
--> Processing Dependency: libuv >= 1:1.9.1 for package: 1:nodejs-6.17.1-1.el7.x86_64
--> Processing Dependency: libuv.so.1()(64bit) for package: 1:nodejs-6.17.1-1.el7.x86_64
--> Running transaction check
---> Package libuv.x86_64 1:1.33.0-2.el7 will be installed
---> Package npm.x86_64 1:3.10.10-1.6.17.1.1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
nodejs x86_64 1:6.17.1-1.el7 epel 4.7 M
Installing for dependencies:
libuv x86_64 1:1.33.0-2.el7 epel 143 k
npm x86_64 1:3.10.10-1.6.17.1.1.el7 epel 2.5 M
Transaction Summary
================================================================================
Install 1 Package (+2 Dependent packages)
Total download size: 7.4 M
Installed size: 26 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/epel/packages/libuv-1.33.0-2.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for libuv-1.33.0-2.el7.x86_64.rpm is not installed
(1/3): libuv-1.33.0-2.el7.x86_64.rpm | 143 kB 00:00
(2/3): nodejs-6.17.1-1.el7.x86_64.rpm | 4.7 MB 00:01
(3/3): npm-3.10.10-1.6.17.1.1.el7.x86_64.rpm | 2.5 MB 00:00
--------------------------------------------------------------------------------
Total 2.6 MB/s | 7.4 MB 00:02
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
Userid : "Fedora EPEL (7) <epel@fedoraproject.org>"
Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
Package : epel-release-7-11.noarch (@extras)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 1:libuv-1.33.0-2.el7.x86_64 1/3
Installing : 1:nodejs-6.17.1-1.el7.x86_64 2/3
Installing : 1:npm-3.10.10-1.6.17.1.1.el7.x86_64 3/3
Verifying : 1:npm-3.10.10-1.6.17.1.1.el7.x86_64 1/3
Verifying : 1:nodejs-6.17.1-1.el7.x86_64 2/3
Verifying : 1:libuv-1.33.0-2.el7.x86_64 3/3
Installed:
nodejs.x86_64 1:6.17.1-1.el7
Dependency Installed:
libuv.x86_64 1:1.33.0-2.el7 npm.x86_64 1:3.10.10-1.6.17.1.1.el7
Complete!
[root@localhost ~]# node --version
v6.17.1
[root@localhost ~]# yum install npm
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.praction.in
* epel: repos.del.extreme-ix.org
* extras: mirrors.praction.in
* updates: mirrors.praction.in
Package 1:npm-3.10.10-1.6.17.1.1.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.praction.in
* extras: mirrors.praction.in
* updates: mirrors.praction.in
Kubernetes | 1.4 kB 00:00
base | 3.6 kB 00:00
extras | 2.9 kB 00:00
updates | 2.9 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
epel-release noarch 7-11 extras 15 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 15 k
Installed size: 24 k
Is this ok [y/d/N]: y
Downloading packages:
epel-release-7-11.noarch.rpm | 15 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : epel-release-7-11.noarch 1/1
Verifying : epel-release-7-11.noarch 1/1
Installed:
epel-release.noarch 0:7-11
Complete!
[root@localhost ~]# yum install nodejs
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 9.8 kB 00:00
* base: mirrors.praction.in
* epel: mirrors.aliyun.com
* extras: mirrors.praction.in
* updates: mirrors.praction.in
epel | 5.3 kB 00:00
(1/3): epel/x86_64/updateinfo | 1.0 MB 00:00
(2/3): epel/x86_64/group_gz | 90 kB 00:00
(3/3): epel/x86_64/primary_db | 6.9 MB 00:09
Resolving Dependencies
--> Running transaction check
---> Package nodejs.x86_64 1:6.17.1-1.el7 will be installed
--> Processing Dependency: npm = 1:3.10.10-1.6.17.1.1.el7 for package: 1:nodejs-6.17.1-1.el7.x86_64
--> Processing Dependency: libuv >= 1:1.9.1 for package: 1:nodejs-6.17.1-1.el7.x86_64
--> Processing Dependency: libuv.so.1()(64bit) for package: 1:nodejs-6.17.1-1.el7.x86_64
--> Running transaction check
---> Package libuv.x86_64 1:1.33.0-2.el7 will be installed
---> Package npm.x86_64 1:3.10.10-1.6.17.1.1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
nodejs x86_64 1:6.17.1-1.el7 epel 4.7 M
Installing for dependencies:
libuv x86_64 1:1.33.0-2.el7 epel 143 k
npm x86_64 1:3.10.10-1.6.17.1.1.el7 epel 2.5 M
Transaction Summary
================================================================================
Install 1 Package (+2 Dependent packages)
Total download size: 7.4 M
Installed size: 26 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/epel/packages/libuv-1.33.0-2.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for libuv-1.33.0-2.el7.x86_64.rpm is not installed
(1/3): libuv-1.33.0-2.el7.x86_64.rpm | 143 kB 00:00
(2/3): nodejs-6.17.1-1.el7.x86_64.rpm | 4.7 MB 00:01
(3/3): npm-3.10.10-1.6.17.1.1.el7.x86_64.rpm | 2.5 MB 00:00
--------------------------------------------------------------------------------
Total 2.6 MB/s | 7.4 MB 00:02
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
Userid : "Fedora EPEL (7) <epel@fedoraproject.org>"
Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
Package : epel-release-7-11.noarch (@extras)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 1:libuv-1.33.0-2.el7.x86_64 1/3
Installing : 1:nodejs-6.17.1-1.el7.x86_64 2/3
Installing : 1:npm-3.10.10-1.6.17.1.1.el7.x86_64 3/3
Verifying : 1:npm-3.10.10-1.6.17.1.1.el7.x86_64 1/3
Verifying : 1:nodejs-6.17.1-1.el7.x86_64 2/3
Verifying : 1:libuv-1.33.0-2.el7.x86_64 3/3
Installed:
nodejs.x86_64 1:6.17.1-1.el7
Dependency Installed:
libuv.x86_64 1:1.33.0-2.el7 npm.x86_64 1:3.10.10-1.6.17.1.1.el7
Complete!
[root@localhost ~]# node --version
v6.17.1
[root@localhost ~]# yum install npm
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.praction.in
* epel: repos.del.extreme-ix.org
* extras: mirrors.praction.in
* updates: mirrors.praction.in
Package 1:npm-3.10.10-1.6.17.1.1.el7.x86_64 already installed and latest version
Nothing to do
Comments
Post a Comment