Installing Ansible on Ubuntu
Ubuntu builds are available in a PPA here.
To configure the PPA on your system and install Ansible run these commands:
$ sudo apt update
$ sudo apt install software-properties-common
$ sudo add-apt-repository --yes --update ppa:ansible/ansible
$ sudo apt install ansible
git@git:~$ ansible
ERROR: Ansible requires the locale encoding to be UTF-8; Detected ISO8859-1.
git@git:~$ ansible --version
ERROR: Ansible requires the locale encoding to be UTF-8; Detected ISO8859-1.
git@git:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS"
git@git:~$
locale
)and it will not show utf-8. Please do explain why your system is not set to utf-8; that should be the default and not latin-1/iso8859-1 – Rinzwind Mar 25 '23 at 16:26