Once you have downloaded the Liquibase-Version#-bin.tar.gz file, create a local directory on your computer (Example:
/usr/apps/Liquibase-3.8.0-bin), then add the directory to your PATH.
To add the directory to your PATH:
Note: This command will not permanently update your PATH after the termination of your session. To update your PATH permanently, run the following command:
source ~/.profile or source ~/.bashrc
Verification is an essential aspect of the Liquibase installation process, and there are three things you need to check:
To verify that you have correctly added the Liquibase folder to your PATHs, type
env in your Terminal or Linux command to display all your available PATHs.
For Liquibase to run correctly, Java must be installed on your Linux/Mac/Unix machine. To verify that Java is installed on your computer:
If you see the error:
-bash: java: command not found, then you need to either install Java, or you need to add the location of the Java to your PATH environment as a variable.
To install Java on your computer
Another way to verify that you installed Liquibase correctly on your computer is to run the Liquibase Help Command. To run the command: