How To Install libaudit-common on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libaudit-common
on Ubuntu 22.04.
What is libaudit-common
libaudit-common is:
The audit-libs package contains the dynamic libraries needed for applications to use the audit framework. It is used to monitor systems for security related events.
This package contains the libaudit.conf configuration file and the associated manpage.
There are three methods to install libaudit-common
on Ubuntu 22.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 libaudit-common Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libaudit-common
using apt-get
by running the following command:
sudo apt-get -y install libaudit-common
Install libaudit-common Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libaudit-common
using apt
by running the following command:
sudo apt -y install libaudit-common
Install libaudit-common 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 libaudit-common
using aptitude
by running the following command:
sudo aptitude -y install libaudit-common
How To Uninstall libaudit-common on Ubuntu 22.04
To uninstall only the libaudit-common
package we can use the following command:
sudo apt-get remove libaudit-common
Uninstall libaudit-common And Its Dependencies
To uninstall libaudit-common
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libaudit-common
Remove libaudit-common Configurations and Data
To remove libaudit-common
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libaudit-common
Remove libaudit-common configuration, data, and all of its dependencies
We can use the following command to remove libaudit-common
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libaudit-common
References
Summary
In this tutorial we learn how to install libaudit-common
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.