Installing bpytop
It's a nice system monitor utility. Looks a bit like HTOP.
Requires python3 version 3.6 or newer.
python3 --version
to find out
python3 --version
Python 3.8.5
Requires python3-pip (which is a python package manager)
which pythin3-pip
no output - it's not installed
sudo apt install python3-pip
pip3 install bpytop
(could use pip3 install bpytop --upgrade if already installed)
WARNING: The script bpytop is installed in '/home/chris/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed bpytop-1.0.52 psutil-5.8.0
## binary does not run.
## to try to fix the not in PATH message
nano ~/.bashrc
add line at end
# added by CH 27/12/2020
# https://linuxize.com/post/how-to-add-directory-to-path-in-linux/
# trying to add my home binary directory to PATH after installing bpytop
export PATH="/home/chris/.local/bin:$PATH"
##Save the file and load the new $PATH into the current shell session using the source command:
source ~/.bashrc
chris@duff:~$ source ~/.bashrc
chris@duff:~/.local/bin$ echo $PATH
/home/chris/.local/bin:/home/chris/bin:/home/chris/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
run bpytop
chris@duff:~$ bpytop
works :)
No comments:
Post a Comment