How To Install ansible-collection-ansible-posix on AlmaLinux 8
Introduction
In this tutorial we learn how to install ansible-collection-ansible-posix
on AlmaLinux 8.
What is ansible-collection-ansible-posix
Ansible Collection targeting POSIX and POSIX-ish platforms.
We can use yum
or dnf
to install ansible-collection-ansible-posix
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ansible-collection-ansible-posix.
Install ansible-collection-ansible-posix on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install ansible-collection-ansible-posix
using dnf
by running the following command:
sudo dnf -y install ansible-collection-ansible-posix
Install ansible-collection-ansible-posix on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install ansible-collection-ansible-posix
using yum
by running the following command:
sudo yum -y install ansible-collection-ansible-posix
How To Uninstall ansible-collection-ansible-posix on AlmaLinux 8
To uninstall only the ansible-collection-ansible-posix
package we can use the following command:
sudo dnf remove ansible-collection-ansible-posix
References
Summary
In this tutorial we learn how to install ansible-collection-ansible-posix
on AlmaLinux 8 using yum and dnf.