Installing the KAE by Installing RPM Packages
- Download the RPM package (version 1.3.11). CentOS 7.6 is used as an example.
https://gitee.com/kunpengcompute/KAE/releases
cd /home/ wget https://gitee.com/kunpengcompute/KAE/releases/download/v1.2.10/kae_1.3.11_CentOS.7.6.4.14.0-115.el7a.0.1.zip --no-check-certificate
- Decompress the package.
unzip kae_1.3.11_CentOS.7.6.4.14.0-115.el7a.0.1.zip ll -rt
- Go to the directory generated after decompression.
cd 'kae_1.3.11_CentOS 7.6 4.14.0-115.el7a.0.1' ll -rt
- Install the RPM package of uacce.
rpm -ivh uacce-1.3.11-1.centos7.6.aarch64.rpm

- Install the RPM package of hisi_hpre.
rpm -ivh hisi_hpre-1.3.11-1.centos7.6.aarch64.rpm

- Install the RPM package of libwd.
rpm -ivh libwd-1.3.11-1.centos7.6.aarch64.rpm

- Install the RPM package of libkae.
rpm -ivh libkae-1.3.11-1.centos7.6.aarch64.rpm

hisi_hpre depends on uacce, and libkae depends on libwd.
- View the kernel-mode library file.
1ll /usr/local/lib/engines-1.1/
- Configure the environment variables.
- Open profile.
vi /etc/profile
- Add the following content to the file:
export OPENSSL_ENGINES=/usr/local/lib/engines-1.1
- Make the environment variables take effect.
source /etc/profile
- View the environment variables.
env | grep OPENSSL_ENGINES

Restore the environment variables.
- Open profile.
vi /etc/profile
- Delete the following content:
export OPENSSL_ENGINES=/usr/local/lib/engines-1.1
- Make the environment variables take effect.
source /etc/profile
- Run the unset command.
unset OPENSSL_ENGINES
- View the environment variables.
env | grep OPENSSL_ENGINES
- Open profile.
- Open profile.
- Load the drivers.
modprobe uacce modprobe hisi_hpre
- Check the drivers.
lsmod | grep uacce lsmod | grep hisi_hpre

- Check KAE devices (virtual devices).
ls /sys/class/uacce/ Or ll /sys/class/uacce/

Parent topic: Installing the KAE Software