# [intel.com](https://intel.com) Documentation # Ubuntu\* 20.04 (focal) To install the latest general purpose GPU (GPGPU) software packages on Ubuntu 20.04 (focal), add the Intel(R) software package repository and install the appropriate packages. ## Add package repository To install the **repositories.intel.com/graphics** package repository, add the following to your Ubuntu installation. Prior to copy/pasting to your console, you may want to run `sudo ls` and enter your password to prevent the commands from being swallowed by the sudo password prompt: ```bash sudo apt-get install -y gpg-agent wget wget -qO - https://repositories.intel.com/graphics/intel-graphics.key | sudo apt-key add - sudo apt-add-repository \ 'deb [arch=amd64] https://repositories.intel.com/graphics/ubuntu focal main' ``` The above will make sure your system has gpg-agent and wget installed. It will then download and install the public key used to verify the integrity of the package repository. Finally, it adds the **repositories.intel.com/graphics** repository to the system. ## Install run-time packages After adding the repository, you can install the GPU software packages by running the following: ```bash sudo apt-get update sudo apt-get install \ intel-opencl-icd \ intel-level-zero-gpu level-zero \ intel-media-va-driver-non-free libmfx1 ``` ### OPTIONAL: Install developer packages If you will be doing development, you may want to install optional development packages. oneAPI users will need to install these packages for some of the oneAPI tools to function correctly: ```bash sudo apt-get install \ libigc-dev \ intel-igc-cm \ libigdfcl-dev \ libigfxcmrt-dev \ level-zero-dev ``` ## Configuring permissions In order to access GPU capabilities, a user needs to have the correct permissions on system. The following will list the group assigned ownership of the render nodes, and list the groups the active user is a member of: ```bash stat -c "%G" /dev/dri/render* groups ${USER} ``` If a group is listed for the render node which isn't listed for the user, you will need to add the user to the group using gpasswd. In the following, the active user will be added to the 'render' group and a new shell spawned with that group active: ```bash sudo gpasswd -a ${USER} render newgrp render ``` # GPGPU Documents * [Installation guides](../index.html) <-- * * [Red Hat](../redhat/index.html) * * * [Red Hat 8.2](../redhat/redhat-8.2.html) * * * [Red Hat 8.1](../redhat/redhat-8.1.html) * * [SUSE](../suse/index.html) * * * [SUSE 15 SP2](../suse/suse-15sp2.html) * * * [SUSE 15 SP1](../suse/suse-15sp1.html) * * [Ubuntu](index.html) <-- * * * [Ubuntu 20.04 (focal)](ubuntu-focal.html) <-- * * * [Ubuntu 18.04 (bionic)](ubuntu-bionic.html) * * [Windows](../windows.html) * [Driver releases](../../releases/index.html) * * [20210216](../../releases/releases-20210216.html) * * [20210202](../../releases/releases-20210202.html) * * [20210119](../../releases/releases-20210119.html) * * [20210105](../../releases/releases-20210105.html) * * [20201222](../../releases/releases-20201222.html) * * [20201209](../../releases/releases-20201209.html) * * [20201124](../../releases/releases-20201124.html) * * [20201117](../../releases/releases-20201117.html) * * [20201027](../../releases/releases-20201027.html) * * [20201013](../../releases/releases-20201013.html) * * [20200923](../../releases/releases-20200923.0.html) * * [20200909](../../releases/releases-20200909.0.html) * * [20200903](../../releases/releases-20200903.0.html) * * [20200811](../../releases/releases-20200811.0.html) * * [20200723](../../releases/releases-20200723.0.html) * [Devices](../../devices/index.html) * * [Intel Iris Xe MAX graphics](../../devices/iris-xe-max-graphics/index.html) * * * [Guides](../../devices/iris-xe-max-graphics/guides/index.html) * * * * [Blender](../../devices/iris-xe-max-graphics/guides/blender.html) * * * * [Media](../../devices/iris-xe-max-graphics/guides/media.html) * * [Full device table](../../devices/hardware-table.html) * [Technologies](../../technologies/index.html) * * [Level Zero](../../technologies/level-zero.html) * * [Media](../../technologies/media/index.html) * * [Open CL](../../technologies/opencl.html) [text](ubuntu-focal.txt) Copyright 2020-2021 by Intel Corporation. All rights reserved.