Ubuntu 22.04+
=============

.. program:: jetstream server

.. note:: To install JetStream, you will need to either be logged in as ``root`` or be an administrative user using ``sudo``. The examples below use ``sudo``.

New Installation - Ubuntu 22.04+
-----------------------------------------------

To install JetStream, run the following:

.. code-block:: shell-session

  # sudo dpkg -i go-jetstream_<version>.deb

Your server should now be running.


Update Existing Installation
----------------------------

To update JetStream, run the following:

.. code-block:: shell-session

   # sudo dpkg -i go-jetstream_<version>.deb

If you have made modifications to system configuration files, such as :file:`/etc/jetstream-server.rsp`, you may be prompted to overwrite the file with a new version. Type "N" to keep your current configuration, and then refer to :file:`/etc/jetstream-server.rsp.dist` to see which changes were made to the default configuration.


Next Steps
----------

Try connecting to the JetStream server and doing some transfers. We recommend downloading the `Client Application <https://gojetstream.io/downloads>`_. See :doc:`/getting_started/connecting` for tips on setting up a connection.

The Client Application may prompt you to :doc:`setup a license <jetstream-client:locations/location-configure-server>`. Server configuration tasks must be done by :doc:`administrator users </security/superuser>`, which includes all users in the **sudo** group by default.


.. note::
   Many configuration tasks can be done from the :doc:`Client Application <jetstream-client:locations/location-configure-server>`, even if the Client is being run on another machine. If you can't run a Client, or wish to script the installation process, there are :doc:`alternate ways to configuration the server </setup/configuration>`.
