2019-04-19 12:09:55 +02:00
# NEO in Linux distributions
2019-04-18 16:26:03 +02:00
## Arch Linux*
```
pacman -S intel-compute-runtime
```
2019-10-16 10:56:25 +02:00
## Centos* 7, 8, Red Hat Enterprise Linux* 7
2019-08-01 16:09:13 +02:00
```
yum install yum-plugin-copr
yum copr enable jdanecki/intel-opencl
yum install intel-opencl
```
2019-04-18 16:26:03 +02:00
## Clear Linux
```
2019-04-24 17:54:31 +02:00
swupd bundle-add computer-vision-basic
2019-04-18 16:26:03 +02:00
```
2019-09-10 19:17:39 +02:00
## Exherbo Linux*
2019-07-22 17:11:00 +02:00
```
cave resolve --execute intel-compute-runtime
```
2019-10-16 10:56:25 +02:00
## Fedora* 30, 31, rawhide, Red Hat Enterprise Linux* 8 Beta, Mageia* 7
2019-04-18 16:26:03 +02:00
```
2019-08-01 16:09:13 +02:00
dnf install dnf-plugins-core
2019-07-24 14:58:09 +02:00
dnf copr enable jdanecki/intel-opencl
dnf install intel-opencl
```
2019-08-01 16:09:13 +02:00
## Gentoo*
2019-07-24 14:58:09 +02:00
```
emerge intel-neo
2019-04-24 17:54:31 +02:00
```
2019-11-06 00:41:00 +01:00
## NixOS
```
nix-channel --add https://nixos.org/channels/nixpkgs-unstable
nix-channel --update
nix-env -i intel-compute-runtime
```
2019-10-16 10:56:25 +02:00
## OpenSUSE Leap 15.1
```
zypper addrepo -r https://copr.fedorainfracloud.org/coprs/jdanecki/intel-opencl/repo/opensuse-leap-15.1/jdanecki-intel-opencl-opensuse-leap-15.1.repo
zypper install intel-opencl
```
## OpenSUSE tumbleweed
```
zypper addrepo -r https://copr.fedorainfracloud.org/coprs/jdanecki/intel-opencl/repo/opensuse-tumbleweed/jdanecki-intel-opencl-opensuse-tumbleweed.repo
zypper install intel-opencl
```
2019-09-10 19:17:39 +02:00
## PLD Linux*
```
ipoldek install intel-gmmlib intel-graphics-compiler intel-compute-runtime
```
2019-10-31 11:00:36 +01:00
## Ubuntu* ppa for 16.04, 18.04, 19.04, 19.10
2019-04-18 16:26:03 +02:00
2019-04-24 17:54:31 +02:00
```
add-apt-repository ppa:intel-opencl/intel-opencl
apt-get update
2019-10-15 09:39:49 +02:00
apt-get install intel-opencl-icd
2019-04-18 16:26:03 +02:00
```
2019-10-31 11:00:36 +01:00
## Ubuntu* 19.04, 19.10
2019-07-25 11:33:49 +02:00
```
2019-07-24 14:58:09 +02:00
apt-get install intel-opencl-icd
2019-07-25 11:33:49 +02:00
```
2019-11-13 11:04:14 +01:00
## Packages mirror
Starting with [release 19.43.14583 ](https://github.com/intel/compute-runtime/releases/tag/19.43.14583 ) all packages are mirrored on
[SourceForge ](https://sourceforge.net/projects/intel-compute-runtime ) as older packages are automatically deleted on
[launchpad ](https://launchpad.net/~intel-opencl/+archive/ubuntu/intel-opencl ) and [copr ](https://copr.fedorainfracloud.org/coprs/jdanecki/intel-opencl ).
2019-07-30 15:07:26 +02:00
## Neo in docker containers
2019-08-02 08:52:13 +02:00
Docker images are provided in [intel-opencl ](https://hub.docker.com/r/intelopencl/intel-opencl ) repository.
2019-07-30 15:07:26 +02:00
2019-08-01 16:09:13 +02:00
Example for Fedora* 30
2019-07-30 15:07:26 +02:00
```
docker run -it --device /dev/dri:/dev/dri --rm docker.io/intelopencl/intel-opencl:fedora-30-copr clinfo
```
2019-06-07 15:12:29 +02:00
## Additional configuration
To allow Neo accessing GPU device make sure user has permissions to files in /dev/dri directory.
In first step /dev/dri/renderD* files are opened, if it fails, /dev/dri/card* files are used.
Under Ubuntu* or Centos* user must be in video group.
In Fedora* all users by default have access to /dev/dri/renderD* files,
but have to be in video group to access /dev/dri/card* files.
2019-05-24 16:46:27 +02:00
## Building and installation
2019-10-31 12:41:43 +01:00
* [Ubuntu* ](https://github.com/intel/compute-runtime/blob/master/documentation/BUILD_Ubuntu.md )
* [Centos* 8 ](https://github.com/intel/compute-runtime/blob/master/documentation/BUILD_Centos.md )
2019-11-20 14:51:07 +01:00
* Scripts to build or download rpm (copr) and deb (github and ppa) packages are available in [neo-specs ](https://github.com/JacekDanecki/neo-specs ) repository.
2019-05-24 16:46:27 +02:00
2019-04-18 16:26:03 +02:00
(*) Other names and brands may be claimed as property of others.