Child pages
  • CLI Installation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Table of Contents

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

Excerpt

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.

Panel
bgColorWhite
Unix-like Systems

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

Panel
bgColorWhite

Windows

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

Python

The automaIT CLI requires Python 2.7.

Info

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

Panel
bgColorWhite
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:

Code Block
languagebash
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.

Panel
bgColorWhite

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:

Code Block
languagepython
#!/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