glances/docs/install.rst

39 lines
1.1 KiB
ReStructuredText
Raw Normal View History

.. _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
2017-03-12 17:52:17 +00:00
features (like the Web interface, export modules...):
.. code-block:: console
2017-03-12 17:52:17 +00:00
pip install glances[action,browser,cloud,cpuinfo,chart,docker,export,folders,gpu,ip,raid,snmp,web,wifi]
2017-03-12 17:52:17 +00:00
To upgrade Glances and all its dependencies to the latest versions:
.. code-block:: console
pip install --upgrade glances
2017-03-12 17:52:17 +00:00
pip install --upgrade psutil
pip install --upgrade glances[...]
2017-03-12 17:52:17 +00:00
For additional installation methods, read the official `README`_ file.
.. _psutil: https://github.com/giampaolo/psutil
.. _README: https://github.com/nicolargo/glances/blob/master/README.rst