Page 1 of 1

How to install 64-bit centos on Raspberry Pi 4B?

Posted: Tue Aug 20, 2019 4:50 am
by WinJayX
How to install 64-bit centos on Raspberry Pi 4B 2G?

Re: How to install 64-bit centos on Raspberry Pi 4B?

Posted: Tue Aug 20, 2019 6:16 pm
by fruitoftheloom
WinJayX wrote:
Tue Aug 20, 2019 4:50 am
How to install 64-bit centos on Raspberry Pi 4B 2G?

Best to ask the developers ??

https://wiki.centos.org/SpecialInterestGroup/AltArch

Though not even Fedora, another RHL Distro, has support:

https://lists.fedoraproject.org/archive ... GZ2Q77APK/

Re: How to install 64-bit centos on Raspberry Pi 4B?

Posted: Mon Aug 26, 2019 1:21 pm
by geev03
One way to do so is using a Docker CentOS image..

Code: Select all

login as: geev03
Using keyboard-interactive authentication.
Password:

==============================================================================
|    Welcome to 64-bit Gentoo Linux for the Raspberry Pi 3 B/B+ & Pi 4 B!    |
|         MicroSD-card image maintainer: sakaki <sakaki@deciban.com>         |
==============================================================================
| There is ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law |
==============================================================================
|            (Edit, or delete, /etc/motd to modify this message)             |
==============================================================================

geev03@pi64 ~ $ sudo -i
pi64 ~ # docker pull centos
Using default tag: latest
latest: Pulling from library/centos
4856e02b0d50: Pull complete
Digest: sha256:307835c385f656ec2e2fec602cf093224173c51119bbebd602c53c3653a3d6eb
Status: Downloaded newer image for centos:latest
docker.io/library/centos:latest

pi64 ~ # doscker image ls
-bash: doscker: command not found
pi64 ~ # docker image ls
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
geev03              latest              cc1f22762591        3 hours ago         15.2MB
centos              latest              0cb4fb73950e        5 days ago          239MB
aarch64/alpine      latest              8e8812ba3b2d        2 years ago         3.83MB
pi64 ~ # docker run -it  0cb4fb73950e  /bin/sh
sh-4.2# uname -a
Linux 13489bfde44b 4.19.66-v8-fc5826fb999e-p4-bis+ #2 SMP PREEMPT Fri Aug 16 13:58:31 GMT 2019 aarch64 aarch64 aarch64 GNU/Linux
sh-4.2#
sh-4.2# yum install httpd
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirror.netweaver.uk
 * extras: mirror.netweaver.uk
 * updates: mirror.netweaver.uk
Resolving Dependencies
--> Running transaction check
---> Package httpd.aarch64 0:2.4.6-89.el7.centos.1 will be installed
--> Processing Dependency: httpd-tools = 2.4.6-89.el7.centos.1 for package: httpd-2.4.6-89.el7.centos.1.aarch64
--> Processing Dependency: system-logos >= 7.92.1-1 for package: httpd-2.4.6-89.el7.centos.1.aarch64
--> Processing Dependency: /etc/mime.types for package: httpd-2.4.6-89.el7.centos.1.aarch64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-89.el7.centos.1.aarch64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-89.el7.centos.1.aarch64
--> Running transaction check
---> Package apr.aarch64 0:1.4.8-3.el7_4.1 will be installed
---> Package apr-util.aarch64 0:1.5.2-6.el7 will be installed
---> Package centos-logos.noarch 0:70.0.6-3.el7.centos will be installed
---> Package httpd-tools.aarch64 0:2.4.6-89.el7.centos.1 will be installed
---> Package mailcap.noarch 0:2.1.41-2.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package           Arch         Version                      Repository    Size
================================================================================
Installing:
 httpd             aarch64      2.4.6-89.el7.centos.1        updates      2.7 M
Installing for dependencies:
 apr               aarch64      1.4.8-3.el7_4.1              base          97 k
 apr-util          aarch64      1.5.2-6.el7                  base          89 k
 centos-logos      noarch       70.0.6-3.el7.centos          base          21 M
 httpd-tools       aarch64      2.4.6-89.el7.centos.1        updates       90 k
 mailcap           noarch       2.1.41-2.el7                 base          31 k

Transaction Summary
================================================================================
Install  1 Package (+5 Dependent packages)

Total download size: 24 M
Installed size: 37 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/aarch64/7/base/packages/apr-1.4.8-3.el7_4.1.aarch64.rpm: Header V3 RSA/SHA256 Signature, key ID 305d49d6: NOKEY
Public key for apr-1.4.8-3.el7_4.1.aarch64.rpm is not installed
(1/6): apr-1.4.8-3.el7_4.1.aarch64.rpm                     |  97 kB   00:00
(2/6): mailcap-2.1.41-2.el7.noarch.rpm                     |  31 kB   00:00
(3/6): apr-util-1.5.2-6.el7.aarch64.rpm                    |  89 kB   00:00
Public key for httpd-tools-2.4.6-89.el7.centos.1.aarch64.rpm is not installed
(4/6): httpd-tools-2.4.6-89.el7.centos.1.aarch64.rpm       |  90 kB   00:00
(5/6): httpd-2.4.6-89.el7.centos.1.aarch64.rpm             | 2.7 MB   00:02
(6/6): centos-logos-70.0.6-3.el7.centos.noarch.rpm         |  21 MB   00:05
--------------------------------------------------------------------------------
Total                                              4.5 MB/s |  24 MB  00:05
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-6.1810.2.el7.centos.a.aarch64 (@instCentOS)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Is this ok [y/N]: y
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7-aarch64
Importing GPG key 0x305D49D6:
 Userid     : "CentOS AltArch SIG - AArch64 (http://wiki.centos.org/SpecialInterestGroup/AltArch/AArch64) <security@centos.org>"
 Fingerprint: ef8f 3ca6 6efd f32b 36cd adf7 6c7c b6ef 305d 49d6
 Package    : centos-release-7-6.1810.2.el7.centos.a.aarch64 (@instCentOS)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7-aarch64
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : apr-1.4.8-3.el7_4.1.aarch64                                  1/6
  Installing : apr-util-1.5.2-6.el7.aarch64                                 2/6
  Installing : httpd-tools-2.4.6-89.el7.centos.1.aarch64                    3/6
  Installing : centos-logos-70.0.6-3.el7.centos.noarch                      4/6
  Installing : mailcap-2.1.41-2.el7.noarch                                  5/6
  Installing : httpd-2.4.6-89.el7.centos.1.aarch64                          6/6
  Verifying  : httpd-2.4.6-89.el7.centos.1.aarch64                          1/6
  Verifying  : mailcap-2.1.41-2.el7.noarch                                  2/6
  Verifying  : apr-1.4.8-3.el7_4.1.aarch64                                  3/6
  Verifying  : httpd-tools-2.4.6-89.el7.centos.1.aarch64                    4/6
  Verifying  : apr-util-1.5.2-6.el7.aarch64                                 5/6
  Verifying  : centos-logos-70.0.6-3.el7.centos.noarch                      6/6

Installed:
  httpd.aarch64 0:2.4.6-89.el7.centos.1

Dependency Installed:
  apr.aarch64 0:1.4.8-3.el7_4.1
  apr-util.aarch64 0:1.5.2-6.el7
  centos-logos.noarch 0:70.0.6-3.el7.centos
  httpd-tools.aarch64 0:2.4.6-89.el7.centos.1
  mailcap.noarch 0:2.1.41-2.el7

Complete!