Get the App
SLTechnology News&Howtos  ›  Development  › 

How to install Cpufetch tools

Shulou Source: shulou.com Published: 2022-06-03 05:56:00 11月18日 Update

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!

Tags: Color tool source code system run next information command architecture style support operating system content scheme more knowledge program project compilation configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia vpn Microsoft Redmi Linux