.. _RequiredPackages: ************************************************************ Driver, Firmware, and Runtime Installation ************************************************************ Here, we explain how to install the packages necessary to use the various SW components provided by FuriosaAI. These required packages are kernel drivers, firmware, and runtime library, and can be downloaded either directly through the download center, or through the APT/PIP servers as issued on the developer site. .. note:: The download center and developer site will be provided upon registration to the FuriosaAI evaluation program. Currently, the request for registration can be done through contact@furiosa.ai. .. _MinimumRequirements: Minimum requirements for SDK installation ===================================================================== * Ubuntu 20.04 LTS (Focal Fossa)/Debian bullseye or higher * Administrator privileges on system (root) * Internet-accessible network .. _SetupAptRepository: APT server configuration ===================================================================== In order to use the APT server as provided by FuriosaAI, the APT server must be configured on Ubuntu or Debian Linux as delineated below. This section may be skipped if you are using the download center, and not the APT. 1. Install the necessary packages to access HTTPS-based APT server. .. code-block:: sh sudo apt update sudo apt install -y ca-certificates apt-transport-https gnupg 2. Register the FuriosaAI public Signing key. .. code-block:: sh sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 5F03AFA423A751913F249259814F888B20B09A7E 3. Issue the API key from FuriosaAI developer center, and configure the API key as follows: .. code-block:: sh sudo tee -a /etc/apt/auth.conf.d/furiosa.conf > /dev/null < Replace with the name of the user you want to add to the ``furiosa`` group. For example, in order to add the current user (i.e., ``$USER``) to the ``furiosa`` group, you can run as the following: .. code-block:: sh sudo usermod -aG furiosa $USER Upon logging out and logging back in, the change to the group membership will take effect. .. _HoldingAptVersion: Holding/unholding installed version ------------------------------------ Following package installation, in order to maintain a stable operating environment, there may be a need to hold the installed packages versions. By using the command below, you will be able to hold the currently installed versions. .. code-block:: sh sudo apt-mark hold furiosa-driver-warboy furiosa-libhal-warboy furiosa-libnux libonnxruntime In order to unhold and update the current package versions, designate the package that you wish to unhold with the command ``apt-mark unhold``. Here, you can state the name of the package, thereby unholding selectively a specific package. In order to show the properties of an already held package, use the command ``apt-mark showhold``. .. code-block:: sh sudo apt-mark unhold furiosa-driver-warboy furiosa-libhal-warboy furiosa-libnux libonnxruntime .. _InstallSpecificVersion: Installing a specific version ------------------------------ If you need to install a specific version, you may designate the version that you want and install as follows. 1. Check available versions through ``apt list``. .. code-block:: sh sudo apt list -a furiosa-libnux 2. State the package name and version as options in the command ``apt-get install`` .. code-block:: sh sudo apt-get install -y furiosa-libnux=0.9.0-?