How To Install irqbalance on Ubuntu 18.04
Introduction
In this tutorial we learn how to install irqbalance on Ubuntu 18.04.
What is irqbalance
irqbalance is:
Daemon to balance interrupts across multiple CPUs, which can lead to better performance and IO balance on SMP systems. This package is especially useful on systems with multi-core processors, as interrupts will typically only be serviced by the first core.
Note: irqbalance is not useful if you don’t have more than one core or socket.
There are three methods to install irqbalance on Ubuntu 18.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 irqbalance Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install irqbalance using apt-get by running the following command:
sudo apt-get -y install irqbalance
Install irqbalance Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install irqbalance using apt by running the following command:
sudo apt -y install irqbalance
Install irqbalance 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 irqbalance using aptitude by running the following command:
sudo aptitude -y install irqbalance
How To Uninstall irqbalance on Ubuntu 18.04
To uninstall only the irqbalance package we can use the following command:
sudo apt-get remove irqbalance
Uninstall irqbalance And Its Dependencies
To uninstall irqbalance and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove irqbalance
Remove irqbalance Configurations and Data
To remove irqbalance configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge irqbalance
Remove irqbalance configuration, data, and all of its dependencies
We can use the following command to remove irqbalance configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge irqbalance
References
Summary
In this tutorial we learn how to install irqbalance package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.