iVPS 가상서버호스팅

[CentOS] No package epel-release available 본문

LINUX

[CentOS] No package epel-release available

iVPS 영은파더♥ 2019.05.08 16:38

ARM 용 CentOS 7 을 설치했더니 epel-release 가 그냥으로는 설치가 안되는군요~

[root@localhost android]# yum install epel-release
...
No package epel-release available.
Error: Nothing to do

# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
주소를 직접 입력해서 설치가 가능합니다.

File /var/cache/yum/armhfp/7/epel/metalink.xml does not exist 같은 에러가 발생할 겁니다.

삭제하고 아래 처럼 repo 를 추가합니다.

cat > /etc/yum.repos.d/epel.repo << EOF
[epel]
name=Epel rebuild for armhfp
baseurl=https://armv7.dev.centos.org/repodir/epel-pass-1/
enabled=1
gpgcheck=0
EOF

cat > /etc/yum.repos.d/php72-testing.repo << EOF
[php72-testing]
name=Remi php72 rebuild for armhfp
baseurl=https://armv7.dev.centos.org/repodir/community-php72-testing/
enabled=1
gpgcheck=0
EOF

cat > /etc/yum.repos.d/remi.repo << EOF
[remi]
name=Remi's RPM repository for Enterprise Linux 7 - $basearch
mirrorlist=http://cdn.remirepo.net/enterprise/7/remi/mirror
enabled=1
gpgcheck=1
gpgkey=https://rpms.remirepo.net/RPM-GPG-KEY-remi
EOF

epel-release 를 지원했으면 좋겠군요~

 

 

 

Trackback : 0 | Comments : 0
댓글쓰기 폼