Skip to content

Uninstallation guide

1. How to uninstall mfdata module

To uninstall mfdata metwork module, use the following command (as root user):

```console

service metwork stop mfdata

yum remove "metwork-mfdata*" ```

```console

service metwork stop mfdata

urpme "metwork-mfdata*" ```

```console

service metwork stop mfdata

zypper remove "metwork-mfdata*" ```

2. How to uninstall all metwork modules

To uninstall all metwork modules, use following root commands:

```console

We stop metwork services (see note below)

service metwork stop

we remove metwork modules

yum remove "metwork-*" ```

```console

We stop metwork services (see note below)

service metwork stop

we remove metwork modules

urpme "metwork-*" ```

```console

We stop metwork services (see note below)

service metwork stop

we remove metwork modules

zypper remove "metwork-*" ```

Note

If your distribution does not provide service command, you can use systemctl stop metwork.service instead or /etc/rc.d/init.d/metwork stop (if you don't have a systemd enabled machine or container).

Warning

When you remove a module, the corresponding home directory will be deleted. For example, if you remove mfbase module, the /home/mfbase directory will be dropped. To avoid losing some work, the removal process will make a backup directoy in /home/mfbase.rpmsave{date} (without the content of log and tmp subdir). If you really want to clean all metwork stuff on this machine, you can also drop these backup directories. Same idea for /etc/metwork.config.d/{module}.