2016-09-03 09:48:38 +03:00
|
|
|
.. _install:
|
|
|
|
|
|
|
|
Install
|
|
|
|
=======
|
|
|
|
|
2023-12-10 20:41:34 +03:00
|
|
|
Glances is available on ``PyPI``. By using PyPI, you are sure to have the
|
|
|
|
latest stable version.
|
2016-09-03 09:48:38 +03:00
|
|
|
|
|
|
|
To install, simply use ``pip``:
|
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
|
|
|
pip install glances
|
|
|
|
|
2023-12-10 20:41:34 +03:00
|
|
|
*Note*: Python headers are required to install `psutil`_. For instance,
|
|
|
|
on Debian/Ubuntu, you must first install the *python-dev* package.
|
|
|
|
On Fedora/CentOS/RHEL, first, install the *python-devel* package. For Windows,
|
|
|
|
psutil can be installed from the binary installation file.
|
2016-09-03 09:48:38 +03:00
|
|
|
|
2023-12-10 20:41:34 +03:00
|
|
|
You can also install the following libraries to use the optional
|
|
|
|
features (such as the web interface, export modules, etc.):
|
2016-09-03 09:48:38 +03:00
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
2019-01-20 12:56:30 +03:00
|
|
|
pip install glances[all]
|
2016-09-03 09:48:38 +03:00
|
|
|
|
2017-03-12 20:52:17 +03:00
|
|
|
To upgrade Glances and all its dependencies to the latest versions:
|
2016-09-03 09:48:38 +03:00
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
|
|
|
pip install --upgrade glances
|
2017-03-12 20:52:17 +03:00
|
|
|
pip install --upgrade psutil
|
2019-01-20 12:56:30 +03:00
|
|
|
pip install --upgrade glances[all]
|
2016-09-03 09:48:38 +03:00
|
|
|
|
2017-03-12 20:52:17 +03:00
|
|
|
For additional installation methods, read the official `README`_ file.
|
2016-09-03 09:48:38 +03:00
|
|
|
|
|
|
|
.. _psutil: https://github.com/giampaolo/psutil
|
|
|
|
.. _README: https://github.com/nicolargo/glances/blob/master/README.rst
|