Installing SolarCapture deb packages
====================================

The following notes give guidance on installing SolarCapture on a Ubuntu
system.

In these notes:
   <scver>   refers to the version of SolarCapture being installed,
             e.g. 1.3.1.9

   <oover>   refers to the version of OpenOnload being installed,
             e.g. 201502



Prerequisites
-------------
Create a working local directory and cd into it.

The following packages must be installed before installing SolarCapture:

  libpcap-dev
  autoconf
  unzip
  libtool
  libaio1
  devscripts
  debhelper
  python-dev
  ethtool


Installing SolarCapture SDK
----------------------------
1. Unpack the zip:

    unzip <path-to>solar_capture_sdk-<scver>.zip

2. Install the Solarflare Linux Utilities:

    dpkg -i sfutils-*.deb

3. Build and install OpenOnload:

    tar xf openonload-<oover>.tgz
    cd openonload-<oover>
    ./scripts/onload_install
    cd ..
    onload_tool reload

4. Install solar-capture-core:

    dpkg -i solar-capture-core_<scver>-1_amd64.deb

5. Build and install solar-capture-python:

    dpkg-source -x solar-capture-python_<scver>-1.dsc
    cd solar-capture-python-<scver>
    debuild -us -uc
    cd ..
    dpkg -i solar-capture-python_<scver>-1_amd64.deb



Installing SolarCapture Pro
----------------------------
Note: The SolarCapture SDK must be installed before SolarCapture Pro can be
      installed.

1. Unpack the zip:

   unzip <path-to>solar_capture_pro-<scver>.zip

2. Install the debs:

    dpkg -i solar-capture-live_<scver>-1_amd64.deb
    dpkg -i solar-capture-pro_<scver>-1_amd64.deb


