2016-09-03 09:48:38 +03:00
|
|
|
.. _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
|
|
|
|
|
2017-01-01 16:14:20 +03:00
|
|
|
curl -o /tmp/optional-requirements.txt https://raw.githubusercontent.com/nicolargo/glances/master/optional-requirements.txt
|
|
|
|
pip install -r /tmp/optional-requirements.txt
|
2016-09-03 09:48:38 +03:00
|
|
|
|
2016-10-21 23:11:13 +03:00
|
|
|
To upgrade Glances and all its dependencies to the latests versions:
|
2016-09-03 09:48:38 +03:00
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
|
|
|
pip install --upgrade glances
|
2017-01-01 16:14:20 +03:00
|
|
|
curl -o /tmp/requirements.txt https://raw.githubusercontent.com/nicolargo/glances/master/requirements.txt
|
|
|
|
pip install --upgrade /tmp/requirements.txt
|
|
|
|
curl -o /tmp/optional-requirements.txt https://raw.githubusercontent.com/nicolargo/glances/master/optional-requirements.txt
|
|
|
|
pip install --upgrade /tmp/optional-requirements.txt
|
2016-09-03 09:48:38 +03:00
|
|
|
|
|
|
|
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
|