Installing python-hpilo¶
This module is easy to install and has very few extra dependencies. For the convenience of users of major linux distributions, I also ship packages that you can install with the standard package manager.
Dependencies¶
Always needed:
- Python 2.4 or newer, up to python 3.4
- When using python 2.4, you need to install the cElementTree library separately. Python 2.5 or newer already include this library.
Sometimes needed:
- If you want to use the
LOCAL
protocol, talking to the iLO from the server it is installed in via a kernel driver, you need to install this driver and thehponcfg
tool from hp - Some example applications require additional software. More details about these requirements can be found in the documentation of those examples.
Installing the latest release¶
When using Ubuntu, Debian, Fedora, CentOS or RHEL, it is advisable to use the deb or rpm packages I create for every release, so you get automatic updates whenever a new release is issued.
Users of Ubuntu releases that Canonical still supports can use my launchpad PPA:
$ sudo add-apt-repository ppa:dennis/python
$ sudo apt-get update
$ sudo apt-get install python-hpilo
Users of other Ubuntu releases, Debian, Fedora, CentOS or RHEL can use the repositories on OpenBuildService, instructions can be found on the obs site
If you can not, or do not want to use these packages (for example, if you use
windows or osx, or if you want to install into a virtualenv) you can download
the package from PyPI and install it manually like any other application by
unpacking it and running python setup.py install
. Or use pip
to install
it: pip install python-hpilo