How To Install opae on Fedora 34

opae is Open Programmable Acceleration Engine (OPAE) SDK

Introduction

In this tutorial we learn how to install opae on Fedora 34.

What is opae

Open Programmable Acceleration Engine (OPAE) is a software framework for managing and accessing programmable accelerators (FPGAs). Its main parts are * OPAE Software Development Kit (OPAE SDK) (this package) * OPAE Linux driver for Intel(R) Xeon(R) CPU with Integrated FPGAs and Intel(R) PAC with Arria(R) 10 GX FPGA * Basic Building Block (BBB) library for accelerating AFU OPAE SDK is a collection of libraries and tools to facilitate the development of software applications and accelerators using OPAE. It provides a library implementing the OPAE C API for presenting a streamlined and easy-to-use interface for software applications to discover, access, and manage FPGA devices and accelerators using the OPAE software stack.

We can use yum or dnf to install opae on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install opae.

Install opae on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install opae using dnf by running the following command:

sudo dnf -y install opae

Install opae on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install opae using yum by running the following command:

sudo yum -y install opae

How To Uninstall opae on Fedora 34

To uninstall only the opae package we can use the following command:

sudo dnf remove opae

opae Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/e1dd3bd1b9f1b04bf920939948980fcfe9236a
/usr/lib/.build-id/79
/usr/lib/.build-id/79/a6dfccaba0f25f6689ea83b4f47c8d7023cf60
/usr/lib/.build-id/91
/usr/lib/.build-id/91/d589c4bcb8ed4a4e73bdc508c99dab90e99578
/usr/lib/.build-id/97
/usr/lib/.build-id/97/85cd92ada0a38bd7924adadff5d30cc135e3aa
/usr/lib64/libbitstream.so.1
/usr/lib64/libbitstream.so.1.4.1
/usr/lib64/libopae-c-ase.so.1
/usr/lib64/libopae-c-ase.so.1.4.1
/usr/lib64/libopae-c.so.1
/usr/lib64/libopae-c.so.1.4.1
/usr/lib64/libopae-cxx-core.so.1
/usr/lib64/libopae-cxx-core.so.1.4.1
/usr/share/opae
/usr/share/opae/COPYING
/usr/share/opae/LICENSE
/usr/share/opae/RELEASE_NOTES.md

References

Summary

In this tutorial we learn how to install opae on Fedora 34 using yum and dnf.