Version 3.8

Prerequisite

Before installing Ocean core packages, you need to install a RPM based distribution.

To directly use Ocean repositories, be sure to install Almalinux 8.8 following the instruction here :

Warning

This version has been build against Almalinux 8.8 and we strongly recommand you to use an RHEL 8.8 EUS version if you want to use this distribution in production.

The following distro repositories are mandatory:
  • BaseOS

  • AppStream

  • Extras

  • High Availability

How to install Ocean repositories

Following instruction will install Ocean repositories on your system.

Define Ocean version

export VERSION=3.8-1.x86_64

Download and install ocean-repos

rpm -ivh https://ocean.eupex.eu/install/ocean-repos-${VERSION}.rpm

Download and install mandatory repositories

rpm -ivh https://yum.puppetlabs.com/puppet/puppet-release-el-8.noarch.rpm
rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

Import Ocean GPG key (optional)

To avoid import prompt on first Ocean package installation, you have to import manually Ocean GPG key.

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-Ocean

Verify Ocean installation repositories

After these two steps, you should have Ocean repositories installed on your system with its GPG key imported.

  • Check GPG keys import

rpm -qai gpg-pubkey* | grep Ocean
 Packager    : Ocean Project <ocean@xxx.xxx.xx>
 Summary     : gpg(Ocean Project <ocean@xxx.xxx.xx>)
  • Check repositories

dnf repolist
  repo id                repo name
  ...
  mofed                  Mofed
  ocean-core             Ocean-core
  ...

Install Ocean core release

dnf install ocean-release

(Optional) Enable provided repository snapshots

dnf install -y yum-utils
for repo in alma-debuginfo-ocean influx
do
    yum-config-manager --set-enable ${repo}
done

Congratulation, following all these steps, you successfully setup Ocean Core repositories.

Testing installation in container

Here is a straight-forward example of how to install the Ocean repository in a Almalinux 8.8 container:

$ docker run -it --rm almalinux:8.8 bash
[root@2bc96f07df1b /]# export VERSION=3.8-1.x86_64
[root@2bc96f07df1b /]# rpm -i https://ocean.eupex.eu/install/ocean-repos-${VERSION}.rpm
[root@2bc96f07df1b /]# rpm -i https://yum.puppetlabs.com/puppet/puppet-release-el-8.noarch.rpm
[root@2bc96f07df1b /]# rpm -i https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
[root@2bc96f07df1b /]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-Ocean
[root@2bc96f07df1b /]# dnf repolist
repo id                                                               repo name
appstream                                                             AlmaLinux 8 - AppStream
baseos                                                                AlmaLinux 8 - BaseOS
epel                                                                  Extra Packages for Enterprise Linux 8 - x86_64
extras                                                                AlmaLinux 8 - Extras
mofed                                                                 Mellanox Technologies mlnx_ofed 5.4-1.0.3.0 GA
ocean-core                                                            Ocean-core
ocean-updates                                                         Ocean-updates
puppet                                                                Puppet Repository el 8 - x86_64
[root@2bc96f07df1b /]# echo 8.8 >/etc/dnf/vars/releasever
[root@2bc96f07df1b /]# dnf install ocean-release
Ocean-core                                                           1.5 MB/s | 730 kB     00:00
Ocean-updates                                                        719 kB/s | 126 kB     00:00
Mellanox Technologies mlnx_ofed 5.4-1.0.3.0 GA                       143 kB/s | 142 kB     00:00
AlmaLinux 8.8 - BaseOS                                               1.7 MB/s | 5.1 MB     00:02
AlmaLinux 8.8 - AppStream                                            2.8 MB/s |  12 MB     00:04
AlmaLinux 8.8 - Extras                                                34 kB/s |  20 kB     00:00
Extra Packages for Enterprise Linux 8 - x86_64                       2.3 MB/s |  16 MB     00:06
Puppet Repository el 8 - x86_64                                      2.5 MB/s |  19 MB     00:07
Dependencies resolved.
====================================================================================================================
 Package                               Architecture            Version             Repository                  Size
====================================================================================================================
Installing:
 ocean-release                         x86_64                  3.8-1.el8           ocean-core                 6.9 k

Transaction Summary
====================================================================================================================
Install  1 Package

Total download size: 6.9 k
Installed size: 18
Is this ok [y/N]: y
Downloading Packages:
ocean-release-3.8-1.el8.x86_64.rpm                                                  113 kB/s | 6.9 kB     00:00
--------------------------------------------------------------------------------------------------------------------
Total                                                                               108 kB/s | 6.9 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                               1/1
  Installing       : ocean-release-3.8-1.el8.x86_64                                1/1
  Verifying        : ocean-release-3.8-1.el8.x86_64                                1/1

Installed:
  ocean-release-3.8-1.el8.x86_64

Complete!