Install Liquibase with Red Hat or CentOS

Last updated: July 14, 2025

Before you begin

Install Java.

Procedure

1

Open a terminal.

2

mport 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://repo.liquibase.com/repo-liquibase-com.repo
5

Install Liquibase.

yum install liquibase

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.