GPU-Viewer is a graphical tool that provides detailed information about your GPU, helping you monitor its performance and diagnose issues. It presents essential data such as GPU utilization, temperature, and driver version in an easy-to-read format, making it invaluable for gamers, developers, and system administrators who need to watch their graphics hardware.
To install GPU-Viewer on Ubuntu 24.04, 22.04, or 20.04 using the command-line terminal, you have two options: utilizing a well-known PPA maintained by Arun Sivaraman or an alternative method using Flatpak with the Flathub repository. Both methods ensure you get the latest version of GPU-Viewer for optimal performance monitoring.
Method 1: Install GPU-Viewer via PPA
Update Ubuntu Before GPU-Viewer Installation
Before proceeding with the installation, ensuring your Ubuntu system is up-to-date is essential. To update your system, run the following command:
sudo apt update && sudo apt upgrade
Import GPU-Viewer PPA on Ubuntu
The default Ubuntu repositories do not offer GPU-Viewer. However, you can install it from a PPA maintained by Arun Sivaraman, which consistently provides the latest version.
First, make sure to install the required dependencies using the following command:
sudo apt install software-properties-common -y
Next, import the PPA into your system with this command:
sudo add-apt-repository ppa:arunsivaraman/gpuviewer -y
Update Packages Index for GPU-Viewer Import
After adding the PPA, you must update the package index to sync the changes. Run the following command to update the package index:
sudo apt update
Install GPU-Viewer on Ubuntu via APT Command
After adding the PPA and updating the package index, proceed with the GPU-Viewer installation. To install GPU-Viewer on your Ubuntu system, execute the following command:
sudo apt install gpu-viewer
Method 2: Install GPU-Viewer via Flatpak and Flathub
This section explores an alternative GPU-Viewer installation method using the Flatpak package manager. Like Snap, Flatpak is a third-party installation package manager across many Linux distributions, providing access to the latest packages.
Note: If your system does not have Flatpak installed, please refer to our guide on How to Install Flatpak on Ubuntu for step-by-step instructions on installing the most recent supported version of Flatpak.
Enable Flathub For GPU-Viewer
Before installing GPU-Viewer through Flatpak, you must enable the Flathub repository, a primary source for Flatpak applications. To enable Flathub, execute the following command in your terminal:
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
This command adds the Flathub repository to your Flatpak configuration.
Install GPU-Viewer via Flatpak Command
With Flathub enabled, you can now install GPU-Viewer using the flatpak install
command. Run the following command in your terminal:
flatpak install flathub io.github.arunsivaramanneo.GPUViewer
This command installs the GPU-Viewer application from the Flathub repository, providing you with the latest version of the utility.
Launch GPU-Viewer via CLI or GUI
CLI Methods to Launch GPU-Viewer
For those who prefer using the terminal, you can launch GPU-Viewer by executing the following command:
gpu-viewer
If you have installed GPU-Viewer using Flatpak, you will need to use the following command instead:
flatpak run io.github.arunsivaramanneo.GPUViewer
GUI Method to Launch GPU-Viewer
For desktop users, you can find GPU-Viewer in your application menu and launch it by clicking its icon. To locate GPU-Viewer, follow this path:
Activities > Show Applications > GPU-Viewer
Additional GPU-Viewer Commands
Update GPU-Viewer
It is essential to keep your GPU-Viewer installation up-to-date to ensure you have access to the latest features and bug fixes. The update process differs depending on your installation method.
APT Update Method for GPU-Viewer
If you have installed GPU-Viewer using the APT PPA method, you can update it by running the following commands:
sudo apt update
sudo apt upgrade gpu-viewer
Flatpak Update Method for GPU-Viewer
For those who have installed GPU-Viewer using Flatpak, use the following command to update it:
flatpak update io.github.arunsivaramanneo.GPUViewer
Or to update all Flatpak installations:
flatpak update
Remove GPU-Viewer
If you need to uninstall GPU-Viewer from your Ubuntu system, the removal process will depend on your installation method. Below are the commands for each method:
APT Remove Method for GPU-Viewer
To uninstall GPU-Viewer installed via APT, run the following command:
sudo apt remove gpu-viewer
If you want to remove the PPA repository after uninstalling GPU-Viewer, execute the following command:
sudo add-apt-repository --remove ppa:arunsivaraman/gpuviewer -y
Flatpak Remove Method for GPU-Viewer
For GPU-Viewer installations using Flatpak, use the following command to uninstall it:
flatpak uninstall io.github.arunsivaramanneo.GPUViewer
Conclusion
Now that GPU-Viewer is installed on your Ubuntu system, you can effectively monitor your GPU’s performance and gather detailed information about your graphics hardware. Depending on your preference, you might have chosen the PPA by Arun Sivaraman for a straightforward installation or the Flatpak method with Flathub for its versatility. Make sure to keep GPU-Viewer updated to take advantage of the latest features and improvements. For further assistance, consult the GPU-Viewer documentation and community resources.