Installation and Uninstallation of Maven Lite and its Dependencies
- Voir la documentation Française
- See the PDF documentation
Table of Contents
- Installation and Uninstallation of Maven Lite and its Dependencies
If you want to uninstall Maven Lite, you can skip directly to the uninstallation of Maven Lite.
Prerequisites before Installing Maven Lite
Prerequisites for All Linux Distributions and MacOS
Prerequisites for Windows
Installing Prerequisites
If you have already installed the prerequisites, you can skip directly to the installation of Maven Lite.
Installing Bash
Installing Bash on Debian and its Derivatives
-
Run the following command
sudo apt install bash
Installing Bash on other Linux Distributions or MacOS
-
Download the bash installation file by running the following command
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
Run the following command to add the bash installation directory to zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
-
Run the following command to install bash
brew install bash
-
Verify that bash is installed by running the following command
bash --version
Installing Java
Installing Java on Debian and its Derivatives
-
Run the following command
sudo apt install openjdk-17-jdk openjdk-17-jre
Installing Java on other Linux Distributions or MacOS
- Go to the official Oracle website
- Download the java 17 installer for your Linux distribution or MacOS version. This guide doesn’t cover installation with a compressed file.
- Once the installer is downloaded, run it.
- Follow the instructions of the installer.
- Once the installation is complete, you can delete the installer if you wish.
Installing Java on Windows
- Download the java 17 installer file for Windows from the official Oracle website by clicking here.
- Once the ‘
jdk-17.0.9_windows-x64_bin.exe
’ installer is downloaded, double-click to run it. - Follow the instructions of the installer.
- Once the installation is complete, you can delete the installer if you wish.
Maven Lite Installation
Follow the instructions corresponding to your operating system.
Maven Lite Uninstallation
Follow the instructions corresponding to your operating system.