aristocratos / bashtop

Linux/OSX/FreeBSD resource monitor
Apache License 2.0
10.76k stars 549 forks source link

Not being able to install/work in Rocky Linux. #236

Closed nephewtom closed 1 year ago

nephewtom commented 1 year ago

Hi! This is not a bug report issue neither a feature request... Just to keep a note on bashtop not being able to install/work in Rocky Linux.

After having some problems with manual installation which I included logs in issue: https://github.com/aristocratos/bashtop/issues/173 I tried formal installation following the CentOS 8 instructions from several places:

https://github.com/aristocratos/bashtop#installation https://www.tecmint.com/install-epel-repo-rhel-rocky-almalinux/ https://www.tecmint.com/bashtop-linux-resource-monitoring-tool/

Which in my Linux box:

$ cat /etc/os-release
NAME="Rocky Linux"
VERSION="8.6 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.6 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8"

Results in... Enabling powertools in config-manager and installing dnf-plugins-core via yum:

$ sudo yum config-manager --set-enabled powertools
$ sudo yum install dnf-plugins-core
Last metadata expiration check: 2:44:49 ago on Mon Jun 19 16:24:16 2023.
Package dnf-plugins-core-4.0.21-11.el8.noarch is already installed.
Dependencies resolved.
================================================================================================================================================================================================================== Package                                                       Architecture                                Version                                              Repository                                   Size
==================================================================================================================================================================================================================Upgrading:
 dnf-plugins-core                                              noarch                                      4.0.21-19.el8_8                                      baseos                                       74 k
 python3-dnf-plugins-core                                      noarch                                      4.0.21-19.el8_8                                      baseos                                      260 k
 yum-utils                                                     noarch                                      4.0.21-19.el8_8                                      baseos                                       74 k
Installing dependencies:
 python3-systemd                                               x86_64                                      234-8.el8                                            baseos                                       80 k

Transaction Summary
==================================================================================================================================================================================================================Install  1 Package
Upgrade  3 Packages

Total download size: 488 k
Is this ok [y/N]: Y
Downloading Packages:
(1/4): python3-systemd-234-8.el8.x86_64.rpm                                                                                                                                       154 kB/s |  80 kB     00:00
(2/4): dnf-plugins-core-4.0.21-19.el8_8.noarch.rpm                                                                                                                                133 kB/s |  74 kB     00:00
(3/4): yum-utils-4.0.21-19.el8_8.noarch.rpm                                                                                                                                       382 kB/s |  74 kB     00:00
(4/4): python3-dnf-plugins-core-4.0.21-19.el8_8.noarch.rpm                                                                                                                        334 kB/s | 260 kB     00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Total                                                                                                                                                                             488 kB/s | 488 kB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                          1/1
  Installing       : python3-systemd-234-8.el8.x86_64                                                                                                                                                         1/7
  Upgrading        : python3-dnf-plugins-core-4.0.21-19.el8_8.noarch                                                                                                                                          2/7
  Upgrading        : dnf-plugins-core-4.0.21-19.el8_8.noarch                                                                                                                                                  3/7
  Upgrading        : yum-utils-4.0.21-19.el8_8.noarch                                                                                                                                                         4/7
  Cleanup          : yum-utils-4.0.21-11.el8.noarch                                                                                                                                                           5/7
  Cleanup          : dnf-plugins-core-4.0.21-11.el8.noarch                                                                                                                                                    6/7
  Cleanup          : python3-dnf-plugins-core-4.0.21-11.el8.noarch                                                                                                                                            7/7
  Running scriptlet: python3-dnf-plugins-core-4.0.21-11.el8.noarch                                                                                                                                            7/7
  Verifying        : python3-systemd-234-8.el8.x86_64                                                                                                                                                         1/7
  Verifying        : dnf-plugins-core-4.0.21-19.el8_8.noarch                                                                                                                                                  2/7
  Verifying        : dnf-plugins-core-4.0.21-11.el8.noarch                                                                                                                                                    3/7
  Verifying        : python3-dnf-plugins-core-4.0.21-19.el8_8.noarch                                                                                                                                          4/7
  Verifying        : python3-dnf-plugins-core-4.0.21-11.el8.noarch                                                                                                                                            5/7
  Verifying        : yum-utils-4.0.21-19.el8_8.noarch                                                                                                                                                         6/7
  Verifying        : yum-utils-4.0.21-11.el8.noarch                                                                                                                                                           7/7

Upgraded:
  dnf-plugins-core-4.0.21-19.el8_8.noarch                              python3-dnf-plugins-core-4.0.21-19.el8_8.noarch                              yum-utils-4.0.21-19.el8_8.noarch
Installed:
  python3-systemd-234-8.el8.x86_64

Complete!

Install epel-release via dnf:

$ sudo dnf install epel-release
Rocky Linux 8 - PowerTools                                                                                                                                                        734 kB/s | 2.5 MB     00:03
Last metadata expiration check: 0:00:02 ago on Mon Jun 19 19:09:40 2023.
Package epel-release-8-13.el8.noarch is already installed.
Dependencies resolved.
================================================================================================================================================================================================================== Package                                                Architecture                                     Version                                             Repository                                      Size
==================================================================================================================================================================================================================Upgrading:
 epel-release                                           noarch                                           8-19.el8                                            epel                                            25 k

Transaction Summary
==================================================================================================================================================================================================================Upgrade  1 Package

Total download size: 25 k
Is this ok [y/N]: Y
Downloading Packages:
epel-release-8-19.el8.noarch.rpm                                                                                                                                                  307 kB/s |  25 kB     00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Total                                                                                                                                                                              39 kB/s |  25 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                          1/1
  Running scriptlet: epel-release-8-19.el8.noarch                                                                                                                                                             1/1
  Upgrading        : epel-release-8-19.el8.noarch                                                                                                                                                             1/2
warning: /etc/yum.repos.d/epel.repo created as /etc/yum.repos.d/epel.repo.rpmnew

  Running scriptlet: epel-release-8-19.el8.noarch                                                                                                                                                             1/2
  Cleanup          : epel-release-8-13.el8.noarch                                                                                                                                                             2/2
  Running scriptlet: epel-release-8-13.el8.noarch                                                                                                                                                             2/2
  Verifying        : epel-release-8-19.el8.noarch                                                                                                                                                             1/2
  Verifying        : epel-release-8-13.el8.noarch                                                                                                                                                             2/2

Upgraded:
  epel-release-8-19.el8.noarch

Complete!

Then, bashtop not found:

$ sudo dnf install bashtop
Last metadata expiration check: 0:00:17 ago on Mon Jun 19 19:09:40 2023.
No match for argument: bashtop
Error: Unable to find a match: bashtop

Really sad! ☹

dsclassen commented 1 year ago

I believe it is packaged as btop not bashtop https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/b/btop-1.2.13-3.el8.x86_64.rpm

nephewtom commented 1 year ago

I believe it is packaged as btop not bashtop https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/b/btop-1.2.13-3.el8.x86_64.rpm

Great, @dsclassen! That's it!