forked from cloudfoundry/docs-bosh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcli-env-deps.html.md.erb
42 lines (30 loc) · 1.13 KB
/
cli-env-deps.html.md.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
title: CLI `create-env` Dependencies
---
<p class="note">Note: Applies to CLI v2.</p>
The `bosh create-env` (and `bosh delete-env`) command has dependencies.
1. Depending on your platform install following packages:
**Ubuntu Trusty**
<pre class="terminal">
$ sudo apt-get update
$ sudo apt-get install -y build-essential zlibc zlib1g-dev ruby ruby-dev openssl libxslt-dev libxml2-dev libssl-dev libreadline6 libreadline6-dev libyaml-dev libsqlite3-dev sqlite3
</pre>
**CentOS**
<pre class="terminal">
$ sudo yum install gcc gcc-c++ ruby ruby-devel mysql-devel postgresql-devel postgresql-libs sqlite-devel libxslt-devel libxml2-devel patch openssl
$ gem install yajl-ruby
</pre>
**Mac OS X**
Install Apple Command Line Tools:
<pre class="terminal">
$ xcode-select --install
</pre>
Use [Homebrew](http://brew.sh) to install OpenSSL:
<pre class="terminal">
$ brew install openssl
</pre>
1. Make sure Ruby is installed (any version is adequate):
<pre class="terminal">
$ ruby -v
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]
</pre>