This repo aims at building RPM, DEB and self-extracting SH for Glances.
Packages are build thanks to the fpm software.
First of all, we need to install or update it (with root right):
.. code-block:: console
gem install fpm
Note: on Ubuntu, gem is available in the ruby package. You also need to install ruby-dev.
Enter the following command line:
.. code-block:: console
fpm -s python -t rpm glances
Enter the following command line:
.. code-block:: console
fpm -s python -t deb glances
Enter the following command line:
.. code-block:: console
fpm -s python -t sh glances
Note: You can also build the PsUtil (mandatory) and Bootle (mandatory for Web UI) with the same king of command line.