How to Install and Uninstall maven Package on Debian 12 (Bookworm)
Last updated: January 11,2025
Notice
You can also install and uninstall the maven on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "maven" package
Please follow the step by step instructions below to install maven on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
maven
Copied
2. Uninstall "maven" package
This guide covers the steps necessary to uninstall maven on Debian 12 (Bookworm):
$
sudo apt remove
maven
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the maven package on Debian 12 (Bookworm)
Package: maven
Version: 3.8.7-1
Installed-Size: 123
Maintainer: Debian Java Maintainers
Architecture: all
Replaces: maven2 (<< 2.2.1-11)
Depends: default-jre-headless (>= 2:1.7) | java7-runtime-headless, libjansi-java, libmaven3-core-java (= 3.8.7-1), libwagon-file-java, libwagon-http-shaded-java
Breaks: maven2 (<< 2.2.1-11)
Description: Java software project management and comprehension tool
Description-md5: 344f87767e3119fe58a5149874e743c9
Homepage: http://maven.apache.org
Section: java
Priority: optional
Filename: pool/main/m/maven/maven_3.8.7-1_all.deb
Size: 18932
MD5sum: c64531b35596dd97fb4bacc65c4af421
SHA256: d400d497581c884347e9228d7bb78f9ded29fff181195e36dcd903ca0a0eaa53
Version: 3.8.7-1
Installed-Size: 123
Maintainer: Debian Java Maintainers
Architecture: all
Replaces: maven2 (<< 2.2.1-11)
Depends: default-jre-headless (>= 2:1.7) | java7-runtime-headless, libjansi-java, libmaven3-core-java (= 3.8.7-1), libwagon-file-java, libwagon-http-shaded-java
Breaks: maven2 (<< 2.2.1-11)
Description: Java software project management and comprehension tool
Description-md5: 344f87767e3119fe58a5149874e743c9
Homepage: http://maven.apache.org
Section: java
Priority: optional
Filename: pool/main/m/maven/maven_3.8.7-1_all.deb
Size: 18932
MD5sum: c64531b35596dd97fb4bacc65c4af421
SHA256: d400d497581c884347e9228d7bb78f9ded29fff181195e36dcd903ca0a0eaa53