Oracle Java 6 SDK를 Debian Lenny에 설치해 보세요. rpm 파일을 다운받았습니다. 명령을 실행한 후
rpm -ivh jdk-6u45-linux-i586.rpm sun-javadb-core-10.6.2-1.1.i386.rpm sun-javadb-demo-10.6.2-1.1.i386.rpm sun-javadb-docs-10.6.2-1.1.i386.rpm sun-javadb-javadoc-10.6.2-1.1.i386.rpm sun-javadb-client-10.6.2-1.1.i386.rpm
출력을 얻으십시오 :
/bin/basename is needed by jdk-1.6.0_45-fcs.i586
/bin/cat is needed by jdk-1.6.0_45-fcs.i586
/bin/cp is needed by jdk-1.6.0_45-fcs.i586
/bin/gawk is needed by jdk-1.6.0_45-fcs.i586
/bin/grep is needed by jdk-1.6.0_45-fcs.i586
/bin/ln is needed by jdk-1.6.0_45-fcs.i586
/bin/ls is needed by jdk-1.6.0_45-fcs.i586
/bin/mkdir is needed by jdk-1.6.0_45-fcs.i586
/bin/mv is needed by jdk-1.6.0_45-fcs.i586
/bin/pwd is needed by jdk-1.6.0_45-fcs.i586
/bin/rm is needed by jdk-1.6.0_45-fcs.i586
/bin/sed is needed by jdk-1.6.0_45-fcs.i586
/bin/sort is needed by jdk-1.6.0_45-fcs.i586
/bin/touch is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/cut is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/dirname is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/expr is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/find is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/tail is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/tr is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/wc is needed by jdk-1.6.0_45-fcs.i586
/bin/sh is needed by jdk-1.6.0_45-fcs.i586
sun-javadb-common is needed by sun-javadb-core-10.6.2-1.1.i386
/bin/sh is needed by sun-javadb-core-10.6.2-1.1.i386
sun-javadb-common is needed by sun-javadb-demo-10.6.2-1.1.i386
sun-javadb-common is needed by sun-javadb-docs-10.6.2-1.1.i386
sun-javadb-common is needed by sun-javadb-javadoc-10.6.2-1.1.i386
sun-javadb-common is needed by sun-javadb-client-10.6.2-1.1.i386
왜 이렇게 이상한 의존성이 생겼나요? 예를 들어
/bin/ls is needed by jdk-1.6.0_45-fcs.i586
내 시스템에 해당 명령이 있는데 ls
Java 설치 시 이에 대해 불만이 나타나는 이유는 무엇입니까?
답변1
데비안에는 RPM을 (쉽게) 설치할 수 없습니다. 데비안은 dpkg
; RPM을 사용하며 자체 패키지 데이터베이스를 갖고 있으며 데비안에 설치한 내용에 대해 아무것도 모릅니다. rpm
데비안에서 사용할 수 있지만 주로 RPM 패키지를 설치하는 것이 아니라 조작하는 데 사용됩니다.
특히 Java의 경우 java-package
Oracle에서 다운로드할 수 있는 설치 프로그램을 사용하여 변환 해야 합니다 .bin
.이전 질문에 대한 내 답변.