HIP icon indicating copy to clipboard operation
HIP copied to clipboard

CentOS 8 - Install Failure

Open kiritigowda opened this issue 3 years ago • 2 comments

ROCm Installation fails on CentOS 8, attached is the docker file to reproduce the issue.

FROM centos:centos8

# install base dependencies
RUN yum -y update --nogpgcheck && yum -y install --nogpgcheck gcc gcc-c++ kernel-devel make cmake git
# install ROCm
RUN echo -e "[ROCm]\nname=ROCm\nbaseurl=https://repo.radeon.com/rocm/centos8/rpm\nenabled=1\ngpgcheck=1\ngpgkey=https://repo.radeon.com/rocm/rocm.gpg.key" > \
        /etc/yum.repos.d/rocm.repo && yum -y update --nogpgcheck && yum -y install --nogpgcheck rocm-dev

Failure

Error: 
 Problem: package rocm-dev-4.3.0.40300-52.el8.x86_64 requires hip-base, but none of the providers can be installed
  - conflicting requests
  - nothing provides perl-File-BaseDir needed by hip-base-4.3.21300.5994.40300-52.el8.x86_64
  - nothing provides perl-URI-Encode needed by hip-base-4.3.21300.5994.40300-52.el8.x86_64

DockerFile - rocm-centOS8-dockerfile.txt

kiritigowda avatar Aug 30 '21 21:08 kiritigowda

perl-URI-Encode package is missing. You can install it from the epel repository.

Run, for example, the following command to install it: dnf --nogpgcheck install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

PourroyJean avatar Mar 24 '22 14:03 PourroyJean

For perl-File-BaseDir you also need to enable powertools with sudo dnf config-manager --set-enabled powertools after installing epel-release.

lachlan2k avatar Apr 28 '22 08:04 lachlan2k

@kiritigowda Are you still having this issue? If not, please close this ticket. Thanks!

ppanchad-amd avatar Mar 22 '24 21:03 ppanchad-amd