Files
Jungfraujoch/docs/REPOSITORIES.md
2025-10-02 15:55:39 +02:00

47 lines
2.0 KiB
Markdown

# Linux package repositories
For convenience, we are providing package repositories. With versions including and excluding CUDA linking.
We recommend to install Jungfraujoch viewer from `nocuda` repository and remaining packages from `cuda12`/`cuda13` repository.
## RHEL based systems
For RHEL systems we provide the following repositories:
| RHEL version | CUDA | Repository file |
|--------------|------|-------------------------------------------------------------------------|
| 8.x | 12.x | https://gitea.psi.ch/api/packages/mx/rpm/centos/el8/slsdet8-cuda12.repo |
| 8.x | - | https://gitea.psi.ch/api/packages/mx/rpm/centos/el8/slsdet8-nocuda.repo |
| 9.x | 13.x | https://gitea.psi.ch/api/packages/mx/rpm/centos/el8/slsdet9-cuda13.repo |
| 9.x | - | https://gitea.psi.ch/api/packages/mx/rpm/centos/el8/slsdet9-nocuda.repo |
To install the repository, run:
```bash
dnf config-manager --add-repo https://gitea.psi.ch/api/packages/mx/rpm/centos/el8/slsdet8-cuda12.repo
```
Currently signing of RPMs is not supported, so the repository file needs to be manually modified to set `gpgcheck=0`
or installation must run with `--nogpgcheck`.
We provide the following packages in the repository:
* jfjoch
* jfjoch-driver
* jfjoch-writer
* jfjoch-viewer
## Ubuntu based systems
For Ubuntu systems, we also provide the following repositories:
```
sudo curl https://gitea.psi.ch/api/packages/mx/debian/repository.key -o /etc/apt/keyrings/gitea-mx.asc
echo "deb [signed-by=/etc/apt/keyrings/gitea-mx.asc] https://gitea.psi.ch/api/packages/mx/debian $distribution $component" | sudo tee -a /etc/apt/sources.list.d/gitea.list
sudo apt update
```
`$distribution` uses Ubuntu names `jammy` (22.04) and `noble` (24.04). `$component` can be set to `cuda13` and `nocuda`.
We provide the following packages in the repository:
* jfjoch-jfjoch
* jfjoch-driver
* jfjoch-writer
* jfjoch-viewer
Ubuntu packages are currently only going through a very limited testing.