Rate This Document
Findability
Accuracy
Completeness
Readability

Uninstalling KAE 1.0

This section describes how to uninstall KAE 1.0 that is installed using RPM packages if you no longer require it or want to install KAE of a new version. Due to the dependency relationships, the hisi_hpre and hisi_sec2 driver packages must be uninstalled before the UACCE driver package is uninstalled. The libkae engine package must be uninstalled before the libwd driver package is uninstalled.

Procedure

  1. Use an SSH tool to remotely log in to the Linux CLI as the root user.
  2. Uninstall the KAE software packages and check the uninstallation result.
    1. Uninstall the KAE software packages.
      Run the rpm -e Software_package_name command. For example, run the following command to uninstall hisi_sec2:
      1
      rpm -e hisi_sec2
      
    2. Check whether the uninstallation is successful.
      Run the rpm -qa |grep Software_package_name command. For example, run the following command to check whether hisi_sec2 is uninstalled:
      1
      rpm -qa |grep hisi_sec2
      

      The following uninstalls all KAE software packages:

       1
       2
       3
       4
       5
       6
       7
       8
       9
      10
      11
      12
      [root@localhost output]# rpm -e hisi_hpre
      hisi_hpre modules uninstalled
      [root@localhost output]# rpm -e hisi_sec2
      hisi_sec2 modules uninstalled
      [root@localhost output]#
      [root@localhost output]# rpm -e uacce
      uacce modules uninstalling
      uacce modules uninstalled
      [root@localhost output]# rpm -e libwd libkae 
      [root@localhost output]#
       [root@localhost output]# rpm -qa uacce  hisi_hpre hisi_sec2 
      [root@localhost output]# rpm -qa libwd libkae
      
  3. Restart the system or use commands to manually uninstall the drivers loaded to the kernel, and check whether the drivers are successfully uninstalled.
    1. Check drivers that have been loaded to the kernel.
      1
      lsmod | grep uacce
      
      Command output:
      1
      uacce                36864  3 hisi_sec2,hisi_qm,hisi_hpre
      
    2. Uninstall the loaded drivers.
      1
      2
      3
      4
      rmmod hisi_hpre
      rmmod hisi_sec2
      rmmod hisi_qm
      rmmod uacce
      
    3. Check whether the uninstallation is successful. If no command output is displayed, the uninstallation is successful.
      1
      lsmod | grep uacce