Remove packages with LPM
Last updated: September 18, 2025
Uninstall packages you no longer need using Liquibase Package Manager (LPM).
Before you begin
Install Liquibase Community 5.0+ or later. For information about using LPM with earlier versions, refer to the LPM readme.md.
Liquibase Community. LPM is not available in Liquibase Secure.
Procedure
(Optional) Check which packages are installed.
LPM can print a list of your current packages so you can decide what you want to uninstall.
Example code
liquibase lpm list
Remove a specific package
You can use the example code to remove a package.
What happens when you remove a package, LPM:
LPM deletes the JAR file from
liquibase_libs/
Updates
liquibase.json
to remove the dependency entryConfirms successful removal
Be sure to replace <package-name> with the name of the package.
Example code
liquibase lpm remove <package-name>
Verify the package was removed
Verify the package was removed by listing the packages and checking the list to see if the package you removed is on the list.
Example code
liquibase lpm list