Oracle® Solaris 11.2 패키지 저장소 복사 및 만들기

인쇄 보기 종료

업데이트 날짜: 2014년 9월
 
 

저장소의 패키지 검사

저장소에 패키지 추가에 표시된 pkgrepo infopkgrepo list 명령 외에도 pkgrepo contents 명령을 사용하여 저장소의 패키지 컨텐츠를 검사할 수 있습니다.

단일 패키지의 경우 pkgrepo contents 명령의 출력은 pkg contents -m 명령의 출력과 같습니다. pkgrepo contents 명령은 지정된 저장소의 각 일치 패키지에 대한 출력을 표시하고 pkg contents 명령은 이 이미지에서 설치할 수 있는 일치 패키지 버전에 대한 출력만 표시합니다. -t 옵션을 지정하면 pkgrepo contents 명령은 지정된 작업만 표시합니다.

다음 예에서는 이 패키지의 한 버전만 지정된 저장소에 있으므로 패키지 버전을 지정할 필요가 없습니다. 이 패키지에는 Oracle Database 12 설치와 작업에 필요한 Oracle Solaris 패키지 세트를 제공하는 depend 작업이 포함되어 있습니다.

$ pkgrepo -s http://pkg.oracle.com/solaris/release/ \
contents -t depend oracle-rdbms-server-12cR1-preinstall
depend fmri=x11/library/libxi type=group
depend fmri=x11/library/libxtst type=group
depend fmri=x11/session/xauth type=group
depend fmri=compress/unzip type=require
depend fmri=developer/assembler type=require
depend fmri=developer/build/make type=require