How to Install and Uninstall maven-cache-cleanup Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 13,2024

1. Install "maven-cache-cleanup" package

This guide covers the steps necessary to install maven-cache-cleanup on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install maven-cache-cleanup

2. Uninstall "maven-cache-cleanup" package

In this section, we are going to explain the necessary steps to uninstall maven-cache-cleanup on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove maven-cache-cleanup $ sudo apt autoclean && sudo apt autoremove

3. Information about the maven-cache-cleanup package on Ubuntu 21.10 (Impish Indri)

Package: maven-cache-cleanup
Architecture: all
Version: 1.0.4-1.2
Priority: optional
Section: universe/java
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 34
Depends: default-jre-headless | java7-runtime-headless, java-wrappers
Filename: pool/universe/m/maven-cache-cleanup/maven-cache-cleanup_1.0.4-1.2_all.deb
Size: 11940
MD5sum: 7e363d079b9959b3dc170060d3ca12cc
SHA1: cad93bee2352fcedecd6488d71631fd02a9719db
SHA256: 6f4006afffeb29f5f5226def555f0720f166497b255a3c129b016cb1b01cfd45
SHA512: c14e9e2054f3ac96d51c02d203130fe70f8304bfb501e7432a6cd6aa3d7a893dc3fb36bb2aa8f1147a5da26a23168c1d6823d198cdd55ad2c2d472201df2f649
Homepage: https://github.com/nadestin/tools
Description-en: Utility to purge timestamped snapshots from Maven repositories
Maven 3 dropped support for non-unique snapshot versions, which had the
side effect of filling up Maven caches on developer machines and on CI
build hosts. The Maven Cache Cleanup utility scans a specified Maven cache
directory for snapshot versions and deletes all but the latest version of
the timestamped artifacts.
Description-md5: f5c5f8588751ecaca4ed05e16d26da31