How to install Bpytop on Rocky Linux 9.2
To Install Bpytop On Rocky Linux 9.2
Introduction:
Bpytop is a Python-based resource monitoring tool that is free and open source similar to other monitoring programs like top, htop, and bashtop which offer real-time monitoring of system resources, such as disc, network, processes, and CPU.
Installation Steps:
Step 1: Check the OS version by using the below command
[root@Linuxhelp ~]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="9.2 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.2"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.2 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.2"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.2"
Step 2: Install pip3 using the below command. Pip is a package manager for Python, and it’s an essential tool for managing Python packages, including Bpytop.
[root@Linuxhelp ~]# dnf install python3-pip
Rocky Linux 9 - BaseOS 5.2 kB/s | 4.1 kB 00:00
Rocky Linux 9 - BaseOS 1.4 MB/s | 2.2 MB 00:01
Rocky Linux 9 - AppStream 6.1 kB/s | 4.5 kB 00:00
Rocky Linux 9 - AppStream 3.8 MB/s | 7.4 MB 00:01
Rocky Linux 9 - Extras 3.9 kB/s | 2.9 kB 00:00
Rocky Linux 9 - Extras 12 kB/s | 13 kB 00:01
Dependencies resolved.
===================================================================================================
Package Architecture Version Repository Size
===================================================================================================
Installing:
python3-pip noarch 21.2.3-7.el9 appstream 1.7 M
Transaction Summary
===================================================================================================
Install 1 Package
Total download size: 1.7 M
Installed size: 8.7 M
Is this ok [y/N]: y
Downloading Packages:
python3-pip-21.2.3-7.el9.noarch.rpm 3.1 MB/s | 1.7 MB 00:00
---------------------------------------------------------------------------------------------------
Total 1.5 MB/s | 1.7 MB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : python3-pip-21.2.3-7.el9.noarch 1/1
Running scriptlet: python3-pip-21.2.3-7.el9.noarch 1/1
Verifying : python3-pip-21.2.3-7.el9.noarch 1/1
Installed:
python3-pip-21.2.3-7.el9.noarch
Complete!
Step 3: Install Bpytop using pip3 using the below command
[root@Linuxhelp ~]# pip3 install bpytop
Collecting bpytop
Downloading bpytop-1.0.68-py3-none-any.whl (83 kB)
|████████████████████████████████| 83 kB 1.6 MB/s
Requirement already satisfied: psutil<6.0.0,>=5.7.0 in /usr/lib64/python3.9/site-packages (from bpytop) (5.8.0)
Installing collected packages: bpytop
Successfully installed bpytop-1.0.68
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Step 4: Now you can access Bpytop simply by using the below command
[root@Linuxhelp ~]# bpytop
Step 5: If you decide to remove Bpytop from your system, you can do so easily by running the below command
[root@Linuxhelp ~]# pip uninstall bpytop
Found existing installation: bpytop 1.0.68
Uninstalling bpytop-1.0.68:
Would remove:
/usr/local/bin/bpytop
/usr/local/lib/python3.9/site-packages/bpytop-1.0.68.dist-info/*
/usr/local/lib/python3.9/site-packages/bpytop.py
/usr/local/lib/python3.9/site-packages/themes/adapta.theme
/usr/local/lib/python3.9/site-packages/themes/default_black.theme
/usr/local/lib/python3.9/site-packages/themes/dracula.theme
/usr/local/lib/python3.9/site-packages/themes/dusklight.theme
/usr/local/lib/python3.9/site-packages/themes/flat-remix-light.theme
/usr/local/lib/python3.9/site-packages/themes/flat-remix.theme
/usr/local/lib/python3.9/site-packages/themes/greyscale.theme
/usr/local/lib/python3.9/site-packages/themes/gruvbox_dark.theme
/usr/local/lib/python3.9/site-packages/themes/gruvbox_dark_v2.theme
/usr/local/lib/python3.9/site-packages/themes/kyli0x.theme
/usr/local/lib/python3.9/site-packages/themes/matcha-dark-sea.theme
/usr/local/lib/python3.9/site-packages/themes/monokai.theme
/usr/local/lib/python3.9/site-packages/themes/nord.theme
/usr/local/lib/python3.9/site-packages/themes/solarized_dark.theme
/usr/local/lib/python3.9/site-packages/themes/whiteout.theme
Proceed (Y/n)? y
Successfully uninstalled bpytop-1.0.68
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Step 6: Verify that the bpytop was removed from our system or not
[root@Linuxhelp ~]# bpytop
bash: /usr/local/bin/bpytop: No such file or directory
Conclusion :
We have reached the end of this article. In this guide, we have walked you through the steps required to Install Bpytop on Rocky Linux 9.2. Your feedback is much welcome.
# dnf uninstall bpytop
# bpytop
# pip3 install bpytop --upgrade