How To Install cpupower-gui on Ubuntu 20.04
Introduction
In this tutorial we learn how to install cpupower-gui
on Ubuntu 20.04.
What is cpupower-gui
cpupower-gui is:
This utility can change the operating frequency of the CPU for each core separately. Additionally, the cpu governor can be changed. The program can detect offline cores and only present the available ones. Furthermore, if a core doesn’t support frequency scaling is not shown. There is also an option to apply the same settings to all cores simultaneously. To apply the settings, the user must be local and active, as well as in group sudo. Local and active users not in this group must authenticate themselves as admin in order to apply the settings.
There are three methods to install cpupower-gui
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install cpupower-gui Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install cpupower-gui
using apt-get
by running the following command:
sudo apt-get -y install cpupower-gui
Install cpupower-gui Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install cpupower-gui
using apt
by running the following command:
sudo apt -y install cpupower-gui
Install cpupower-gui Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install cpupower-gui
using aptitude
by running the following command:
sudo aptitude -y install cpupower-gui
How To Uninstall cpupower-gui on Ubuntu 20.04
To uninstall only the cpupower-gui
package we can use the following command:
sudo apt-get remove cpupower-gui
Uninstall cpupower-gui And Its Dependencies
To uninstall cpupower-gui
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove cpupower-gui
Remove cpupower-gui Configurations and Data
To remove cpupower-gui
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge cpupower-gui
Remove cpupower-gui configuration, data, and all of its dependencies
We can use the following command to remove cpupower-gui
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge cpupower-gui
References
Summary
In this tutorial we learn how to install cpupower-gui
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.