# installing ansible 2.11 on debian 11

**URL:** <https://forum.ansible.com/t/installing-ansible-2-11-on-debian-11/35599>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [August 8, 2021, 9:24am UTC](https://forum.ansible.com/t/installing-ansible-2-11-on-debian-11/35599 "2021-08-08T09:24:53Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_Cernat](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@Alex\_Cernat](https://forum.ansible.com/u/Alex_Cernat)\
**Post date:** [August 8, 2021, 9:24am UTC](https://forum.ansible.com/t/installing-ansible-2-11-on-debian-11/35599/1 "2021-08-08T09:24:53Z")

</div>

Hello

The official documentation seems to be really outdated (ubuntu trusty is veeeeeery old, should be at least focal as repository). I could not find any 2.11 deb package (latest is 2.10.x), but also I couldn’t find any official statement that from 2.11 onward the only/recommended way to install ansible-core is with pip, and there will be no more official deb packages for ansible/ansible-core (other than the ones from debian distribution, which already are outdated - a version behind).

Could anyone clarify this issue ? (maybe with official statements / links)

Thank you!

---

<div class="post-metadata">

**Author:** ![Antony\_Stone](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@Antony\_Stone](https://forum.ansible.com/u/Antony_Stone)\
**Post date:** [August 8, 2021, 9:47am UTC](https://forum.ansible.com/t/installing-ansible-2-11-on-debian-11/35599/2 "2021-08-08T09:47:09Z")

</div>

> Hello
> 
> The official documentation seems to be really outdated (ubuntu trusty is  
> veeeeeery old, should be at least focal as repository).

You may find [http://ppa.launchpad.net/ansible/ansible/ubuntu/dists/](http://ppa.launchpad.net/ansible/ansible/ubuntu/dists/) helpful.

> I could not find any 2.11 deb package (latest is 2.10.x), but also I couldn't  
> find any official statement that from 2.11 onward the only/recommended way to  
> install ansible-core is with pip, and there will be no more official deb  
> packages for ansible/ansible-core (other than the ones from debian  
> distribution, which already are outdated - a version behind).

I notice you're also trying to install on Debian 11, which is still classified  
as "testing" and does not yet have a planned stable release date.

> Could anyone clarify this issue ? (maybe with official statements / links)

I'm not aware of any decision not to continue providing .deb packages, but  
it's unlikely you're going to find a statement to that effect anywhere, since  
it's simply the absence of a decision to change anything.

Antony.

---

<div class="post-metadata">

**Author:** ![Alex\_Cernat](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@Alex\_Cernat](https://forum.ansible.com/u/Alex_Cernat)\
**Post date:** [August 8, 2021, 8:29pm UTC](https://forum.ansible.com/t/installing-ansible-2-11-on-debian-11/35599/3 "2021-08-08T20:29:29Z")

</div>

Pe duminică, 8 august 2021, la 12:47:41 UTC+3, Antony Stone a scris:

> > Hello
> > 
> > The official documentation seems to be really outdated (ubuntu trusty is  
> > veeeeeery old, should be at least focal as repository).
> 
> You may find [http://ppa.launchpad.net/ansible/ansible/ubuntu/dists/](http://ppa.launchpad.net/ansible/ansible/ubuntu/dists/) helpful.

like I said, I could not find any 2.11 ansible-core package on that repository, only 2.10 ansible-base; checked again … nothing!

> > I could not find any 2.11 deb package (latest is 2.10.x), but also I couldn’t  
> > find any official statement that from 2.11 onward the only/recommended way to  
> > install ansible-core is with pip, and there will be no more official deb  
> > packages for ansible/ansible-core (other than the ones from debian  
> > distribution, which already are outdated - a version behind).
> 
> I notice you’re also trying to install on Debian 11, which is still classified  
> as “testing” and does not yet have a planned stable release date.

actually, if no “calamity level bug” will be discovered, debian 11 will be released next week on 14 august, so its “stableness” is very high in this moment (some - not few - are even using testing in production)  
if you can find a 2.11 ansible-core deb package even for the stable version (debian 10), I am very curious, because I could not find it

> > Could anyone clarify this issue ? (maybe with official statements / links)
> 
> I’m not aware of any decision not to continue providing .deb packages, but  
> it’s unlikely you’re going to find a statement to that effect anywhere, since  
> it’s simply the absence of a decision to change anything.

ansible is officially supported in debian (debian packages of ansible 2.10 in deb 11), but until now latest version of ansible was available from ansible team themself; since we are already at 2.11.3, the lack of official packages combined with the lack (afaik) of some official statement (like we will not provide anymore deb packages) gives me headaches 😛

Alex

---

<div class="post-metadata">

**Author:** ![Alex\_Cernat](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@Alex\_Cernat](https://forum.ansible.com/u/Alex_Cernat)\
**Post date:** [August 8, 2021, 9:26pm UTC](https://forum.ansible.com/t/installing-ansible-2-11-on-debian-11/35599/4 "2021-08-08T21:26:14Z")

</div>

For those interested: just found ansible-core 2.11 for ubuntu (and also debian).

[https://launchpad.net/~ansible/+archive/ubuntu/ansible-4](https://launchpad.net/~ansible/+archive/ubuntu/ansible-4)  
[http://ppa.launchpad.net/ansible/ansible-4/ubuntu/pool/main/a/ansible-core/](http://ppa.launchpad.net/ansible/ansible-4/ubuntu/pool/main/a/ansible-core/)

it seems to be the same signing key with the “old” (pre 2.11) ansible repository; tomorrow is testing day 😛

but all this is wrong, very wrong, I should find this information with a simple search, not digging for hours reading articles and documentation and discovering it by chance …

Alex

---

<div class="post-metadata">

**Author:** ![f.floimair.commend](https://avatars.discourse-cdn.com/v4/letter/f/3da27b/32.png) [@f.floimair.commend](https://forum.ansible.com/u/f.floimair.commend)\
**Post date:** [August 16, 2021, 11:00am UTC](https://forum.ansible.com/t/installing-ansible-2-11-on-debian-11/35599/5 "2021-08-16T11:00:52Z")

</div>

Debian always uses somewhat “old” versions, they just take whatever is stable as soon as feature-freeze date comes. So even for a “recent” release (like Debian 11 Bullseye) you can expect their version to be at least half if not a year behind.  
What they do though is backport security fixes to those versions should they come up, but they will never ever upgrade to a more recent release until the next version of the distro.

---

<div class="post-metadata">

**Author:** ![Antony\_Stone](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@Antony\_Stone](https://forum.ansible.com/u/Antony_Stone)\
**Post date:** [August 16, 2021, 11:05am UTC](https://forum.ansible.com/t/installing-ansible-2-11-on-debian-11/35599/6 "2021-08-16T11:05:14Z")

</div>

> Debian always uses somewhat "old" versions, they just take whatever is  
> stable as soon as feature-freeze date comes.

> What they do though is backport security fixes to those versions should  
> they come up, but they will never ever upgrade to a more recent release  
> until the next version of the distro.

That may be true of Debian, but isn't part of the whole point of Ubuntu (which  
these repositories are for) that it has a 6-monthly release cycle, allowing it  
to keep far more up-to-date with package releases than Debian does?

---

<div class="post-metadata">

**Author:** ![Alex\_Cernat](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@Alex\_Cernat](https://forum.ansible.com/u/Alex_Cernat)\
**Post date:** [August 16, 2021, 11:08am UTC](https://forum.ansible.com/t/installing-ansible-2-11-on-debian-11/35599/7 "2021-08-16T11:08:04Z")

</div>

Yes, of course, Debian’s first word is stability, so you cannot find very easy bleeding edge tehnology like in other distributions. Actually in Bullseye ansible version is 2.10, which is not quite old (at least for now).  
But for those who what to use latest version of ansible on debian/ubuntu servers, repository is listed below (found by chance).  
Pity that although the repository name it’s kind of logic if you now ansible history and future, it’s not listed anywhere in the docs. Not even knowing what repository url was is not helping me to find it official … hope that documentation will be updated soon.

Alex

Pe luni, 16 august 2021, la 14:00:52 UTC+3, [f.floimai...@gmail.com](mailto:f.floimai...@gmail.com) a scris:

---

<div class="post-metadata">

**Author:** ![Alex\_Cernat](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@Alex\_Cernat](https://forum.ansible.com/u/Alex_Cernat)\
**Post date:** [August 16, 2021, 11:12am UTC](https://forum.ansible.com/t/installing-ansible-2-11-on-debian-11/35599/8 "2021-08-16T11:12:30Z")

</div>

Pe luni, 16 august 2021, la 14:05:42 UTC+3, Antony Stone a scris:

> > Debian always uses somewhat “old” versions, they just take whatever is  
> > stable as soon as feature-freeze date comes.
> 
> > What they do though is backport security fixes to those versions should  
> > they come up, but they will never ever upgrade to a more recent release  
> > until the next version of the distro.
> 
> That may be true of Debian, but isn’t part of the whole point of Ubuntu (which  
> these repositories are for) that it has a 6-monthly release cycle, allowing it  
> to keep far more up-to-date with package releases than Debian does?

indeed, Ubuntu makes 2 releases per year, but if you want LTS, then the release cycle will be one at two years, exactly as the one for Debian

Alex

---

<div class="post-metadata">

**Author:** ![f.floimair.commend](https://avatars.discourse-cdn.com/v4/letter/f/3da27b/32.png) [@f.floimair.commend](https://forum.ansible.com/u/f.floimair.commend)\
**Post date:** [August 16, 2021, 12:35pm UTC](https://forum.ansible.com/t/installing-ansible-2-11-on-debian-11/35599/9 "2021-08-16T12:35:36Z")

</div>

Well, right. But the title of the thread is “installing 2.11 on debian 11” - an explicit Debian version - so why should I bother taking Ubuntu let alone different versions of them into account?  
It was a specific answer to a specific question.

---

<div class="post-metadata">

**Author:** ![Alex\_Cernat](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@Alex\_Cernat](https://forum.ansible.com/u/Alex_Cernat)\
**Post date:** [August 16, 2021, 3:20pm UTC](https://forum.ansible.com/t/installing-ansible-2-11-on-debian-11/35599/10 "2021-08-16T15:20:29Z")

</div>

actually there is no official (as in “from ansible team”) ansible package for debian; the packages are made for different releases of ubuntu, but they are very compatible (i.e. debian 11 ~ ubuntu focal)

Pe luni, 16 august 2021, la 15:35:36 UTC+3, [f.floimai...@gmail.com](mailto:f.floimai...@gmail.com) a scris:
