How to install epel-release and centos allarch on Redhat 7.3 ppc
Change working directory to /tmp and download the epel-release package
[root@myhost ~]# cd /tmp
[root@myhost tmp]# ls
anaconda.log packaging.log
[root@myhost tmp]#
[root@myhost tmp]# wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
--2019-04-24 16:35:25-- https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Resolving dl.fedoraproject.org (dl.fedoraproject.org)... 209.132.181.23, 209.132.181.24
Connecting to dl.fedoraproject.org (dl.fedoraproject.org)|209.132.181.23|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15080 (15K) [application/x-rpm]
Saving to: ‘epel-release-latest-7.noarch.rpm.1’
100%[============================================================================================>] 15,080 70.9KB/s in 0.2s
2019-04-24 16:35:26 (70.9 KB/s) - ‘epel-release-latest-7.noarch.rpm.1’ saved [15080/15080]
[root@myhost tmp]#
Install the epel-release package
[root@myhost tmp]# ls
anaconda.log
epel-release-latest-7.noarch.rpm packaging.log
[root@myhost tmp]#
[root@myhost tmp]# rpm -ivh epel-release-latest-7.noarch.rpm
warning: epel-release-latest-7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:epel-release-7-11 ################################# [100%]
[root@myhost tmp]#
Create repo named centos with following content
[root@myhost tmp]# vi /etc/yum.repos.d/centos.repo
[root@myhost tmp]# cat /etc/yum.repos.d/centos.repo
[Centos]
name=CentOS $releasever – $basearch
baseurl=http://mirror.centos.org/altarch/7.6.1810/os/ppc64le/$basearch/
baseurl=http://mirror.centos.org/altarch/7/os/$basearch/
enabled=1
gpgcheck=1
http://mirror.centos.org/altarch/7.6.1810/os/ppc64le/RPM-GPG-KEY-CentOS-SIG-AltArch-7-ppc64le
[root@myhost tmp]#
[root@myhost tmp]#
Check repo list
[root@myhost tmp]# yum repolist all
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repo id repo name status
Centos/ppc64le CentOS 7Server – ppc64le enabled: 7,477
epel/ppc64le Extra Packages for Enterprise Linux 7 - ppc64le enabled: 12,496
epel-debuginfo/ppc64le Extra Packages for Enterprise Linux 7 - ppc64le - Debug disabled
epel-source/ppc64le Extra Packages for Enterprise Linux 7 - ppc64le - Source disabled
epel-testing/ppc64le Extra Packages for Enterprise Linux 7 - Testing - ppc64le disabled
epel-testing-debuginfo/ppc64le Extra Packages for Enterprise Linux 7 - Testing - ppc64le - Debug disabled
epel-testing-source/ppc64le Extra Packages for Enterprise Linux 7 - Testing - ppc64le - Source disabled
repolist: 20,635
[root@myhost tmp]#
Perform installation of a package with yum
[root@myhost tmp]# yum install xinetd
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Centos | 3.6 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package xinetd.ppc64le 2:2.3.15-13.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================
Installing:
xinetd ppc64le 2:2.3.15-13.el7 Centos 129 k
Transaction Summary
======================================================================================================================================
Install 1 Package
Total size: 129 k
Installed size: 349 k
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/ppc64le/7Server/Centos/packages/xinetd-2.3.15-13.el7.ppc64le.rpm: Header V4 RSA/SHA1 Signature, key ID f533f4fa: NOKEY
Retrieving key from http://mirror.centos.org/altarch/7.6.1810/os/ppc64le/RPM-GPG-KEY-CentOS-SIG-AltArch-7-ppc64le
Importing GPG key 0xF533F4FA:
Userid : "CentOS AltArch SIG - PowerPC (https://wiki.centos.org/SpecialInterestGroup/AltArch) <[email protected]>"
Fingerprint: bafa 3436 fc50 768e 3c3c 2e4e a963 bbdb f533 f4fa
From : http://mirror.centos.org/altarch/7.6.1810/os/ppc64le/RPM-GPG-KEY-CentOS-SIG-AltArch-7-ppc64le
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : 2:xinetd-2.3.15-13.el7.ppc64le 1/1
Verifying : 2:xinetd-2.3.15-13.el7.ppc64le 1/1
Installed:
xinetd.ppc64le 2:2.3.15-13.el7
Complete!
[root@myhost tmp]#
Tidak ada komentar :
Posting Komentar