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 Cpufetch tools

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article introduces the knowledge of "how to install Cpufetch tools". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

About Cpufetch

Cpufetch is a powerful CPU architecture information acquisition tool that supports x86, x86x64 (Intel and AMD), and CPU for ARM architecture. Cpufetch supports running on Linux, Windows, and macOS operating systems, but we recommend that you use Cpufetch on Linux operating systems.

Tool installation source code build

First, we need to clone the project source code locally, then change to the project directory and run the "make" command to compile the source code:

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

The generated Makefile supports use on Linux, Windows, and macOS.

Linux installation

Available Cpufetch packages (cpufetch-git) are available on Arch Linux, and if you are using another Linux distribution system, you need to build Cpufetch using source code.

Windows installation

In the Releases page of the project, we can find the executable program compiled for the Windows system. Download it directly and run it using the CMD command line tool.

MacOS installation

You need to build the Cpufetch using source code.

Android installation

First, we need to install the termux application (terminal emulator). Then run the following command in termux:

Pkg install-y git make clang

Next, build the source code:

Sample usage of the git clone https://github.com/Dr-Noob/cpufetchcd cpufetchmake./cpufetch tool

Next, we'll show you how to use Cpufetch to get and view information about different CPU schemas.

X86_64 CPU

ARM CPU

Color and style

By default, Cpufetch will use the system's default color scheme to display information about CPU. However, you can also use a custom color scheme:

. / cpufetch-- color intel (Intel default color style). / cpufetch-- color amd (AMD default color style). / cpufetch-- color 239 Magi 90Magi 45lu 210 200pi 200lt 200L 100Q 200lc 45L 0200200 (sample)

When setting colors using RGB, you must provide four color values in the following form:

[R,G,B:R,G,B:R,G,B:R,G,B]

These colors correspond to CPU and text colors, so we need to customize all the color values.

This is the end of "how to install Cpufetch tools". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

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