There are ways to check CPU information on Linux. Probably the most common is the
lscpu command that gives you plenty of information about all the CPU cores on your system.
You may find CPU information there without installing any additional packages. That works of course. However, I recently stumbled upon a new tool that displays the CPU details in Linux in a beautiful manner.
The ASCII art of the processor manufacturer makes it look cool.
This looks beautiful, isn’t it? This is similar to Neofetch or Screenfetch tools that show the system information in beautiful ASCII art in Linux. Similar to those tools, you can use CPUFetch if you are showcasing your desktop screenshot.
The tool outputs the ASCII art of the processor manufacturer, its name, microarchitecture, frequency, cores, threads, peak performance, cache sizes, Advanced Vector Extensions, and more.
You can use custom colors apart from a few themes it provides. This gives you additional degree of freedom when you are ricing your desktop and want to color match all the elements on your Linux setup.
Installing CPUFetch on Linux
Unfortunately, CPUFetch is rather new, and it is not included in your distribution’s repository. It doesn’t even provide ready to use DEB/RPM binaries, PPAs, Snap or Flatpak packages.
Don’t worry. Installation as well as removal is not that complicated. Let me show you the steps.
I am using Ubuntu and you would need to install Git on Ubuntu first. Some other distributions come preinstalled with it, if not use your distribution’s package manager to install it.
Now, clone the Git repository wherever you want. Home directory is fine as well.
git clone https://github.com/Dr-Noob/cpufetch
Switch to the directory you just cloned:
You’ll see a make file here. Use it to compile the code.
Now you’ll see a new executable file named
cpufetch. You run this executable to display the CPU information in the terminal.
This is what it showed for my system. AMD logo looks a lot cooler in ASCII, don’t you think?
How do you remove Cpufetch? It’s pretty simple. When you compiled the code, it produced just one file and that too in the same directory as the rest of the code.
So, to remove CPUFetch from your system, simply remove its entire folder. You know how to remove a directory in Linux terminal, don’t you? Come out of the cpufetch directory and use the rm command:
rm -rf cpufetch
That was simple, thankfully because removing software installed from source code could be really tricky at times.
Back to cpufetch. I think it’s a utility for those who like to show off their desktop screenshots in various Linux group. Since we have Neofetch for the distribution and CPUFetch for CPU, I wonder if we could have a GPU fetch with ASCII art of Nvidia as well :)