Child pages
  • CLI Installation

This is the documentation of the latest development version of automaIT. The documentation of the latest stable release can be found at AUTOMAIT.

Skip to end of metadata
Go to start of metadata

Description

The Command Line Interface (CLI) must be installed on all hosts which require it. It is not deployed automatically to agents.

For further information about how to configure and use the CLI please refer to Command Line Interface.

Requirements

Operating System

The automaIT CLI is basically a Python script. It should run on every operating system fulfilling the requirements for Python core and the needed Python modules.

Unix-like Systems

The CLI should run on every unix-like operating system on which Python is installed.

Windows

The CLI should run on Windows XP and later versions if Python is installed.

Python

The automaIT CLI requires Python 2.7.

Python 3.x is a new version of the language that is incompatible with the 2.x line of releases. automaIT does not yet support Python 3.x.

Installation

Unix-like Systems

Generally, the package manager may be used to install Python.

On Debian Linux Systems, the apt package manager can be used to install Python. To do so, use the following command:

sudo apt-get install python2.7

On other unix-like systems, a manual install from binary might be necessary. General information on how to install and run Python on unix-like systems can be found in the Python v2.7 documentation.

Windows

Python must be installed manually because it is not pre-installed on Windows Systems. Installers can be found on the Python download page.

General information on how to install and run Python on Windows can be found in the Python v2.7 documentation.

Python Modules

The CLI of automaIT runs with Python 2.7 and only uses modules which are included in Python's standard library.

Even though it is not officially supported, Python 2.6 should be able to run the CLI in most cases when the external module "argparse" is installed.
The currently installed versions of Python and argparse can be determined with the following script:

#!/usr/bin/env python
import sys
print "python: ", sys.version
import argparse
print "argparse: ", argparse.__version__ 

The following table gives an overview of all modules currently used by the CLI:

See Also

  • No labels