RPM-based Installation-
This document elaborates on the installation process of InAccel ecosystem for RPM-based distributions (Amazon Linux / CentOS / Fedora / Red Hat Enterprise Linux).
Install InAccel-
You can install InAccel in different ways, depending on your needs:
-
Most users set up InAccel’s repositories and install from them, for ease of installation and upgrade tasks. This is the recommended approach.
-
Some users download the RPM package and install it manually and manage upgrades completely manually. This is useful in situations such as installing InAccel on air-gapped systems with no access to the internet.
Install using the repository-
Before you install InAccel for the first time on a new host machine, you need to set up the InAccel repository. Afterward, you can install and update InAccel from the repository.
SETUP THE REPOSITORY
Note
In testing and development environments, some users choose to use the automated convenience script to setup InAccel repository.
Step 1 Install required packages. yum-utils
provides the yum-config-manager
utility:
Step 2 Add InAccel's repository to your YUM repositories:
sudo yum-config-manager \
--add-repo \
https://jfrog.inaccel.com/artifactory/generic/packages/inaccel.repo
INSTALL INACCEL
Step 1 Install the latest version of InAccel:
Step 2 InAccel offers a modified/extended version of runc
by adding custom pre-start and post-stop hooks to Coral containers. By providing our custom runtime we enable implicit loading of drivers and libraries of FPGA vendors to provide a zero-configuration experience. To make docker aware of those changes you need to restart its daemon:
Step 3 Verify that InAccel is installed correctly.
Install from a package-
If you cannot use InAccel's repository to install InAccel, you can download the .rpm
file for your release and install it manually. You need to download a new file each time you want to upgrade InAccel.
Step 1 Go to https://jfrog.inaccel.com/artifactory/generic/packages/rpm and download the .rpm
file for the InAccel version you want to install.
Step 2 Install InAccel, changing the path below to the path where you downloaded the InAccel package.
Step 3 Restart docker service to enable InAccel's custom runc
hooks (as mentioned above):
Step 4 Verify that InAccel is installed correctly.
Uninstall InAccel-
Step 1 Uninstall the InAccel package:
Step 2 Bitstreams, or customized configuration files on your host are not automatically removed. To delete all bitstreams:
You must delete any edited configuration files manually.