.. _RequiredPackages: ************************************************************ Driver, Firmware, and Runtime Installation ************************************************************ Here, we explain how to install the packages necessary to use the various SW components provided by FuriosaAI. The required packages are composed of kernel drivers, firmware, and runtime library, and they can be easily installed via the APT package manager. .. note:: You will be able to login `FuriosaAI IAM `_ and create a new API key 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. 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 wget 2. Register the FuriosaAI public Signing key. .. code-block:: sh mkdir -p /etc/apt/keyrings && \ wget -q -O- https://archive.furiosa.ai/furiosa-apt-key.gpg \ | gpg --dearmor \ | sudo tee /etc/apt/keyrings/furiosa-apt-key.gpg > /dev/null 3. Generate a new API key from `FuriosaAI IAM `_, 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 follows: .. 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.1-? .. _UpgradeFirmware: NPU Firmware Update =====================================================================