RPM Package Uninstallation (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
- Use an SSH tool to remotely log in to the Linux CLI as the root user.
- Uninstall the KAE software packages and check the uninstallation result.
- Uninstall the KAE software packages.Run the rpm -e Software_package_name command. For example, run the following command to uninstall hisi_zip.
1rpm -e hisi_zip
Due to the dependency relationships, you must uninstall the hisi_zip driver package before uninstalling the UACCE driver package, and uninstall the libkaezip engine package before uninstalling the libwd driver package.
- 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_zip is uninstalled:
1rpm -qa |grep hisi_zip
The following shows how to uninstall all KAE software packages:
1 2 3 4 5 6 7 8 9
[root@localhost output]# rpm -e hisi_zip hisi_zip modules uninstalled [root@localhost output]# rpm -e uacce uacce modules uninstalling uacce modules uninstalled [root@localhost output]# rpm -e libwd libkaezip [root@localhost output]# [root@localhost output]# rpm -qa uacce hisi_zip [root@localhost output]# rpm -qa libwd libkaezip
- Uninstall the KAE software packages.
- Restart the system or use commands to manually uninstall the accelerator drivers loaded to the kernel, and check whether the drivers are successfully uninstalled.
- Check drivers that have been loaded to the kernel.
1lsmod | grep uacce
Command output:1uacce 36864 3 hisi_qm,hisi_zip
- Uninstall the loaded drivers.
1 2 3
rmmod hisi_zip rmmod hisi_qm rmmod uacce
- Check whether the uninstallation is successful. If no command output is displayed, the uninstallation is successful.
1lsmod | grep uacce
- Check drivers that have been loaded to the kernel.
Parent topic: Uninstalling KAE Installed Using RPM Packages