출처 : http://stackoverflow.com/questions/5312350/where-is-maven-installed-on-ubuntu
우분투 버전 확인
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise
설치
# add-apt-repository ppa:natecarlson/maven3
# apt-get update
# sudo apt-get install maven3
메이븐 버전 확인
# mvn3 -v
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-15T02:37:52+09:00)
Maven home: /usr/share/maven3
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: ko_KR, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-60-generic-pae", arch: "i386", family: "unix"
기본 명령어로 링크
# ln -s /usr/bin/mvn3 /usr/bin/mvn
'Server > Ubuntu' 카테고리의 다른 글
| Disable automatic updates kernel on Ubuntu (2) | 2017.12.20 |
|---|---|
| Installation Redmine on Ubuntu (0) | 2014.03.26 |
| Using Xmanager to Ubuntu 10.10 (0) | 2011.04.13 |
| Subversion (0) | 2010.08.16 |
| Openfire (0) | 2010.05.25 |
| Webmin (0) | 2009.11.18 |
| Squirrelmail (0) | 2009.11.12 |
| SparkWeb (0) | 2009.11.12 |
| Cacti (0) | 2009.11.12 |
| Apache + SSL (0) | 2009.11.12 |
