프로젝트

일반

사용자정보

Actions

Yum repository 설정 » 이력 » 개정판 27

« 뒤로 | 개정판 27/37 (비교(diff)) | 다음 »
SANGKYU KANG, 2018-04-20 10:24 오전


Yum repository 설정

  • Repository 구성을 위해 RPM 패키지 다운로드
    Yum sync
  • yum 명령어 사용법
    -> 패키지 설치. 패키지명 뒤에 와일드카드 사용 시 비슷한 이름의 패키지를 모두 설치할 수 있다.
    sudo yum install packagename
    
    -> 패키지를 다운로드만 할 때
    sudo yum install  packagename  --downloadonly --downloaddir=/target_dir
    

***자주 쓰이는 명령어

 |_. -h, --help             | show this help message and exit                      |
            |_.   --installroot=[path] | set install root                                     |
        |_.   --enablerepo=[repo]  | enable one or more repositories (wildcards allowed)  |
    |_.   --disablerepo=[repo] | disable one or more repositories (wildcards allowed) |
    |_.   --skip-broken        | skip packages with depsolving problems |
    |_.   --downloadonly       | don't update, just download |
    |_.   --downloaddir=DLDIR  | specifies an alternate directory to store packages |

SANGKYU KANG이(가) 약 7년 전에 변경 · 27 revisions