WinJayX
Posts: 1
Joined: Tue Aug 20, 2019 4:48 am

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

Tue Aug 20, 2019 4:50 am

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

fruitoftheloom
Posts: 23869
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

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

Tue Aug 20, 2019 6:16 pm

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/
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

geev03
Posts: 188
Joined: Thu Jun 07, 2012 12:40 pm
Location: London, UK

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

Mon Aug 26, 2019 1:21 pm

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!


kobzardmytro
Posts: 2
Joined: Thu Mar 05, 2020 10:22 am

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

Thu Mar 12, 2020 8:43 pm

You can do this: install Сentos 7, on Raspberry pi 3 update the kernel then insert a memory card into Raspberry Pi 4 should turn on, I think this is it work.

globalc
Posts: 11
Joined: Sat May 09, 2020 12:34 am
Contact: Website

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

Sat May 09, 2020 1:09 am

WinJayX wrote:
Tue Aug 20, 2019 4:50 am
How to install 64-bit centos on Raspberry Pi 4B 2G?
That should work with aarch64 centos userland, and either kernel from RaspiOS, or from Fedroa32 or Fedora rawhide.

These are instructions to run Fedora32 userland with the RaspiOS kernel, these can be modified for centos userland:
https://fluxcoil.net/software/fedora/fe ... spi4_plain

Alternatively to that, Fedora rawhide (including Fedora kernel) is working on pi4:
https://fluxcoil.net/software/fedora/fedora32_on_raspi4

Return to “Pidora / Fedora”