CPU-X is a free and open-source software designed for GNU/Linux and FreeBSD for system profiling and monitoring application that provides detailed information on the hardware components of a computer system. CPU-X gathers information from the system’s CPU, motherboard, RAM, graphics card, and more, then displays this information in an easy-to-read format. This makes it a valuable tool for troubleshooting hardware issues or simply for getting a better understanding of the inner workings of a computer system.
In addition to displaying essential information about hardware components, CPU-X also provides an overview of the system’s overall performance. This can help determine whether or not a particular component bottlenecks a system. Overall, CPU-X is a versatile and helpful application for anyone who needs to gather information about their computer system.
The following tutorial will teach you how to install CPU-X on Manjaro 21 Linux. The tutorial will use the command line terminal with the yay AUR helper. Users that have another AUR helper utility installed can use this tutorial, just replace the yay helper command with what you use instead.
Table of Contents
Update Manjaro Linux
First, update your system to ensure all existing packages are up to date. This will ensure no conflicts arise as best as possible during the installation.
sudo pacman -Syu
Sometimes, you may need a complete database download if you have not upgraded your Arch Linux system for a while; use the following command if the above update command does not work.
sudo pacman -Syyu
Lastly, Manjaro/Arch Linux being a rolling release, on the rare occasion when updating packages with Pacman GPG keys can become invalid or corrupt. If both commands do not work, use the following command.
Note, this is only if you have errors updating with the first two commands above if you can skip these.
sudo pacman -S archlinux-keyring manjaro-keyring sudo pacman-key --populate archlinux manjaro
The above should work in nearly all cases, but if it does not, use the following steps as a last resort.
sudo rm -r /etc/pacman.d/gnupg sudo pacman-key --init sudo pacman-key --populate manjaro sudo pacman-key --populate archlinux sudo pacman -Syvv manjaro-keyring
Install yay Helper
The easiest option for the average desktop user environment is to install CPU-X with the AUR, making updating the application binary in the future much easier and quicker.
To begin the installation, you must have GIT installed to import the yay repository to install/build. From your command terminal, use the following code to begin the installation.
sudo pacman -S --needed --noconfirm base-devel git
Now clone the yay archive using the following terminal command.
git clone https://aur.archlinux.org/yay-git.git
Next, move the archive to the /OPT/ directory. This is a good location for any other archive installs, keep everything located, and traditionally the guide is a commonly used area for different applications.
sudo mv yay-git /opt/
Now navigate to the yay-git directory location.
Next, you can optionally set the user permissions for the directory.
sudo chown -R $user:$user /opt/yay-git
Build the package using the makepkg command.
Install CPU-X with yay & CLI Command
Now that you have installed the yay package management helper, you can install the software using the following command.
yay -S cpu-x --noconfirm
Remove –noconfirm to manually go through the installation questions instead of selecting the default answers. Please note the default is Wayland support; for X11, you will need to do it manually.
How to Launch the CPU-X
Now that you have the application installed, launching can be done in a few ways.
Additionally, you can launch from the applications menu by following the path.
Taskbar > System > CPU-X.
Once launched, you will come to the application GUI, where you will have multiple tabs for CPU, Caches, Motherboard, System, Graphics, and Bench.
I recommend browsing through them, along with the settings toggle in the top left corner, where you can adjust start-up settings.
How to Update & Upgrade CPU-X
The best way to upgrade the software is to use the following terminal command.
yay -Syu --devel --timeupdate
Note it is advised to run terminal commands now and then, even if you have set up AUR auto-updates using the automatic GUI updater; this ensures you are not missing anything.
How to Remove (Uninstall) CPU-X
Execute the following terminal command for users wanting to remove the application that matches the installation choice you originally installed.
yay -Rns cpu-x --noconfirm
Optionally, you can run the following command to clean up any leftover unused dependencies, and this is highly recommended to run, so your system does not become bloated.
Comments and Conclusion
CPU-X is a great application that can help monitor your system, get information about your CPU, etc. The fact that it is free and open source is also a plus. If you are looking for an application like this, I recommend trying CPU-X.