Can't install htop on my Raspberry PI 4 B

Issues related to applications and software problems and general support
Post Reply
Georodin
Posts: 4
Joined: 2019/05/06 19:21:37

Can't install htop on my Raspberry PI 4 B

Post by Georodin » 2022/01/18 20:26:09

CentOS Linux release 8.5.2111
I'm a bit confused, I saw a lot of tutorials on how to install htop on a berry, so why is it telling me that my architecture is not compatible?
How can I fix this?

Code: Select all

yum install htop
Last metadata expiration check: 0:27:55 ago on Tue 18 Jan 2022 07:54:24 PM UTC.
Error:
 Problem: conflicting requests
  - package htop-2.2.0-3.el7.armv7hl does not have a compatible architecture
  - nothing provides libgcc_s.so.1 needed by htop-2.2.0-3.el7.armv7hl
  - nothing provides libgcc_s.so.1(GCC_3.5) needed by htop-2.2.0-3.el7.armv7hl
  - nothing provides ld-linux-armhf.so.3 needed by htop-2.2.0-3.el7.armv7hl
  - nothing provides ld-linux-armhf.so.3(GLIBC_2.4) needed by htop-2.2.0-3.el7.armv7hl
  - nothing provides libm.so.6 needed by htop-2.2.0-3.el7.armv7hl
  - nothing provides libm.so.6(GLIBC_2.4) needed by htop-2.2.0-3.el7.armv7hl
  - nothing provides libc.so.6(GLIBC_2.15) needed by htop-2.2.0-3.el7.armv7hl
  - nothing provides libgcc_s.so.1(GCC_3.0) needed by htop-2.2.0-3.el7.armv7hl
  - nothing provides libtinfo.so.5 needed by htop-2.2.0-3.el7.armv7hl
  - nothing provides libgcc_s.so.1(GCC_3.3.1) needed by htop-2.2.0-3.el7.armv7hl
  - nothing provides libncursesw.so.5 needed by htop-2.2.0-3.el7.armv7hl

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't install htop on my Raspberry PI 4 B

Post by TrevorH » 2022/01/18 20:31:07

And the output of uname -a is?

You should know that CentOS 8 is EOL. You'll want to investigate switching to Rocky/Alma/OEL or one of the other rebuilds.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

lightman47
Posts: 1521
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: Can't install htop on my Raspberry PI 4 B

Post by lightman47 » 2022/01/18 20:35:12

Are you running CentOS 7 or CentOS 8? You posted in the 8 section, but your system is trying to install (incompatible) packages for version 7.
???

Georodin
Posts: 4
Joined: 2019/05/06 19:21:37

Re: Can't install htop on my Raspberry PI 4 B

Post by Georodin » 2022/01/18 21:24:19

Code: Select all

Linux berry 5.4.60-v8.1.el8 #1 SMP PREEMPT Sun Aug 23 02:58:38 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
@light
and maybe I broke my repository list while trying to enable epel, how would one check or fix this?

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't install htop on my Raspberry PI 4 B

Post by TrevorH » 2022/01/18 22:46:35

So you have two problems there. The first is that you have installed the EPEL package for CentOS 7 on a CentOS 8 system. Second problem is that you've installed the wrong version of that too - you have the arm7hl 32 bit "old" arm architecture for CentOS 7 on an aarch64 (64 bit arm) CentOS 8 system. You will need to uninstall that version of epel-release (do a yum clean all first) and, if you can find one, install an epel-release designed for CentOS 8 aarch64.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Georodin
Posts: 4
Joined: 2019/05/06 19:21:37

Re: Can't install htop on my Raspberry PI 4 B

Post by Georodin » 2022/01/20 21:39:57

epel-release-8-11.el8 hmm told me this was removed via yum
reinstalled epel-release-8-11.el8 via yum, worked: installing htop
thanks bud :)

Post Reply