August 16, 2023
Ubuntu/Debian: A new & easier way to install Liquibase for Linux users
See Liquibase in Action
Accelerate database changes, reduce failures, and enforce governance across your pipelines.
We're thrilled to announce a brand new installation method for Liquibase specifically designed for Ubuntu/Debian users. Say goodbye to the manual process of downloading the archive, extracting files, and setting up the path! With the new Debian/Ubuntu installer package, installing Liquibase is a breeze.
Benefits include:
- Simplicity: No more manual extraction or path configuration steps.
- Ease of Use: A straightforward installation process that saves time and effort.
- Consistency: Leverage the power of package management, ensuring a standardized installation across systems.
- Efficiency: Seamless upgrades with a simple command.
- Community Support: Access to a vibrant Liquibase community for assistance and guidance.
Out with the old, in with the new Ubuntu/Debian installer package
It�s never been easier to bring Liquibase to Ubuntu/Debian environments thanks to the updated installation package. Just follow these simple steps:
First, open a terminal.
Next, import the Liquibase GPG key and add the repository to the apt sources list by running the following command:
wget -O- https://repo.liquibase.com/liquibase.asc | gpg --dearmor > liquibase-keyring.gpg && \cat liquibase-keyring.gpg | sudo tee /usr/share/keyrings/liquibase-keyring.gpg > /dev/null && \echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/liquibase-keyring.gpg] https://repo.liquibase.com stable main' | sudo tee /etc/apt/sources.list.d/liquibase.list
Then, update the package lists:
sudo apt-get update
And finally, install Liquibase with a simple command:
sudo apt-get install liquibase
Voila! Liquibase is now installed on your Ubuntu/Debian system, ready to help you manage your database changes effortlessly.
The old way of installing Liquibase for Ubuntu/Debian
While functional, the now-outdated way of installing Liquibase on Ubuntu/Debian involved some time-consuming steps and advanced technical know-how. You had to:
- Download the Liquibase archive (tar.gz or .zip).
- Extract the archive to a desired location.
- Add the extracted files to the system's path.
- Set up additional configurations and dependencies manually
Upgrading and uninstalling Liquibase for Ubuntu/Debian
Upgrading Liquibase to the latest version is a breeze as well. Simply run the following commands.
First, update the package lists:
sudo apt-get update
Then, upgrade Liquibase
sudo apt-get upgrade liquibase
And to uninstall, use the following command:
sudo apt-get remove liquibase
Special Thanks to Alejandro Alvarez
We would like to extend a special thanks to Alejandro Alvarez, our talented DevOps Engineer, for his contributions to developing and implementing the Debian/Ubuntu installer package for Liquibase. Alejandro's expertise and dedication have been instrumental in making the installation process smoother and more accessible for Ubuntu/Debian users.
You can connect with Alejandro on GitHub and explore his projects and contributions.
Give It a Try!
We encourage Linux users to try out the new Debian/Ubuntu installer package and experience the streamlined Liquibase installation process firsthand.