Download Page
Supported platforms
Standard Linux Distributions on x86_64:
- The product is compatible with most modern and stable distributions, including the latest LTS and stable releases of Ubuntu, Debian, RHEL/CentOS, Fedora and openSUSE.
Specialized Russian operating systems:
- The product is supported by specialized operating systems certified by the FSTEC of Russia (such as Astra Linux, RED OS, Alt, ROSA, etc.).
Note
If our repository does not have a ready-made package for your distribution, we will provide an assembly for your platform upon request.
Binary packages
Binary packages for supported platforms can be obtained from the repository QHB:
- QHB for CentOS 7 and 8
- QHB for РЕД ОС 7 and 8
- QHB for ROSA CHROME 12.6
- QHB for Альт 8 СП
- QHB for Альт Сервер 9
- QHB for Fedora 36, 37, 38, 39, 40, 41, and 42
- QHB for Debian 10, 12
- QHB for Astra Linux Special Edition 1.7 and 1.8
- QHB for Ubuntu 18.04, 22.04, and 24.04
- QHB for openSUSE Leap 15.4
- QHB for MosOS 15.5
- QHB As a Docker Container
- Updating Already Installed Packages
QHB for CentOS 7 and 8
Note
Note that the commands must be executed by a user with superuser privileges.
Install the config-manager utility to manage repository configuration:
dnf install dnf-plugin-config-manager
Install the software product DBMS «Quantum Hybrid Base» repository using the command:
rpm --import https://repo.quantom.info/qhb/keys/RPM-GPG-KEY-qhb
Install the additional epel-release repository:
yum -y install epel-release
and then execute for CentOS 7:
dnf config-manager --add-repo https://repo.quantom.info/qhb/std-1/centos/7/x86_64/qhb.repo
To install qhb-patroni and postgis you need to add the postgresql repository:
yum -y -q install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
For CentOS 8, execute:
dnf config-manager --add-repo https://repo.quantom.info/qhb/std-1/centos/8/x86_64/qhb.repo
Note
This OS may have problems installing DBMS «Quantum Hybrid Base» and its extensions due to lack of available repositories. Support for this OS may be removed in a future release.
To install qhb-patroni and postgis you need to add the postgresql repository:
yum -y -q install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
For CentOS 8, if you need to install the postgis extension, additional repositories are required:
dnf config-manager --add-repo https://repo.quantom.info/qhb/additional-package/centos/8/qhb-add.repo
dnf config-manager --set-enabled powertools
Install binary packages using the command:
dnf install qhb-core qhb-contrib qcp qdl qdlm qbackup metricsd qhb-serial qluster qman qman-backend
Not all packages can be installed, but the minimum is to install the QHB kernel, for example:
dnf install qhb-core
Installing the QHB core package will create the user qhb. The QHB core will install itself into the /usr/local/qhb directory by default. Many QHB utilities are installed into the /usr/local/qhb/bin directory. Specifying this directory in the $PATH environment variable will make it easier to run them.
QHB for РЕД ОС 7 and 8
Note
Note that commands must be executed by a user with superuser privileges.
Install the config-manager utility to manage repository configuration:
dnf install dnf-plugin-config-manager
Install the software product DBMS «Quantum Hybrid Base» repository with the command:
rpm --import https://repo.quantom.info/qhb/keys/RPM-GPG-KEY-qhb
and then execute for РЕД ОС 7:
dnf config-manager --add-repo https://repo.quantom.info/qhb/std-1/redos7/x86_64/qhb.repo
for РЕД ОС 8:
dnf config-manager --add-repo https://repo.quantom.info/qhb/std-1/redos8/x86_64/qhb.repo
Install binary packages using the command:
dnf install qhb-core qhb-contrib qcp qdl qdlm qbackup metricsd qhb-serial qluster qman qman-backend
Not all packages can be installed, but the minimum is to install the QHB kernel, for example:
dnf install qhb-core
Installing the QHB core package will create the user qhb. The QHB core will install itself into the /usr/local/qhb directory by default. Many QHB utilities are installed into the /usr/local/qhb/bin directory. Specifying this directory in the $PATH environment variable will make it easier to run them.
QHB for ROSA CHROME 12.6
Note
Note that commands must be executed by a user with superuser privileges.
Install the config-manager utility to manage repository configuration:
dnf install dnf-plugin-config-manager
Install the software product DBMS «Quantum Hybrid Base» repository with the command:
rpm --import https://repo.quantom.info/qhb/keys/RPM-GPG-KEY-qhb
and then:
dnf config-manager --add-repo https://repo.quantom.info/qhb/std-1/rosa/x86_64/qhb.repo
Install binary packages using the command:
dnf install qhb-core qhb-contrib qcp qdl qdlm qbackup metricsd qhb-serial qluster qman qman-backend
Not all packages can be installed, but the minimum is to install the QHB kernel, for example:
dnf install qhb-core
Installing the QHB core package will create the user qhb. The QHB core will install itself into the /usr/local/qhb directory by default. Many QHB utilities are installed into the /usr/local/qhb/bin directory. Specifying this directory in the $PATH environment variable will make it easier to run them.
QHB for Альт 8 СП
Note
Note that commands must be executed by a user with superuser privileges.
Note
The QHB DBMS supports Viola OS 8 SP only with core version 5.10.
Installation requires additional libraries libicu and libgostcrypto. You may also need to install or update the glibc library to version 2.34 or higher; check your library version in advance.
Download the library (version 60.3-2 is suitable) to any local folder:
wget -c http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/libicu-60.3-2.el8_1.x86_64.rpm
Download the libgostcrypto library:
wget -c -r -l1 -A '*.rpm' -nd -np https://repo.quantom.info/qhb/std-1/centos/8/x86_64/libgostcrypto.0.6-0.6.1-1.x86_64.rpm
WARNING!
QHB DBMS for OS Viola 8 SP is supplied on disks. To receive it please contact us at qhb.support@quantom.info.
Copy all binary packages from the disk to a local folder and install using the command, for example:
apt-get install *.rpm
You can install not all QHB packages, but only those you need. In this case, you can list the rpm packages you need in the command, separated by a space. Select the latest versions from the rpm packages that have been downloaded.
The libicu library and the qhb-core package are required.
Installing the QHB core package will create the user qhb. The QHB core will install itself into the /usr/local/qhb directory by default. Many QHB utilities are installed into the /usr/local/qhb/bin directory. Specifying this directory in the $PATH environment variable will make it easier to run them.
QHB for Альт Сервер 9
Note
Note that for DBMS «Quantum Hybrid Base» version 1.5.1 and above on the server under OS Alt Server 9 control, the GLIBC library version not older than 2.28 must be installed.
Note
Note that commands must be executed by a user with superuser privileges.
Installation requires additional library libicu. It's also possible you will need to install or update the glibc library.
Download the library (version 60.3-2 is suitable) to any local folder:
wget -c http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/libicu-60.3-2.el8_1.x86_64.rpm
Download DBMS «Quantum Hybrid Base» software product packages from repository to the same local folder using the command:
wget -c -r -l1 -A '*.rpm' -nd -np https://repo.quantom.info/qhb/std-1/centos/8/x86_64/
Update package descriptions:
apt-get update
While in the same local folder, install the binary packages using the command, for example:
apt-get install *.rpm
You can install not all QHB packages, but only those you need. In this case, you can list the rpm packages you need in the command, separated by a space. Select the latest versions from the rpm packages that have been downloaded.
The libicu library and the qhb-core package are required.
Installing the QHB core package will create the user qhb. The QHB core will install itself into the /usr/local/qhb directory by default. Many QHB utilities are installed into the /usr/local/qhb/bin directory. Specifying this directory in the $PATH environment variable will make it easier to run them.
QHB for Fedora 36, 37, 38, 39, 40, 41, and 42
Note
Note that the commands must be executed by a user with superuser privileges.
Install the config-manager utility to manage repository configuration:
dnf install dnf-plugin-config-manager
Install the software product DBMS «Quantum Hybrid Base» repository with the command:
rpm --import https://repo.quantom.info/qhb/keys/RPM-GPG-KEY-qhb
- and then, for Fedora 36
Note
For this OS there may be problems with installing DBMS «Quantum Hybrid Base» and its extensions due to lack of available repositories. Support for this OS may be removed in the next release.
dnf config-manager --add-repo https://repo.quantom.info/qhb/std-1/fedora/36/x86_64/qhb.repo
- for Fedora 37
Note
For this OS there may be problems with installing DBMS «Quantum Hybrid Base» and its extensions due to lack of available repositories. Support for this OS may be removed in the next release.
dnf config-manager --add-repo https://repo.quantom.info/qhb/std-1/fedora/37/x86_64/qhb.repo
- for Fedora 38
Note
For this OS there may be problems with installing DBMS «Quantum Hybrid Base» and its extensions due to lack of available repositories. Support for this OS may be removed in the next release.
dnf config-manager --add-repo https://repo.quantom.info/qhb/std-1/fedora/38/x86_64/qhb.repo
- for Fedora 39
Note
For this OS there may be problems with installing DBMS «Quantum Hybrid Base» and its extensions due to lack of available repositories. Support for this OS may be removed in the next release.
dnf config-manager --add-repo https://repo.quantom.info/qhb/std-1/fedora/39/x86_64/qhb.repo
- for Fedora 40
Note
For this OS there may be problems with installing DBMS «Quantum Hybrid Base» and its extensions due to lack of available repositories. Support for this OS may be removed in the next release.
dnf config-manager --add-repo https://repo.quantom.info/qhb/std-1/fedora/40/x86_64/qhb.repo
- for Fedora 41
Note
For this OS there may be problems with installing DBMS «Quantum Hybrid Base» and its extensions due to lack of available repositories. Support for this OS may be removed in the next release.
dnf config-manager --add-repo https://repo.quantom.info/qhb/std-1/fedora/41/x86_64/qhb.repo
- or for Fedora 42
Note
For this OS there may be problems with installing DBMS «Quantum Hybrid Base» and its extensions due to lack of available repositories. Support for this OS may be removed in the next release.
dnf config-manager --add-repo https://repo.quantom.info/qhb/std-1/fedora/42/x86_64/qhb.repo
Install binary packages using the command:
dnf install qhb-core qhb-contrib qcp qdl qdlm qbackup metricsd qhb-serial qluster qman qman-backend
Not all packages can be installed, but the minimum is to install the QHB kernel, for example:
dnf install qhb-core
Installing the QHB core package will create the user qhb. The QHB core will install itself into the /usr/local/qhb directory by default. Many QHB utilities are installed into the /usr/local/qhb/bin directory. Specifying this directory in the $PATH environment variable will make it easier to run them.
QHB for Debian 10, 12
Note
Note that the commands must be executed by a user with superuser privileges.
To connect to the repository execute the following command:
apt install gnupg2 apt-transport-https wget
For correct operation of the DBMS «Quantum Hybrid Base» repository entry must be added to the repository configuration file /etc/apt/sources.list:
- for Debian 10
Note
For this OS there may be problems with installing DBMS «Quantum Hybrid Base» and its extensions due to lack of available repositories. Support for this OS may be removed in the next release.
deb [arch=amd64] https://repo.quantom.info/qhb/std-1/debian/10 stretch main
- for Debian 12
deb [arch=amd64] https://repo.quantom.info/qhb/std-1/debian/12 stretch main
Install the software product DBMS «Quantum Hybrid Base» repository using the command:
wget -qO - https://repo.quantom.info/qhb/keys/RPM-GPG-KEY-qhb --no-check-certificate | apt-key add -
Then execute the commands:
- for Debian 10
echo 'deb [arch=amd64] https://repo.quantom.info/qhb/std-1/debian/10 stretch main' >> /etc/apt/sources.list
and
apt update
Install binary packages using the command:
apt install qhb-core qhb-contrib qcp qdl qdlm qbackup metricsd qhb-serial qluster qman qman-backend
Not all packages can be installed, but the minimum is to install the QHB kernel, for example:
apt install qhb-core
Installing the QHB core package will create the user qhb. The QHB core will install itself into the /usr/local/qhb directory by default. Many QHB utilities are installed into the /usr/local/qhb/bin directory. Specifying this directory in the $PATH environment variable will make it easier to run them.
QHB for Astra Linux Special Edition 1.7 and 1.8
Note
Note that the commands must be executed by a user with superuser privileges.
To connect to the repository execute the following command:
apt install gnupg2 apt-transport-https wget
For correct operation of the DBMS «Quantum Hybrid Base» repository entry must be added to the repository configuration file /etc/apt/sources.list:
- for Astra Linux Special Edition «Смоленск» 1.7
deb [arch=amd64] https://repo.quantom.info/qhb/std-1/astra-smolensk/1.7/ stretch main
- for Astra Linux Special Edition «Смоленск» 1.8
deb [arch=amd64] https://repo.quantom.info/qhb/std-1/astra-smolensk/1.8/ stretch main
Note
Note that to exclude revoked security certificates from OS Astra Linux you should perform cleaning according to instruction for stopping the use of unwanted certificate.
Astra requires installation of root certificates. Install them using the command:
apt-get install ca-certificates
Install the software product DBMS «Quantum Hybrid Base» repository using the command:
wget -qO - https://repo.quantom.info/qhb/keys/RPM-GPG-KEY-qhb --no-check-certificate | apt-key add -
Then execute the commands:
- for Astra Linux Special Edition «Смоленск» 1.7
echo 'deb [arch=amd64] https://repo.quantom.info/qhb/std-1/astra-smolensk/1.7/ stretch main' >> /etc/apt/sources.list
- for Astra Linux Special Edition «Смоленск» 1.8
ln -s /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/trusted.gpg
echo 'deb [arch=amd64] https://repo.quantom.info/qhb/std-1/astra-smolensk/1.8/ stretch main' >> /etc/apt/sources.list.d/qhb.list
and
apt update
Note
If theapt updatecommand of the QHB repository for Astra 1.7 arises the error:
Ошб:6 https://repo.quantom.info/qhb/std-1/debian stretch InRelease Следующие
подписи не могут быть проверены, так как недоступен открытый ключ:
NO_PUBKEY 67A97AD5112F6828
-- Ошб:6 https://repo.quantom.info/qhb/std-1/debian stretch InRelease The following
-- signatures cannot be verified because the public key is not available:
-- NO_PUBKEY 67A97AD5112F6828
you need to execute the command to import the QHB repository key for Astra 1.7:
apt-key adv --keyserver https://repo.quantom.info/qhb/keys/RPM-GPG-KEY-qhb --recv-keys 67A97AD5112F6828
Install binary packages using the command:
apt install qhb-core qhb-contrib qcp qdl qdlm qbackup metricsd qhb-serial qluster qman qman-backend
Not all packages can be installed, but the minimum is to install the QHB kernel, for example:
apt install qhb-core
Installing the QHB core package will create the user qhb. The QHB core will install itself into the /usr/local/qhb directory by default. Many QHB utilities are installed into the /usr/local/qhb/bin directory. Specifying this directory in the $PATH environment variable will make it easier to run them.
QHB for Ubuntu 18.04, 22.04, and 24.04
Note
Note that the commands must be executed by a user with superuser privileges.
To connect to the repository execute the following command:
apt install gnupg2 apt-transport-https wget
For correct operation of the DBMS «Quantum Hybrid Base» repository entry must be added to the repository configuration file /etc/apt/sources.list:
- for Ubuntu 18.04
Note
For this OS there may be problems with installing DBMS «Quantum Hybrid Base» and its extensions due to lack of available repositories. Support for this OS may be removed in the next release.
echo 'deb https://repo.quantom.info/qhb/std-1/ubuntu/18 stretch main' >> /etc/apt/sources.list
- for Ubuntu 22.04
echo 'deb https://repo.quantom.info/qhb/std-1/ubuntu/22 stretch main' >> /etc/apt/sources.list
- or for Ubuntu 24.04
echo 'deb https://repo.quantom.info/qhb/std-1/ubuntu/24 stretch main' >> /etc/apt/sources.list
Install the software product DBMS «Quantum Hybrid Base» repository using the command:
wget -qO - https://repo.quantom.info/qhb/keys/RPM-GPG-KEY-qhb --no-check-certificate | apt-key add -
Then execute:
apt update
Install binary packages using the command:
apt install qhb-core qhb-contrib qcp qdl qdlm qbackup metricsd qhb-serial qluster qman qman-backend
Not all packages can be installed, but the minimum is to install the QHB kernel, for example:
apt install qhb-core
Installing the QHB core package will create the user qhb. The QHB core will install itself into the /usr/local/qhb directory by default. Many QHB utilities are installed into the /usr/local/qhb/bin directory. Specifying this directory in the $PATH environment variable will make it easier to run them.
QHB for openSUSE Leap 15.4
Note
Note that the commands must be executed by a user with superuser privileges.
Install the software product DBMS «Quantum Hybrid Base» repository using the command:
rpm --import https://repo.quantom.info/qhb/keys/RPM-GPG-KEY-qhb
zypper ar 'http://download.opensuse.org/distribution/leap/15.4/repo/oss/' openSuseMain
zypper --gpg-auto-import-keys addrepo -f https://repo.quantom.info/qhb/std-1/opensuse/15.4/x86_64 QHB-Repo
To install the Patroni and PostGIS extensions, additional repositories are required:
zypper ar https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-15-pg11.repo
zypper ar https://ftp.lysator.liu.se/pub/opensuse/repositories/science/openSUSE_Leap_15.3/ science15.3-x86_64
zypper ar https://ftp.lysator.liu.se/pub/opensuse/repositories/science/15.4/ science15.4-x86_64
zypper --releasever 15.5 --no-gpg-checks ref
You should install the qhb-patroni package (and only it) using the command with the following flag:
zypper --releasever 15.5 -n install qhb-patroni
and then:
zypper refresh
Install binary packages using the command:
zypper install qhb-core qhb-contrib qcp qdl qdlm qbackup metricsd qhb-serial qluster qman qman-backend
Not all packages can be installed, but the minimum is to install the QHB kernel, for example:
zypper install qhb-core
Installing the QHB core package will create the user qhb. The QHB core will install itself into the /usr/local/qhb directory by default. Many QHB utilities are installed into the /usr/local/qhb/bin directory. Specifying this directory in the $PATH environment variable will make it easier to run them.
QHB for MosOS 15.5
Note
Note that commands must be executed by a user with superuser privileges.
Install the software product DBMS «Quantum Hybrid Base» repository using the command:
rpm --import https://repo.quantom.info/qhb/keys/RPM-GPG-KEY-qhb
zypper --gpg-auto-import-keys addrepo -f https://repo.quantom.info/qhb/std-1/mosos/15.5/x86_64 QHB
and then:
zypper refresh
Install binary packages using the command:
zypper install -y qhb-core qhb-contrib qcp qdl qdlm qbackup metricsd qhb-serial qluster qman qman-backend
Not all packages can be installed, but the minimum is to install the QHB kernel, for example:
zypper install -y qhb-core
Installing the QHB core package will create the user qhb. The QHB core will install itself into the /usr/local/qhb directory by default. Many QHB utilities are installed into the /usr/local/qhb/bin directory. Specifying this directory in the $PATH environment variable will make it easier to run them.
QHB As a Docker Container
Configuration offered: DBMS «Quantum Hybrid Base» server with extensions and connection pool QCP.
Getting Dockerfile and Configurations
Create a local directory and deploy docker scripts from the DBMS «Quantum Hybrid Base» repository there:
wget https://repo.quantom.info/qhb/std-1/docker/qhb-docker-image.tar.gz -O - | tar -xz
Creating Images
WARNING!
It requires docker-compose. Here and further below you should executedocker-composeas a regular user (not root). For this, you may need to follow recommendations for setting up docker.
Normally, there is no need to create the image manually as it is automatically created at first run. However, this can also be done explicitly:
docker-compose build
Note
If you have problems building the image due to unavailability centos repository, you need to check the network permissions. Sometimes, before building, simply executing the following commands helps:sudo firewall-cmd --zone=public --add-masquerade --permanent sudo firewall-cmd --reload
Starting a Container
To start DBMS «Quantum Hybrid Base» and QCP containers with default settings, execute in the current directory:
docker-compose up
You can interrupt execution using Ctrl+C or by executing from another console in the current directory:
docker-compose down
To start containers in daemon mode, execute:
docker-compose up -d
On first run, the database will be automatically initialized.
You can view log entries using the command:
docker-compose logs
By default, the database is saved on disk in the qhb/pgdata directory.
Stopping Containers
If containers were started using docker-compose up, then to stop just press
Ctrl+C. If the containers were started in “daemon” mode, i.e. using
docker-compose up -d, then to stop them execute (from any console)
docker-compose down in the current directory. This command can also be executed
even when containers are stopped.
Setting up QCP
By default, the QCP service is disabled. To start it you need remove (comment out) in the file docker-compose.yaml entry
entrypoint: ["echo", "Service qcp disabled"]
from the services: -> qcp: section, and also configure the service, in particular the connection parameters for the server.
Configuring QCP is done by editing the ./qcp/config.yaml file.
Be sure to replace in the servers section:
- %USER% — to the username under which
docker-composeis run - %DATABASE% — to the database name; in the simplest case, the database is created with the name matching the username.
In the future, if you create another database, this option may be will need to be changed. By default, the QCP service runs on port 8080, if necessary, override this setting. Please note that the settings only apply at start.
Edit the docker-compose.yaml file as follows:
In the services: -> qhb: -> volumes: section, replace
- ./qhb/pgdata:/qhb-data/
to
- /путь/до/pgdata:/qhb-data/
where /path/to/pgdata is the absolute path to the database directory from the existing database.
In the services: -> qhb: -> environment: section, replace - USER with - USER=USERNAME.
Start the container using the command
docker-compose -e USER="USERNAME" up
where USERNAME is the name of the user who owns the directory /path/to/pgdata.
Example of an edited docker-compose.yaml file:
version: "3.3"
services:
qhb:
build: qhb
image: qhb
network_mode: "host"
environment:
- USER=qhb
volumes:
- ./qhb/pgdata:/qhb-data/
qcp:
build: qcp
image: qcp
network_mode: "host"
entrypoint: ["echo", "Service qcp disabled"] # Comment out this string if you use QCP
- ./qcp/config.yaml:/config.yaml:ro
Updating Already Installed Packages
CAUTION!
It should be noted that when updating the QHB version you need to take care of migrating existing databases, since changing versions may also change the format of the database files. See Section Installation with Updating. See Chapter Release Notes for information about the database file format change in the new QHB version.
If QHB is already installed, you can install its updates from using package managers available in your operating system distributions.
Note
In any case, it is recommended to make a backup of the DBMS binaries before update procedure starts and save the backup before it completes.
Normally, to accomplish this you just need to execute the command:
(using Fedora as an example)
Note
Note that commands must be executed by a user with superuser privileges.
dnf update
In this case, all packages will be updated.
Or you can specify specific packages:
dnf update qhb-core qhb-contrib qcp qdl qdlm qbackup metricsd qhb-serial qhb-license-bin
Sometimes it is useful to update the package information to update the metadata:
dnf clean all