Rocky Linux
###########

Install
=======

To install the JetStream client, use:

.. code-block:: none

    rpm -i go-jetstream-client-<version>.x86_64.rpm

The JetStream client will be installed into :file:`/usr/local/libexec/jetstream-client`, and a symlink created to :file:`/usr/local/bin/jetstream-client`. The documentation can be found in :file:`/usr/local/share/jetstream-client/docs`.

A sysctl file will be installed in :file:`/etc/sysctl.d/90-jetstream.conf`. This setting is recommended in order to improve the performance of networking on the machine and get the best performance when using JetStream.

The client can be started by running :program:`jetstream-client`.

.. note:: When using Rocky 9 or greater, the JetStream Client requires dependencies that are not pre-installed. Use the following command to install the required dependencies:

   .. code-block:: shell-session

       # sudo yum install -y epel-release
       # sudo dnf install -y libglvnd-opengl xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xcb-util-cursor


Upgrade
=======

To upgrade the JetStream client, use:

.. code-block:: none

    rpm -U go-jetstream-client-<version>.x86_64.rpm

The client can be started by running :program:`jetstream-client`.

Uninstall
=========

To uninstall the JetStream client, use:

.. code-block:: none

    rpm -e go-jetstream-client

