Red Hat OS

Red Hat Installation

Some additional steps are required prior to N2VS component installation on Red Hat systems and
other RPM-based platforms.

Some steps apply regardless of the OS version, and some are applied specifically just for Red Hat 8 or just for Red Hat 9. Apply the appropriate instructions as required.

All Red Hat Versions

Subscription Manager Refresh

Ensure the subscription manager is enabled and refreshed:

sudo subscription-manager register
sudo subscription-manager refresh
sudo subscription-manager attach --auto

N-Squared RPM Package Repository

N-Squared provides an RPM repository that is used to provide a number of dependencies that are otherwise not available through standard channels (particularly the N-Squared proprietary packages).

Access to this repository is password-protected. Please contact N-Squared if such access is required for your installation.

Once access is given, add the N-Squared repository to the repositories queried, updating the username, password, and url placeholder values to those provided by N-Squared:

sudo cat <<EOF > /etc/yum.repos.d/nsquared.repo
[nsquared]
gpgcheck=1
enabled=1
name=N-Squared Software Releases
baseurl=https://username:password@url
EOF

Add the N-Squared public key to enable package signature checking:

sudo rpm --import https://nsquared.nz/RPM-GPG-KEY-nsquaredsoftware.pub

Finally, clean all existing repositories and update the repository information:

sudo dnf clean all
sudo dnf update

Note that organisational security or operational guidelines may require this repository to be accessed through a local satellite repository, rather than directly as shown here. In such cases please consult with your IT infrastructure team.

Red Hat 8

Subscribe to the additional third-party required repositories:

sudo subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
sudo subscription-manager repos --enable rhel-8-for-x86_64-appstream-rpms
sudo subscription-manager repos --enable rhel-8-for-x86_64-baseos-rpms

Add the Red Hat EPEL repository:

sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

Clear cache and update existing packages:

sudo dnf clean all
sudo dnf update

Red Hat 9

Subscribe to the additional third-party required repositories:

sudo subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms
sudo subscription-manager repos --enable rhel-9-for-x86_64-appstream-rpms
sudo subscription-manager repos --enable rhel-9-for-x86_64-baseos-rpms

Add the Red Hat EPEL repository:

sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm

Clear cache and update existing packages:

sudo dnf clean all
sudo dnf update