Filler Title

Filler Title

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum euismod, nunc nec varius cursus, orci arcu bibendum massa, eget ullamcorper lorem erat eu sapien. Suspendisse potenti. Quisque commodo turpis et mauris pretium, in facilisis tortor porttitor.

Procedure

1

Open a terminal.

2

Import the Liquibase public key (as root).

rpm --import https://repo.liquibase.com/liquibase.asc
3

Install yum-config-manager.

yum install -y yum-utils
4

Add the remote repo to yum (as root).

yum-config-manager --add-repo https://package.liquibase.com/repo-liquibase-com.repo
5

Install Liquibase.

yum install liquibase-secure

Liquibase is now installed on your system.

Note: To install a specific version of Liquibase using the Red Hat/CentOS package manager, specify the version number like this:

yum install liquibase-x.y.z

Replace x.y.z with the version you want to install. This will install that specific version on your system.

6

Apply your Liquibase Secure license key.

Using a Secrets Management tool like Hashicorp Vault or AWS Secrets Manager is best to keep Liquibase license keys secure.

There are several ways to apply the Liquibase Secure license key:

Include the Liquibase Secure license key in the Liquibase properties file and save it.

For example:

liquibase.licenseKey: aei76ou32thp785463214

7

Alternative to YUM/DNF - Direct RPM download

If you prefer not to configure a YUM repository, you can download the RPM package directly from Liquibase and install it manually.

OSS Package

# Replace 5.0.0 with the version you wantcurl -LO https://package.liquibase.com/downloads/oss/rpm/liquibase-5.0.0.rpmsudo rpm -ivh liquibase-5.0.0.rpm

Secure Package

# Replace 5.0.0 with the version you wantcurl -LO https://package.liquibase.com/downloads/secure/rpm/liquibase-secure-5.0.0.rpmsudo rpm -ivh liquibase-secure-5.0.0.rpm

Notes

  • curl -LO saves the file with the correct filename.

  • Use rpm -Uvh instead of -ivh if you are upgrading an existing installation.

  • Direct RPM download is useful for air-gapped installs or if you don’t want to set up the YUM repo.