Ubuntu
######

Install/Upgrade
===============

To install the JetStream client, use:

.. code-block:: none

    dpkg -i go-jetstream-client_<version>.deb

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 Ubuntu 22.04 LTS 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 apt install -f
       # sudo apt-get install libxcb-cursor0


Uninstall
=========

To uninstall the JetStream client, use:

.. code-block:: none

    dpkg -P go-jetstream-client

