CPU-X is free and open-source, which gathers information from the system’s CPU, motherboard, RAM, graphics card, and more, then displays this information in an easy-to-read format. The following tutorial will teach you how to install CPU-X on Manjaro Linux, utilizing the command line terminal with Manjaro’s package manager pamac.
Update Manjaro
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, for users that have Pamac installed, which most Manjaro desktops do, I would optionally suggest running an update; this will ensure that your Arch Linux and Manjaro packages are fully up-to-date.
sudo pamac checkupdates -a
sudo pamac upgrade -a
Troubleshooting Updating Manjaro Packages
Manjaro/Arch Linux is a rolling release; occasionally, 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
Then repeat the update process.
Install CPU-X with AUR
Now you will install CPU-X using the natively installed Manjaro package manager Pamac.
Situational – Enable AUR for ‘pamac’
First, by default, AUR is disabled. You will first need to enable it, which you can do with the following command.
sudo sed -Ei '/EnableAUR/s/^#//' /etc/pamac.conf
Run CPU-X Build Command
Now you can use the install or build command. In most cases, I prefer the build command, the method for installing packages from the AUR.
In your terminal, run the following command.
pamac build cpu-x
Optionally, once done, you can verify the version installed in your terminal using the following command.
cpu-x --version
How to Launch the CPU-X
Now that you have the application installed, launching can be done in a few ways.
cpu-x
Additionally, you can launch from the applications menu by following the path.
Taskbar > System > CPU-X.
Example:
Once launched, you will come to the application GUI, where you will have multiple tabs for CPU, Caches, Motherboard, System, Graphics, and Bench.
Example system benchmark tab:
I recommend browsing through them, along with the settings toggle in the top left corner, where you can adjust start-up settings.
Examples:
Additional Commands & Tips
How to Update & Upgrade CPU-X
The best way to upgrade the software is to use the following terminal command.
sudo pamac checkupdates -a
sudo pamac upgrade -a
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
If you no longer want the CPU-X software installed, use the following terminal command.
pamac remove cpu-x
Lastly, this is optional but good practice, clear up orphans and clear your cache to reduce clutter.
Clear orphan leftovers that are no longer required.
pamac remove -o
Clear packages deleted from the package cache.
pamac clean -uv -k 0
Clear redundant package versions from the package cache (keep the last two versions)
pamac clean -v -k 2
Lastly, for users that enabled pamac and then had second thoughts about using it and instead wanted to use something else, you can easily disable it using the following command.
sudo sed -Ei '/EnableAUR/s/^/#/' /etc/pamac.conf
Comments and Conclusion
CPU-X for Linux offers an array of features to help you keep your computer running optimally. From real-time monitoring of temperature, power consumption, and voltage readings; to device ID detection & support for trusted brands like Intel & AMD processors.