New Webinar: Govern roles, shares, and data movement in Snowflake

Learn how to govern Snowflake roles, shares, and data movement without slowing delivery. Join our live webinar on controlling drift, permissions, and audit readiness.

Install Liquibase with Red Hat or CentOS

Last updated: September 2, 2025

Before you begin

Confirm that Java is installed. If you use the Liquibase Installer, Java is included automatically.

Critical change: If you are an existing Liquibase Secure user, the brew install liquibase formula may still exist from versions before Liquibase 4.33, but the command will not install Liquibase 5.x +. To access the Liquibase Secure features, you must use brew install --cask liquibase-secure to maintain enterprise functionality when upgrading to 5.x.

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.