Install and update
============================

Installation on Linux
~~~~~~~~~~~~~~~~~~~~~~~~~

#. Download the RDBExpert distribution from the `official Red Database Management System website <https://rdb.red-soft.ru/product/expert/>`_. The download is available only to authorized users.
#. Set executable permissions for the downloaded file:

  .. code-block::

    sudo chmod +x rdbexpert-2026.08-installer.run

#. Run the RDBExpert installation:

  .. code-block::

    [sudo] ./rdbexpert-2026.08-installer.run [-- <options>]

    <options>::=
      --no-prompt
    | --path=</path/to/installation/directory>

  If ``sudo`` is not specified, RDBExpert can only be run by the user under whose account the installation was performed.
  If the installation is performed as a superuser, RBDExpert will be available to all users
  if you answer “Yes” to “Allow other users to run the application?”.

  The ``--no-prompt`` option sets the installation to silent mode.

  The ``--path`` option specifies the path where RDBExpert will be installed.
  The default is ``/opt/rdbexpert``.

  Example of using the options:

  .. code-block::

    ./rdbexpert-2026.08-installer.run -- --no-prompt --path=/opt/rdbexpert

#. Run RDBExpert.

Installation on RedOS 8
""""""""""""""""""""""""""

#. Add the application repository to ``/etc/yum.repos.d``, to do this, install the ``rdbexpert-release`` package:

   .. code-block:: 
    
    sudo dnf install -y rdbexpert-release

#.  Install RDBexpert:

   .. code-block:: 
    
    sudo dnf install -y rdbexpert

`More information on managing repositories in RedOS 8 <https://redos.red-soft.ru/base/redos-8_0/8_0-base-consept/8_0-sys-dnf/8_0-gen-info-dnf/8_0-dnf-repo/>`_.

Installation on Windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

#. Download the RDBExpert distribution from the `official Red Database Management System website <https://rdb.red-soft.ru/product/expert/>`_. The download is available only to authorized users.
#. Run ``rdbexpert-<version>-installer-windows.exe``. Installation is performed using the standard software installation wizard. After installation, a shortcut to the application will appear on your desktop.
#. Run RDBExpert.

Installing the portable RDBExpert
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

#. Download the RDBExpert distribution from the `official Red Database Management System website <https://rdb.red-soft.ru/product/expert/>`_. The download is available only to authorized users.
#. Extract the archive containing the portable version of RDBExpert: ``rdbexpert-<version>-portable-linux.tar.gz`` on ``Linux`` or ``rdbexpert-<version>-portable-windows.zip`` on ``Windows``.
#. Run RDBExpert.

Translated with DeepL.com (free version)

Installation Java
~~~~~~~~~~~~~~~~~~~~~~~~~~

The ``Java`` supplied with RDBExpert is used by default. 
When upgrading from older versions of RDBExpert (2025.05 and below), ``Java`` will be downloaded automatically. 

To use third-party ``Java``, you need to specify it in ``RDBExpert/config/launcher.conf``.
You must use an absolute path to the executable file, for example:

* Example for ``Windows``:

  .. code-block::
    
    app.java.path=C:\ProgramFiles\openjdk-21\bin\java.exe

* Example for ``Linux``:

  .. code-block::

    app.java.path=/usr/lib/jvm/openjdk-21/bin/java

You can run the application from the console as ``java -jar rdbexpert.jar`` command from the directory where ``rdbexpert.jar`` is located, 
You can also launch the Launcher by running the command ``./RDBExpert64``.
When starting the Launcher, you can specify JVM arguments, for example:

.. code-block::
  
  ./RDBExpert64 -Djna.debug_load=true

Also JVM arguments can be specified in ``RDBExpert/config/launcher.conf``:

.. code-block::
  
  # ---------------------
  # - JVM CONFIGURATION -
  # ---------------------
  -Djna.debug_load=true # as example


Update
~~~~~~~~~~~~~~~~

#. When a new version of the application is released, a dialog box will appear to notify you that a new version has been released, and the status bar will display the message ``Update available``.
#. Click the ``Download`` button in the dialog box or the status bar and start the update.
#. When the update is complete, restart RDBExpert.

You can also check for updates via menu item ``Help`` :math:`\to` ``Check for updates``.

Skip version
""""""""""""""

The ``Skip Version`` button keeps application at the current version and disables notifications of available update. 
In this case, there will be no update notifications until the next version is released. 
You can install the skipped version via menu item ``Help`` :math:`\to` ``Check for updates``.

You can postpone the update by clicking the ``Remind Later`` button. 
Then the dialog box informing you about the available update will open again at the next application start.