Rate This Document
Findability
Accuracy
Completeness
Readability

Installing SRA_Recall

This section describes how to install SRA_Recall using the RPM package and verify the package. If you use parameters that are supported by the RPM package management tool but not described in this document, undefined behaviors may be introduced. Exercise caution when performing this operation.

Procedure

  1. Obtain the SRA_Recall software package by performing Obtaining the Software Package and decompress it to obtain the binary RPM package.
  2. Install the RPM package.
    1
    rpm -ivh boostkit-sra_recall-xxxx.aarch64.rpm
    

    After the installation is complete, the environment variable LD_LIBRARY_PATH is automatically added to /etc/profile, that is, the /usr/local/sra_recall/lib directory where the dynamic library files of KBest and KVecturbo are stored, and the /usr/local/sra_recall/lib/kscann directory where the dynamic library files and static library files of KScaNN are stored.

    In the preceding command, xxxx indicates the version.

  3. Install the WHL file.
    1
    pip install kbest-xxxx-cp39-cp39-linux_aarch64.whl
    

    In the preceding command, xxxx indicates the version.

Verification

  1. Run the source command or log in to the terminal again for the environment variable to take effect.
    1
    source /etc/profile
    
  2. Check whether the environment variable LD_LIBRARY_PATH contains the KBest and KVecturbo installation path /usr/local/sra_recall/lib and the KScaNN installation path /usr/local/sra_recall/lib/kscann.
    1
    env | grep LD_LIBRARY_PATH
    

    If the variable contains those installation paths, the installation is successful.

    After the installation, the target files are generated in the installation path (the default path is /usr/local/sra_recall). The include folder contains the header files of KBest and KVecturbo, and the lib folder contains the dynamic library files of KBest and KVecturbo. The include/kscann folder contains the KScaNN header files, and the lib/kscann folder contains the KScaNN dynamic and static library files.

  3. Run the pip show command to check whether KBest of the xxxx version has been installed. xxxx indicates the version number.
    1
    pip show kbest
    

    If the command output contains "Name: kbest Version: xxxx", the installation is successful.