AnsiblePilot — Master Ansible Automation
AnsiblePilot is the leading resource for learning Ansible automation, DevOps, and infrastructure as code. Browse over 1,100 tutorials covering Ansible modules, playbooks, roles, collections, and real-world examples. Whether you are a beginner or an experienced engineer, our step-by-step guides help you automate Linux, Windows, cloud, containers, and network infrastructure.
Popular Topics
About Luca Berton
Luca Berton is an Ansible automation expert, author of "Ansible for VMware by Examples" and "Ansible for Kubernetes by Example" published by Apress, and creator of the Ansible Pilot YouTube channel. He shares practical automation knowledge through tutorials, books, and video courses to help IT professionals and DevOps engineers master infrastructure automation.
How to install Ansible in Arch Linux 2021.12.01 - Ansible install — Video Tutorial
The easier way to install the latest version of Ansible and maintain up-to-date in Arch Linux 2021.12.01 using Pacman and the Community repository.
What You'll Learn
- How to install Ansible in Arch Linux
- Links
- code
- execution
- before execution
- after execution
- Conclusion
- Related Articles
Full Tutorial Content
How to install Ansible in Arch Linux?
Today we're going to talk about the easier way to install and maintain up-to-date Ansible in Arch Linux using the Community repository.
I'm Luca Berton and welcome to today's episode of Ansible Pilot.
How to install Ansible in Arch Linux
- ansible package included in Community default repositories
Today we're talking about How to install Ansible in Arch Linux.
The good news is that Ansible is included in the default repository so you could install it simply with your usual package manager "pacman".
You could expect the latest version of Ansible in the "Community" repository.
At the moment is available the latest 5.0.
Links
- [https://archlinux.org/packages/community/any/ansible/](https://archlinux.org/packages/?q=ansible)
## Playbook
Install Ansible in Arch Linux using "pacman" Package Manager using the Community repository.
code
- Install-Ansible-Arch Linux.sh
```bash
#!/bin/bash
sudo pacman -Syu
sudo pacman -Si ansible
sudo pacman -S ansible
sudo pacman -Q | grep ansible
```
execution
```bash
pacman -Syu
:: Synchronizing package databases...
core 137.4 KiB 1174 KiB/s 00:00 [#######################################################################] 100%
extra 1585.5 KiB 4.11 MiB/s 00:00 [#######################################################################] 100%
community 5.8 MiB 5.06 MiB/s 00:01 [#######################################################################] 100%
:: Starting full system upgrade...
there is nothing to do
[root@Arch Linux vagrant]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
there is nothing to do
[root@Arch Linux vagrant]# pacman -Ss ansible
community/ansible 5.0.0-1
Official assortment of Ansible collections
community/ansible-bender 0.9.0-1
Build container images using Ansible playbooks
community/ansible-core 2.12.0-1
Radically simple IT automation platform
community/ansible-lint 5.2.1-1
Checks playbooks for practices and behaviour that could potentially be improved.
community/awxkit 19.5.0-1
cli client and python library for ansible awx (tower)
community/molecule 3.5.2-1
Aids in the development and testing of Ansible roles
community/python-ansible-compat 0.5.0-1
Functions that help interacting with various versions of Ansible
community/vim-ansible 3.2-1 (vim-plugins)
A vim plugin for syntax highlighting Ansible\'s common filetypes
[root@Arch Linux vagrant]# pacman -Si ansible
Repository : community
Name : ansible
Version : 5.0.0-1
Description : Official assortment of Ansible collections
Architecture : any
URL : https://pypi.org/project/ans
About This Tutorial
- Author: Luca Berton
- Difficulty: Beginner
- Read time: 9 min
- Category: installation
Read the full written article: How to install Ansible in Arch Linux 2021.12.01 - Ansible install