Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 2.45 KB

dependencies.md

File metadata and controls

51 lines (31 loc) · 2.45 KB

Dependencies

Before executing ScubaGear, its dependencies must be installed:

# Install the minimum required dependencies
Initialize-SCuBA 

Initialize-SCuBA will install several modules on your system. These modules are listed in RequiredVersions.ps1. It will also install OPA.

Note: The Initialize-SCuBA cmdlet creates a .scubagear folder in the users home directory. This is where it stores OPA and any other related files.

OPA Installation

Normally, the Initialize-SCuBA cmdlet installs OPA. This can be verified by looking for the OPA executable file in C:\Users\<username>\.scubagear\Tools. If it failed to do so, or you set a parameter to prevent it from doing so, you can install OPA separately.

Try this cmdlet first:

# Download OPA
Install-OPA

If that fails, you can manually download the OPA executable.

  • Go to the OPA download site.

  • In the upper left corner, select a version of OPA that is compatible with ScubaGear.

version

Note: To find the default supported version, go to the ScubaConfig file, look for the variable $ScubaDefaults, and find its parameter DefaultOPAVersion.

Note: To find older supported versions, go to the Support file, and find the constant named $ACCEPTABLEVERSIONS.

  • Using the navigation menu on the left side, click Introduction, then Running OPA, and then Download OPA.

  • On the main portion of the screen, find the paragraph in the blue box that begins with "Windows users can obtain the OPA executable from here" and click the link in "here" to download the executable.

  • Locate the downloaded executable file and move it to C:\Users\<username>\.scubagear\Tools, creating the Tools folder if it does not already exist.

To verify that OPA is working, use the following command to check the version:

# Navigate to the Tools folder.
# Check the OPA version
.\opa_windows_amd64.exe version

Once the dependencies have been installed, you are ready to set the permissions.