Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and use Bpytop in Linux system

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to install and use Bpytop in the Linux system. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

Bpytop is an efficient and visually attractive terminal-based resource monitor.

Preparatory work

Before you begin to install Bpytop, ensure that the system meets the following requirements:

Python3Psutil module. Install python3-m pip install psutil install Bpytop

You can install Bpytop in two ways: download the source package from github for compilation and installation, and install it from the repository of each distribution system. Let's look at each of the following installation methods:

Source code installation

First, you need to clone from github:

[root@localhost] # git clone https://github.com/aristocratos/bpytop.gitCloning into 'bpytop'...remote: Enumerating objects: 121, done.remote: Counting objects: 100%, done.remote: Compressing objects: 100% (72), done.remote: Total 501 (delta 73), reused 95 (delta 48), pack-reused 380Receiving objects: 100% (501x501), 765.44 KiB | 81.00 KiB/s, done.Resolving deltas: 100% (298x298), done.

After the cloning is complete, go to the bpytop directory and compile and install:

[root@localhost ~] # python3-m pip install psutil [root@localhost ~] # cd bpytop/ [root@localhost bpytop] # make install

When compiling and installing, you need to install the psutil module. Without installation, bpytop cannot be started.

The psutil module can also be installed from the distribution repository, such as ubuntu and Centos:

# install python3-psutil in Centos8 [root@localhost ~] # yum-y install python3-psutil# Ubuntu 18.04. install python3-psutilbob@ubuntu-18-04root@localhost in $sudo apt-y install python3-psutil

The installation is complete.

How to install in various distributions

In addition to compiling from source, you can install Bpytop as follows: install using the snap package manager in Ubuntu

Bob@ubuntu-18-04 from James Tigert $sudo snap install bpytopbpytop 1.0.22 from James Tigert (kz6fittycent) installed

Install using dnf/yum package Manager in Centos8

[root@localhost ~] # dnf-y install bpytop

Install using pkg package Manager in FreeBSD

$sudo pkg install bpytop

Start Bpytop

Just type bpytop in the terminal to run:

$bpytop

Launch the terminal in the Centos8 text mode terminal launch Bpytop in the Bpytop Ubuntu graphical interface if you want to modify the theme and other settings, you can press the ESC key ``, then select`` OPTIONS, and then some options will appear for modification. Use the keyboard up and down and press the left and right keys to modify. If you need help, you can press the h key or ESC key ``and select the`` HELP option. You can open the help page. So how do I exit the Bpytop program? Just press the Q key to exit. Or ctrl + c shortcut key to exit.

This is the end of the article on "how to install and use Bpytop in the Linux system". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report