How to install Bpytop on Debian 12
To Install Bpytop On Debian 12
Introduction:
Bpytop is a Linux command-line utility that monitors many programs including top, Htop, Bashtop, and so on. It is based on the Bash TOP and written in Python. The program displays information about the processor, memory, disks, network, and processes.
Installation Procedure:
Step 1: Check the OS version by using the below command
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
Step 2: Check the IP by using the below command
root@linuxhelp:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:0c:29:df:76:82 brd ff:ff:ff:ff:ff:ff
altname enp2s1
inet 192.168.6.131/23 brd 192.168.7.255 scope global noprefixroute ens33
valid_lft forever preferred_lft forever
inet6 fe80::20c:29ff:fedf:7682/64 scope link noprefixroute
valid_lft forever preferred_lft forever
Step 3: Install python3 by using the below command
root@linuxhelp:~# apt install python3-pip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
linux-image-6.1.0-10-amd64
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
binutils binutils-common binutils-x86-64-linux-gnu build-essential dpkg-dev fakeroot
g++ g++-12 gcc gcc-12 libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasan8 libbinutils libc-dev-bin libc-devtools libc6-dev
libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl libexpat1-dev libfakeroot
libfile-fcntllock-perl libgcc-12-dev libgprofng0 libitm1 libjs-jquery libjs-sphinxdoc
libjs-underscore liblsan0 libnsl-dev libpython3-dev libpython3.11-dev libstdc++-12-dev
libtirpc-dev libtsan2 libubsan1 linux-libc-dev make manpages-dev patch python3-dev
python3-distutils python3-lib2to3 python3-setuptools python3-wheel python3.11-dev
rpcsvc-proto zlib1g-dev
Suggested packages:
binutils-doc debian-keyring g++-multilib g++-12-multilib gcc-12-doc gcc-multilib
autoconf automake libtool flex bison gdb gcc-doc gcc-12-multilib gcc-12-locales
glibc-doc git bzr libstdc++-12-doc make-doc ed diffutils-doc python-setuptools-doc
The following NEW packages will be installed:
binutils binutils-common binutils-x86-64-linux-gnu build-essential dpkg-dev fakeroot
g++ g++-12 gcc gcc-12 libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasan8 libbinutils libc-dev-bin libc-devtools libc6-dev
libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl libexpat1-dev libfakeroot
libfile-fcntllock-perl libgcc-12-dev libgprofng0 libitm1 libjs-jquery libjs-sphinxdoc
libjs-underscore liblsan0 libnsl-dev libpython3-dev libpython3.11-dev libstdc++-12-dev
libtirpc-dev libtsan2 libubsan1 linux-libc-dev make manpages-dev patch python3-dev
python3-distutils python3-lib2to3 python3-pip python3-setuptools python3-wheel
python3.11-dev rpcsvc-proto zlib1g-dev
0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded.
Need to get 65.3 MB of archives.
After this operation, 270 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian bookworm/main amd64 binutils-common amd64 2.40-2 [2,487 kB]
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.9) ...
Setting up libpython3-dev:amd64 (3.11.2-1+b1) ...
Setting up python3.11-dev (3.11.2-6) ...
Setting up python3-dev (3.11.2-1+b1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u3) ...
Step 4: Install python package bpytop by using the below command
root@linuxhelp:~# pip3 install bpytop --break-system-packages
Collecting bpytop
Downloading bpytop-1.0.68-py3-none-any.whl (83 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.8/83.8 kB 775.6 kB/s eta 0:00:00
Collecting psutil<6.0.0,>=5.7.0
Downloading psutil-5.9.6-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (283 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 283.6/283.6 kB 3.0 MB/s eta 0:00:00
Installing collected packages: psutil, bpytop
Successfully installed bpytop-1.0.68 psutil-5.9.6
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 5: Add Azlux repository to the apt source list by using the below command
root@linuxhelp:~# echo "deb http://packages.azlux.fr/debian/ buster main" | sudo tee /etc/apt/sources.list.d/azlux.list
deb http://packages.azlux.fr/debian/ buster main
Step 6: Add key for Azlux repository by using the below command
root@linuxhelp:~# wget -qO - https://azlux.fr/repo.gpg.key | sudo apt-key add -
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
Step 7: Update the apt source list by using the below command
root@linuxhelp:~# apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
Get:4 http://packages.azlux.fr/debian buster InRelease [3,989 B]
Get:5 http://packages.azlux.fr/debian buster/main amd64 Packages [1,187 B]
Fetched 5,176 B in 2s (2,129 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: http://packages.azlux.fr/debian/dists/buster/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Step 8: Update apt list upgrade by using the below command
root@linuxhelp:~# apt list --upgradable
Listing... Done
Step 9: Install BpyTop by using the below command
root@linuxhelp:~# apt install bpytop -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
linux-image-6.1.0-10-amd64
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
python3-psutil
Suggested packages:
python-psutil-doc
The following NEW packages will be installed:
bpytop python3-psutil
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 256 kB of archives.
After this operation, 1,273 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 python3-psutil amd64 5.9.4-1+b1 [189 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 bpytop all 1.0.68-1 [66.8 kB]
Fetched 256 kB in 0s (958 kB/s)
Selecting previously unselected package python3-psutil.
(Reading database ... 167097 files and directories currently installed.)
Preparing to unpack .../python3-psutil_5.9.4-1+b1_amd64.deb ...
Unpacking python3-psutil (5.9.4-1+b1) ...
Selecting previously unselected package bpytop.
Preparing to unpack .../bpytop_1.0.68-1_all.deb ...
Unpacking bpytop (1.0.68-1) ...
Setting up python3-psutil (5.9.4-1+b1) ...
Setting up bpytop (1.0.68-1) ...
Processing triggers for man-db (2.11.2-2) ...
Step 10: Open the BpyTop by using the below command
root@linuxhelp:~# bpytop
Step 11: View of Bpytop Command line Application as shown in the below image
Conclusion:
We have reached the end of this article. In this guide, we have walked you through the steps required to Install Bpytop on Debian 12. Your feedback is much welcome.
Comments ( 0 )
No comments available