APT 패키지 정보 확인 apt-cache showpkg

(Apt 패키지 정보 확인 apt-cache showpkg에서 넘어옴)
APT 패키지 정보 확인 apt-cache showpkg

1 문제상황[ | ]

root@zetawiki:~# mvn
The program 'mvn' can be found in the following packages:
 * maven
 * maven2
Try: apt-get install <selected package>
→ maven과 maven2 중에 어느 것을 설치해야 할지 모르겠다...
→ maven은 Maven 1이고 maven2는 Maven 2인가??
→ 자세한 정보가 나오면 좋겠다.

2 방법[ | ]

apt-cache showpkg 패키지명
root@zetawiki:~# apt-cache showpkg maven
Package: maven
Versions: 
3.0.5-1 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_universe_binary-amd64_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_universe_binary-amd64_Packages
                  MD5: 344f87767e3119fe58a5149874e743c9
 Description Language: en
                 File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_universe_i18n_Translation-en
                  MD5: 344f87767e3119fe58a5149874e743c9


Reverse Depends: 
  libpomegranate-clojure,maven
  libgradle-core-java,maven 3.0.4-4
  gant,maven
Dependencies: 
3.0.5-1 - default-jre (18 1:1.5) default-jre-headless (18 1:1.5) java5-runtime (16 (null)) java5-runtime-headless (0 (null)) libaether-java (0 (null)) libcommons-cli-java (0 (null)) libcommons-codec-java (0 (null)) libcommons-httpclient-java (0 (null)) libcommons-logging-java (0 (null)) libguava-java (0 (null)) libplexus-cipher-java (0 (null)) libplexus-classworlds2-java (2 2.4) libplexus-containers1.5-java (0 (null)) libplexus-interpolation-java (0 (null)) libplexus-sec-dispatcher-java (0 (null)) libplexus-utils2-java (0 (null)) libsisu-guice-java (0 (null)) libsisu-ioc-java (0 (null)) libwagon2-java (2 2.2-2) maven2 (3 2.2.1-11) maven2:i386 (3 2.2.1-11) maven2 (3 2.2.1-11) maven2:i386 (3 2.2.1-11) 
Provides: 
3.0.5-1 - 
Reverse Provides:
→ 3.0.5-1 버전임. maven2에 의존성 있음
root@zetawiki:~# apt-cache showpkg maven2
Package: maven2
Versions: 
2.2.1-19 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_universe_binary-amd64_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_universe_binary-amd64_Packages
                  MD5: 344f87767e3119fe58a5149874e743c9
 Description Language: en
                 File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_universe_i18n_Translation-en
                  MD5: 344f87767e3119fe58a5149874e743c9


Reverse Depends: 
  maven-debian-helper,maven2 2.2.1-5
  maven,maven2 2.2.1-11
  maven,maven2 2.2.1-11
  libmodello-java,maven2
  gant,maven2
Dependencies: 
2.2.1-19 - default-jre (18 1.5) default-jre-headless (18 1.5) java2-runtime (16 (null)) java2-runtime-headless (0 (null)) libmaven2-core-java (0 (null)) libmaven-clean-plugin-java (0 (null)) libmaven-compiler-plugin-java (2 2.5.1) libmaven-install-plugin-java (2 2.4) libmaven-jar-plugin-java (0 (null)) libmaven-resources-plugin-java (0 (null)) libmaven-shade-plugin-java (2 1.7.1) maven2-binary (0 (null)) maven2-binary:i386 (0 (null)) maven2-binary (0 (null)) maven2-binary:i386 (0 (null)) 
Provides: 
2.2.1-19 - 
Reverse Provides:
→ 2.2.1-19 버전임
→ 상위버전(3.x)을 설치하고 싶다면 apt-get install maven

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}