How to install Bpytop on Ubuntu 21.04
To Install Bpytop on Ubuntu 21.04
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 following command
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute
Step 2: Install python3 by using the following command
root@linuxhelp:~# apt install python3-pip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libllvm11 net-tools
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
binutils binutils-common binutils-x86-64-linux-gnu build-essential dpkg-dev fakeroot g++ g++-10 gcc gcc-10
javascript-common libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan6
libatomic1 libbinutils libc-dev-bin libc-devtools libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0
libexpat1-dev libfakeroot libgcc-10-dev libitm1 libjs-jquery libjs-sphinxdoc libjs-underscore liblsan0
libnsl-dev libpython3-dev libpython3.9-dev libquadmath0 libstdc++-10-dev libtirpc-dev libtsan0 libubsan1
linux-libc-dev lto-disabled-list make manpages-dev python-pip-whl python3-dev python3-distutils
python3-setuptools python3-wheel python3.9-dev rpcsvc-proto zlib1g-dev
Suggested packages:
binutils-doc debian-keyring g++-multilib g++-10-multilib gcc-10-doc gcc-multilib autoconf automake libtool
flex bison gcc-doc gcc-10-multilib gcc-10-locales glibc-doc libstdc++-10-doc make-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++-10 gcc gcc-10
javascript-common libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan6
libatomic1 libbinutils libc-dev-bin libc-devtools libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0
libexpat1-dev libfakeroot libgcc-10-dev libitm1 libjs-jquery libjs-sphinxdoc libjs-underscore liblsan0
libnsl-dev libpython3-dev libpython3.9-dev libquadmath0 libstdc++-10-dev libtirpc-dev libtsan0 libubsan1
linux-libc-dev lto-disabled-list make manpages-dev python-pip-whl python3-dev python3-distutils python3-pip
python3-setuptools python3-wheel python3.9-dev rpcsvc-proto zlib1g-dev
0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded.
Need to get 56.0 MB of archives.
After this operation, 216 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu hirsute/main amd64 binutils-common amd64 2.36.1-6ubuntu1 [217 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu hirsute/main amd64 libbinutils amd64 2.36.1-6ubuntu1 [584 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu hirsute/main amd64 libctf-nobfd0 amd64 2.36.1-6ubuntu1 [97.8 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu hirsute/main amd64 libctf0 amd64 2.36.1-6ubuntu1 [95.0 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu hirsute/main amd64 binutils-x86-64-linux-gnu amd64 2.36.1-6ubuntu1 [1,830 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu hirsute/main amd64 binutils amd64 2.36.1-6ubuntu1 [3,388 B]
Get:7 http://in.archive.ubuntu.com/ubuntu hirsute/main amd64 libc-dev-bin amd64 2.33-0ubuntu5 [19.3 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 linux-libc-dev amd64 5.11.0-40.44 [1,237 kB]
Get:9 http://in.archive.ubuntu.com/ubuntu hirsute/main amd64 libcrypt-dev amd64 1:4.4.17-1ubuntu3 [104 kB]
Get:10 http://in.archive.ubuntu.com/ubuntu hirsute/main amd64 rpcsvc-proto amd64 1.4.2-0ubuntu4 [62.8 kB]
Get:11 http://in.archive.ubuntu.com/ubuntu hirsute/main amd64 libtirpc-dev amd64 1.3.1-1build1 [183 kB]
Get:12 http://in.archive.ubuntu.com/ubuntu hirsute/main amd64 libnsl-dev amd64 1.3.0-0ubuntu3 [66.4 kB]
Get:13 http://in.archive.ubuntu.com/ubuntu hirsute/main amd64 libc6-dev amd64 2.33-0ubuntu5 [2,143 kB]
Get:14 http://in.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 libcc1-0 amd64 11.1
Step 3: Install python package bpytop
root@linuxhelp:~# pip3 install bpytop
Collecting bpytop
Downloading bpytop-1.0.67-py3-none-any.whl (82 kB)
|████████████████████████████████| 82 kB 264 kB/s
Collecting psutil<6.0.0,>=5.7.0
Downloading psutil-5.8.0-cp39-cp39-manylinux2010_x86_64.whl (293 kB)
|████████████████████████████████| 293 kB 2.9 MB/s
Installing collected packages: psutil, bpytop
Successfully installed bpytop-1.0.67 psutil-5.8.0
Step 4: Add azlux repository to the apt source list
root@linuxhelp:~# echo "deb http://packages.azlux.fr/debian/ buster main" | sudo tee /etc/apt/sources.list.d/azlux.list
Step 5: Add key for azlux repository
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 6: Update the apt source list
root@linuxhelp:~# apt update
Hit:1 http://in.archive.ubuntu.com/ubuntu hirsute InRelease
Get:2 http://in.archive.ubuntu.com/ubuntu hirsute-updates InRelease [115 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu hirsute-backports InRelease [101 kB]
Get:4 http://security.ubuntu.com/ubuntu hirsute-security InRelease [110 kB]
Get:5 http://ppa.launchpad.net/ondrej/php/ubuntu hirsute InRelease [23.9 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 DEP-11 Metadata [97.8 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu hirsute-updates/universe amd64 DEP-11 Metadata [57.8 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu hirsute-updates/multiverse amd64 DEP-11 Metadata [940 B]
Get:9 http://in.archive.ubuntu.com/ubuntu hirsute-backports/universe amd64 DEP-11 Metadata [9,348 B]
Get:10 http://ppa.launchpad.net/ondrej/php/ubuntu hirsute/main amd64 Packages [92.7 kB]
Get:11 http://security.ubuntu.com/ubuntu hirsute-security/main amd64 DEP-11 Metadata [9,676 B]
Get:12 http://ppa.launchpad.net/ondrej/php/ubuntu hirsute/main i386 Packages [28.2 kB]
Get:13 http://security.ubuntu.com/ubuntu hirsute-security/universe amd64 DEP-11 Metadata [5,664 B]
Get:14 http://packages.azlux.fr/debian buster InRelease [3,986 B]
Get:15 http://packages.azlux.fr/debian buster/main amd64 Packages [3,709 B]
Get:16 http://packages.azlux.fr/debian buster/main i386 Packages [2,389 B]
Fetched 662 kB in 3s (243 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
Step 7: Install BpyTop by using the following command
root@linuxhelp:~# apt install bpytop -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libllvm11 net-tools
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
bpytop
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 52.7 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://packages.azlux.fr/debian buster/main amd64 bpytop all 1.0.67 [52.7 kB]
Fetched 52.7 kB in 1s (35.5 kB/s)
Selecting previously unselected package bpytop.
(Reading database ... 199914 files and directories currently installed.)
Preparing to unpack .../archives/bpytop_1.0.67_all.deb ...
Unpacking bpytop (1.0.67) ...
Setting up bpytop (1.0.67) ...
Requirement already satisfied: psutil in /usr/local/lib/python3.9/dist-packages (5.8.0)
Collecting psutil
Using cached psutil-5.8.0-cp39-cp39-manylinux2010_x86_64.whl (293 kB)
Downloading psutil-5.7.3.tar.gz (465 kB)
|████████████████████████████████| 465 kB 1.3 MB/s
Q
What is htop time?
A
TIME is the cumulative time the CPU spent in the process since it was started.
Q
How do I install Bashtop on Linux?
A
Add the PPA repository and use apt to install the program
Q
What is bashtop Linux?
A
Bashtop is a terminal-based resource monitoring utility in Linux.
Q
What is htop used for?
A
It is used to determine the cause of load by each process.
Q
What is the top command?
A
It provides a dynamic real-time view of a running system.