2. How to install/upgrade/remove mfadmin metwork module (with internet access)

2.1. Prerequisites

You must:

  • have configured the metwork yum repository. Please see the corresponding document document to do that.
  • have an internet access on this computer

2.2. Install mfadmin metwork module

2.3. Full installation

You just have to execute the following command (as root user):

yum install metwork-mfadmin

2.4. Minimal installation

If you prefer to start with a minimal installation, you have to execute the following command (as root user):

yum install metwork-mfadmin-minimal

2.5. Optional Addons

2.5.1. Optional dependencies addons

# To install some devtools
yum install metwork-mfext-layer-devtools
yum install metwork-mfext-layer-python3_devtools
yum install metwork-mfext-layer-python3_devtools_jupyter

# To install some scientific libraries
yum install metwork-mfext-layer-scientific
yum install metwork-mfext-layer-python3_scientific

# To install python2 support
# (including corresponding scientific and devtools addons)
yum install metwork-mfext-python2
yum install metwork-mfext-python2_scientific
yum install metwork-mfext-python2_devtools

2.6. Services

You can start corresponding services with the root command:

service metwork start

Or you can also reboot your computer (because metwork services are started automatically on boot).

2.7. Uninstall mfadmin metwork module

To uninstall mfadmin metwork module, please stop corresponding metwork services with the root command:

service metwork stop mfadmin

Then, use the following command (still as root user):

yum remove "metwork-mfadmin*"

2.8. Upgrade mfadmin metwork module

To upgrade mfadmin metwork module, use the following commands (still as root user):

# We stop mfadmin services
service metwork stop mfadmin
# We upgrade mfadmin metwork module
yum upgrade "metwork-mfadmin*"
# We start mfadmin services
service metwork start mfadmin

2.9. Uninstall all metwork modules

To uninstall all metwork modules, use following root commands:

# We stop metwork services
service metwork stop

# we remove metwork modules
yum remove "metwork-*"

2.10. Upgrade all metwork modules

The same idea applies to upgrade.

For example, to upgrade all metwork modules on a computer, use following root commands:

# We stop metwork services
service metwork stop

# We upgrade metwork modules
yum upgrade "metwork-*"

# We start metwork services
service metwork start