Desktop Installation: Difference between revisions

From STRIDE Wiki
Jump to navigation Jump to search
Line 29: Line 29:
As a final step, you will need to update your PATH environment variable to include <tt>~/stride/bin</tt>.  
As a final step, you will need to update your PATH environment variable to include <tt>~/stride/bin</tt>.  


If you use the bash shell:
If you use the bash shell, enter the following at a command prompt, or to automatically set at each login, add to your <tt>.bashrc</tt>:
  export PATH=$PATH:~/stride/bin
  export PATH=$PATH:~/stride/bin



Revision as of 00:17, 5 September 2009

To perform Sandbox Evaluation & Training, you need to install the STRIDE Framework package on your PC. Prior to version 4.1.02 (released in October 2009), the framework was distributed using a set of four separate archives. Starting with version 4.1.02 the framework is distributed as a single archive. For installation instructions for the earlier version, please see Package Installation for Version 4.1.01.

Installation Packages

Files are installed by unzipping the provided package to your PC. Packages are available targeting the following operating systems (your version number may be different than that shown):

Windows XP
STRIDE_framework-windows_4.1.02.zip
Linux
STRIDE_framework-linux_4.1.02.zip

Linux Installation

Unzip the Installation Package

  1. Create a directory named stride in your home directory.
  2. Unzip the package to the stride directory

For example:

cd ~/stride
unzip ../STRIDE_framework-linux_4.1.02.zip

Note: This assumes that the installation package is located in your home directory and that the directory ~/stride exists. The version numbers in your archive file name may be different than those shown in the example.

Set Execute Mode on STRIDE Executable Files

cd ~/stride/bin
chmod +x doxygen stride s2*


Update Your PATH

As a final step, you will need to update your PATH environment variable to include ~/stride/bin.

If you use the bash shell, enter the following at a command prompt, or to automatically set at each login, add to your .bashrc:

export PATH=$PATH:~/stride/bin

For other shells, and more information, please see the article here.

Windows Installation

The following installation example assumes the the installation package is located in your root directory and that the directory \stride exists. The version numbers in your archive file name may be different than those shown in the example.

The example uses the open source 7-Zip utility to unzip the archive.

cd \stride
"\Program Files\7-Zip\7z" x ..\STRIDE_framework-windows_4.1.02.zip

Once unzipped, files will have been installed under the \stride directory.

Updating Your PATH

[1]

Installed Directories and Files

Here is a quick orientation to the directories and files that are installed.

bin

This directory contains the STRIDE Build Tools and the STRIDE Runner.

The build tools are invoked early on in the target software build process to generate special STRIDE artifacts that are used in subsequent build steps and later when running tests against the target. In a sandbox installation, these files are needed on the host computer since this is where we are building the target application. In a production off-target environment, these files are needed only on the computer that performs the target software build.

The STRIDE Runner is the program you use to run tests from the host.

Samples

The Samples directory contains a number of subdirectories, each containing the source for a sample test.

SDK

This directory contains the subdirectories GRS, Runtime, and SLAP, which contain source code that comprises the STRIDE Runtime.

In addition, there is a Directory named either Linux or Windows, depending on your host operating system.

SDK\Windows or SDK/Linux

Related Topics