ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • RHEL7 - No package matching 'xxx' found available 에러 해결
    카테고리 없음 2021. 5. 13. 14:50

    RHEL 에서 git, java 등을 설치할 때 No package matching 'xxx' found available 에러가 발생하는 경우

    /etc/yum.repos.d/ 에 repository(daum.repo) 를 추가합니다

    repo 앞의 이름은 변경가능합니다.

    [base]
    name=CentOS-$releasever-Base
    baseurl=http://ftp.daum.net/centos/7/os/$basearch/
    gpgcheck=1
    gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-7
    [updates]
    name=CentOS-$releasever-Updates
    baseurl=http://ftp.daum.net/centos/7/updates/$basearch/
    gpgcheck=1
    gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-7
    [extras]
    name=CentOS-$releasever-Extras
    baseurl=http://ftp.daum.net/centos/7/extras/$basearch/
    gpgcheck=1
    gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-7
    [centosplus]
    name=CentOS-$releasever-Plus
    baseurl=http://ftp.daum.net/centos/7/centosplus/$basearch/
    gpgcheck=1
    gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-7

    추가 후 sudo yum -y update 명령어를 이용하여 저장소를 업데이트합니다.

    참고

    https://velog.io/@zeesoo/LinuxRHEL7-레드햇-리눅스-Repository-설정

    반응형

    댓글

Designed by Tistory.