<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>The NetBSD instance that we are using (ami-569ed93c) has <font face="monospace, monospace"><b>pkg_add(1)</b></font> to install different packages.<br></div><div><a href="https://www.netbsd.org/docs/pkgsrc/using.html#finding-binary-packages">https://www.netbsd.org/docs/pkgsrc/using.html#finding-binary-packages</a></div><div> <br></div><div>You just need to export a few env vars first to properly download the binaries from the ftp server:</div><div><pre class="gmail-screen" style="white-space:pre-wrap;color:rgb(0,0,0)"><code class="gmail-prompt">$</code> <strong class="gmail-userinput"><code>PATH=&quot;/usr/pkg/sbin:$PATH&quot;</code></strong>
<code class="gmail-prompt">$</code> <strong class="gmail-userinput"><code>PKG_PATH=&quot;<a href="ftp://ftp.NetBSD.org/pub/pkgsrc/packages/">ftp://ftp.NetBSD.org/pub/pkgsrc/packages/</a><span class="gmail-replaceable"><code>NetBSD</code></span>/<span class="gmail-replaceable"><code>i386</code></span>/7.0/All/&quot;</code></strong>
<code class="gmail-prompt">$</code> <strong class="gmail-userinput"><code>export PATH PKG_PATH</code></strong></pre><pre class="gmail-screen" style="white-space:pre-wrap;color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">Then you can install packages like the aws-cli (not sure if this is required for us in our makefiles):</font></pre><pre class="gmail-screen"><pre class="gmail-screen"><pre class="gmail-screen" style="white-space:pre-wrap;color:rgb(0,0,0)"><code class="gmail-prompt">$</code> <strong class="gmail-userinput"><code>pkg_add py37-awscli # it&#39;s the python 3.7 version</code></strong>
<code class="gmail-prompt">$</code> <b>which aws</b>
<strong class="gmail-userinput"><code>/usr/pkg/bin/aws</code></strong></pre><pre class="gmail-screen" style="white-space:pre-wrap;color:rgb(0,0,0)"><pre class="gmail-screen" style="color:rgb(34,34,34)"><pre class="gmail-screen" style="white-space:pre-wrap;color:rgb(0,0,0)"><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;white-space:normal"><br></div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;white-space:normal">I also have a quick question too, are we allowed to use the AWS Python SDK boto3?</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;white-space:normal">It facilitates a lot of the instance/volume management, not sure if this is considered &quot;cheating&quot;.</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;white-space:normal"><a href="https://aws.amazon.com/sdk-for-python/" style="white-space:pre-wrap">https://aws.amazon.com/sdk-for-python/</a></div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;white-space:normal"><br></div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;white-space:normal">Thanks,</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;white-space:normal">Rob</div></pre></pre></pre></pre></pre></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 1, 2019 at 11:12 PM Thomas L Pyle &lt;<a href="mailto:tpyle@stevens.edu" target="_blank">tpyle@stevens.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:tahoma,sans-serif">Hello Everyone,</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif">As discussed in class, are we assuming the presence of the awscli by default on the machine? The default instance does not include the awscli.</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif">Further, it doesn&#39;t have the default package manager (pkgsrc) unless i&#39;m mistaken and there&#39;s another package manager for netbsd.</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks,<br>
Thomas Pyle</div>
</div>
</div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-6966145743190667734gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b>Robert Herley</b><div>Computer Science &#39;19 | Stevens Institute of Technology </div><div>(631) 896-7161 | <a href="http://www.robherley.xyz" target="_blank">www.robherley.xyz</a></div></div></div></div></div></div></div>