< Home

Uninstalling a Python Script

Context

You can uninstall unnecessary scripts to release storage space on a device. If an installed script needs to be updated, uninstall it first, and reinstall it after the update.

Procedure

  1. Delete a Python script assistant.

    If you have configured a Python script assistant using the script-assistant python script-name command, delete the assistant and then uninstall the script.

    1. Run system-view

      The system view is displayed.

    2. Run ops

      The OPS view is displayed.

    3. Run undo script-assistant python script-name

      The Python script assistant is deleted.

      By default, no Python script assistant is configured.

    4. Run return

      Return to the user view.

  2. Run ops uninstall file file-name

    The Python script is uninstalled.

    If you do not run the script-assistant python script-name command to configure the Python script assistant, you can directly perform this step to uninstall the script.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >