SteelScript SteelHead Installation ================================== .. tip:: Go to `SteelScript on GitHub `_ for quick starts and more about the latest `SteelScript `_ .. warning:: This documentation has been created for SteelScript 2.0 at the time of Python 2 and 3.8 and has not been updated and reviewed for a while. For latest information about SteelScript that works in containers, on Linux/Mac and Windows, supports Python 3.12+, notebooks and more, please refer to `SteelScript on GitHub `_ The SteelScript SteelHead Package is distributed entirely as Python packages via the Python Package Index `PyPI `_. This makes it easy to install and upgrade the steelhead pacakge. Quick Install ------------- Checklist: 1. ``steelscript`` installed (if not see :doc:`/install/toc`) 2. Running Linux / Mac (for Windows, see :ref:`steelhead_install_detailed` below) 3. Developer tools installed (gcc/g++ or the like) If you can check off all of the above, simply run (in a `virtualenv `_): .. code:: bash $ steel install --steelhead This will install all the additional packages related to the package of SteelScript SteelHead. .. _steelhead_install_detailed: Detailed Installation --------------------- If you're familiar with ``pip`` and Python package installation, the latest stable versions of these packages are hosted on `PyPI`_ - the Python Package Index. The following packages are related to the SteelScript SteelHead: * ``steelscript.steelhead`` (`PyPI `__, `GitHub `__) - the core modules and data files for the SteelScript SteelHead * ``steelscript.cmdline`` (`PyPI `__, `GitHub `__) - python modules for interacting with transport types, such as telnet and ssh. The primary package is ``steelscript.steelhead``. Installing this will pull in a number of dependencies. The exact dependencies will change over time as new features are added. When installing via ``pip``, the dependencies will be installed automatically. .. _pycrypto: There is one package dependency that deserves special attention: * `Pycrypto `_ ( `PyPI `__ `downloads `__) - Python Cryptography Toolkit The Pycrypto package contains a collection of cryptographic modules implementing various algorithms and protocols. The package has a large portion written in C, thus it must be compiled. For Linux / Mac, it is usually sufficient just to ensure that the developer tools are installed. For Windows, it is recommended to install a special compiler, Microsoft Visual C++ Compiler for Python 2.7, which you can download from `here `__. This package provides the means to compile the Pycrypto package from source. Alternatively, you can install the package from pre-compiled distributions, available from `here `__. Once the compiler or Pycrypto is installed, executing again the command ``steelscript install --steelhead`` will install all packages related to the SteelScript Steelhead. Other than the special case described above, the installation is identical to installation for core SteelScript. Follow the directions described in one of the guides below to install ``steelscript`` along with any product specific packages. Then install ``steelscript.steelhead`` in the same manner: * :doc:`/install/toc` * :doc:`/install/linuxmac` * :doc:`/install/windows` You can check your installation using ``steel about``: .. code-block:: bash $ steel about Installed SteelScript Packages Core packages: steelscript 2.0 steelscript.appresponse 2.0.2 steelscript.cmdline 2.0 steelscript.netprofiler 2.0 steelscript.scc 2.0 steelscript.steelhead 2.0 steelscript.wireshark 2.0 Application Framework packages: None REST tools and libraries: None Paths to source: ~/steelscript/venv/lib/python3.8/site-packages (add -v or --verbose for further information)