Linux systems, ubuntu-16.04.4, installation maven3.5.3
First, create a folder
Note that Linux users, this if not the root user, the command needs to add: sudo
Create a directory Mkdir/usr/local/maven
Switch directory Cd/usr/local/maven
Determine your JDK version first
Download Maven's Package wget http://mirrors.shu.edu.cn/apache/maven/maven-3/3.5.3/binaries/apache-maven-3.5.3-bin.tar.gz
Download complete, check out lsapache-maven-3.5.3-bin.tar.gz
Unpacking Kit TAR-ZXVF apache-maven-3.5.3-bin.tar.gz
Second, configure environment variables
Edit environment variables, edit global variables Vim/etc/profile
The variable that originally had the JDK, inserted in the variable
Modify the path value, insert
Modify PATH, insert: $MAVEN _home/binexport path= $MAVEN _home/bin: $PATH
Make environment variables effective
Source/etc/profile
Third, test whether MAVEN is effective
Advent: Information such as Apache Maven 3.5.3 can be
Maven (ii), Linux installation maven3.5.3 and configuration