Monday, June 22, 2015

Installing Azure CLI on Oracle Enterprise Linux - part 1 - dependencies



First thing we need is NPM

NPM is not part of the standard OEL distribution, so we need to get EPEL

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

[root@ebscloud ~]# yum -y install epel-release-latest-6.noarch.rpm
Setting up Install Process
Examining epel-release-latest-6.noarch.rpm: epel-release-6-8.noarch
Marking epel-release-latest-6.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:6-8 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================
 Package                                      Arch                                   Version                             Repository                                                     Size
=============================================================================================================================================================================================
Installing:
 epel-release                                 noarch                                 6-8                                 /epel-release-latest-6.noarch                                  22 k

Transaction Summary
=============================================================================================================================================================================================
Install       1 Package(s)

Total size: 22 k
Installed size: 22 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : epel-release-6-8.noarch                                                                                                                                                   1/1
  Verifying  : epel-release-6-8.noarch                                                                                                                                                   1/1

Installed:
  epel-release.noarch 0:6-8

now yum -y install NPM works.


nstalled:
  npm.noarch 0:1.3.6-5.el6


now  npm install azure-cli -g


results in lots of output 

now running azure -h results in lots of output ! 

So thats' it installed. let#s move on.. 




No comments: