This page provides instructions for installing SteelScript and associated modules for those that have experience with Python and package installation.
See the step by step installation guides for Linux/Mac and Windows for detailed instructions.
First install pip, if not already installed:
$ easy_install pip
Then, install steelscript as well as one or more product specific SteelScript modules:
$ pip install steelscript
$ pip install steelscript.netprofiler
$ pip install steelscript.netshark
See http://github.com/riverbed for a complete list of additional SteelScript packages available.
Start coding!
The latest stable version of SteelScript can also be downloaded from PyPI. For the bleeding edge go to GitHub. This way the SDK can be installed offline for environments that may not have internet access.
First, ensure that the dependencies listed above are downloaded and installed.
Download the steelscript package along with any other product specific packages of interest:
Upload to the target machine and install:
$ pip install steelscript-0.9.0.tar.gz
$ pip install steelscript.netprofiler-0.9.0.tar.gz
$ pip install steelscript.netshark-0.9.0.tar.gz
After installation, the steelscript package will be available to use in Python via import steelscript. Examples and documentation are also installed, but may be in different locations depending on your specific environment. Typical locations for each operating system are as follows:
OS | Documentation | Scripts |
---|---|---|
Linux | /usr/local/share/doc/steelscript | /usr/local/bin |
Mac | /System/Library/Frameworks/Python.framework/Versions/2.7/share/doc/steelscript | /usr/local/bin |
Windows | C:\Python27\share\doc | C:\Python27\Scripts |
If you need to upgrade the SteelScript package to a newer version, and you are offline, simply repeat the above installation steps. This will install the latest version alongside the older version. Normally you do not need to delete the older version.
With internet access, updates are as simple as:
$ pip install -U steelscript
Repeat the above for each product specific SteelScript package,
If you need to completely uninstall the SteelScript package, you must first find complete installation directory. You can get this directory from the flyscript-about.py command (shown above), or you can run python:
$ python
>>> import steelscript
>>> help(steelscript)
This will display the path to the package __init__.py file. Delete the entire directory leading up to steelscript/__init__.py.
Repeat as needed for additional SteelScript product packages.