1、下载安装包,并上传到指定位置
Maven官网: https://maven.apache.org/
tar.gz下载地址:https://maven.apache.org/download.cgi
2、解压安装包
tar -zxvf apache-maven-3.9.8-bin.tar.gz
3、配置环境变量
vim /etc/profile
#MAVEN配置
export MAVEN_HOME=/data/maven/apache-maven-3.9.8
export PATH=$MAVEN_HOME/bin:$PATH
source /etc/profile
4、验证Maven是否安装成功
mvn -v
标签:bin,maven,tar,Maven,Linux,apache,安装,MAVEN From: https://www.cnblogs.com/sxpdy8571/p/18339457