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 use CPUFetch to display CPU details in a Linux terminal

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly introduces "how to use CPUFetch to display CPU details in Linux terminals". In daily operation, I believe many people have doubts about how to use CPUFetch to display CPU details in Linux terminals. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the questions of "how to use CPUFetch to display CPU details in Linux terminals". Next, please follow the editor to study!

There is a way to check CPU information on Linux. Perhaps the most common is the lscpu command, which provides a large amount of information about all CPU cores on the system.

Lscpu command output

You can find CPU information there without installing any additional packages. Of course it's feasible. However, I recently stumbled upon a new tool that displays CPU details in Linux in a beautiful way.

The processor maker's ASCII art makes it look cool.

It looks beautiful, doesn't it? This is similar to Neoftech or Screenfetch, which uses beautiful ASCII art to present system information in Linux. Similar to these tools, if you want to show your desktop screenshot, you can use CPUFetch.

The tool can output the processor manufacturer's ASCII art, its name, microarchitecture, frequency, core, threads, peak performance, cache size, advanced vector extensions, and so on.

In addition to some of the themes it provides, you can also use custom colors. This gives you more freedom when you are tidying up your desktop and want to color match all the elements in the Linux environment.

Install CPUFetch on Linux

Unfortunately, CPUFetch is quite new software, and it's not included in your distribution's software library, and it doesn't even provide ready-made DEB/RPM binaries, PPA, Snap, or Flatpak packages.

Arch Linux users can find it in AUR, but for others, the only way out is to build from source code.

Don't worry. Installation and removal are not that complicated. Let me tell you the steps.

I am using Ubuntu, you will need to install Git on Ubuntu first. Some distributions will pre-install Git. If not, please use your distribution's package manager to install it.

Now, clone the Git warehouse to where you want it. A home catalog is fine.

Git clone https://github.com/Dr-Noob/cpufetch

Change to the directory you just cloned:

Cd cpufetch

You will see a Makefile file here. Use it to compile the code.

Make

CPUFetch Installation

Now you will see a new executable file called cpufetch. You run this executable file to display the terminal's CPU information.

. / cpufetch

This is my system display. AMD logo looks cooler with ASCII code, don't you think?

How do I delete a CPUFetch? There's nothing to it. When you compile the code, it produces only one file and is in the same directory as other code.

So, to remove CPUFetch from your system, simply delete its entire folder. Do you know how to delete a directory in a Linux terminal? Come out of the cpufetch directory and use the rm command.

Rm-rf cpufetch at this point, the study on "how to use CPUFetch to display CPU details in Linux terminals" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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

Servers

Wechat

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

12
Report