diff options
author | nicolargo <nicolashennion@gmail.com> | 2016-09-03 08:48:38 +0200 |
---|---|---|
committer | nicolargo <nicolashennion@gmail.com> | 2016-09-03 08:48:38 +0200 |
commit | 8fa75b254add6e94dad17f3ad7a728c6879800bb (patch) | |
tree | 1457b262e76dc4ab2495c0c704b0127ff4ff70e8 /docs/install.rst | |
parent | ede5b2ae10f25e47a6d223e3952bb2c4e38d21be (diff) |
Update doc. Add install info in ReadTheDoc
Diffstat (limited to 'docs/install.rst')
-rw-r--r-- | docs/install.rst | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/install.rst b/docs/install.rst new file mode 100644 index 00000000..496d9f09 --- /dev/null +++ b/docs/install.rst @@ -0,0 +1,36 @@ +.. _install: + +Install +======= + +Glances is on ``PyPI``. By using PyPI, you are sure to have the latest +stable version. + +To install, simply use ``pip``: + +.. code-block:: console + + pip install glances + +*Note*: Python headers are required to install `psutil`_. For example, +on Debian/Ubuntu you need to install first the *python-dev* package. +For Fedora/CentOS/RHEL install first *python-devel* package. For Windows, +just install PsUtil from the binary installation file. + +You can also install the following libraries in order to use optional +features (like the Web interface, exports modules, sensors...): + +.. code-block:: console + + pip install bottle requests batinfo https://bitbucket.org/gleb_zhulik/py3sensors/get/tip.tar.gz zeroconf netifaces pymdstat influxdb elasticsearch potsdb statsd pystache docker-py pysnmp pika py-cpuinfo bernhard cassandra scandir + +To upgrade Glances to the latest version: + +.. code-block:: console + + pip install --upgrade glances + +For additionnal installation methods, read the official `README`_ file. + +.. _psutil: https://github.com/giampaolo/psutil +.. _README: https://github.com/nicolargo/glances/blob/master/README.rst |