Install Liquibase on Linux with Debian or Ubuntu
Last updated: November 18, 2025
Before you begin
Install Java.
Procedure
1
Open a terminal.
2
Run the following command to import the Liquibase GPG key and add the Liquibase repository to the apt sources list.
loading
Note: It is important to note that you must have root permissions for this to work.
3
Update the package lists.
sudo apt-get update4
Install Liquibase.
loading
5
Ensure that Liquibase is updated to the desired version.
liquibase --version
Liquibase is now installed on your system.
Note: To install a specific version of Liquibase using the Debian/Ubuntu installer package, use the package manager’s version pinning mechanism:
sudo apt-get install liquibase=x.y.z
Replace x.y.z with the version you want to install. This command will install that specific version of Liquibase on your system.