# Ubuntu 25.10 and libxml2

**URL:** <https://forums.swift.org/t/ubuntu-25-10-and-libxml2/83239>\
**Category:** Compiler\
**Created:** [November 15, 2025, 7:06pm UTC](https://forums.swift.org/t/ubuntu-25-10-and-libxml2/83239 "2025-11-15T19:06:00Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![xtremekforever](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/xtremekforever/32/43018_2.png) [@xtremekforever](https://forums.swift.org/u/xtremekforever)\
**Post date:** [December 1, 2025, 2:16am UTC](https://forums.swift.org/t/ubuntu-25-10-and-libxml2/83239/4 "2025-12-01T02:16:29Z")

</div>

I was able to install a libxml2 package from the previous version of Ubuntu (25.04) on my 25.10 install and that resolved the libxml2.so.2 error for me. The package is here:

[https://launchpad.net/ubuntu/+archive/primary/+files/libxml2\_2.12.7+dfsg+really2.9.14-0.4ubuntu0.4\_amd64.deb](https://launchpad.net/ubuntu/+archive/primary/+files/libxml2_2.12.7+dfsg+really2.9.14-0.4ubuntu0.4_amd64.deb)

Just to let you know this is a possible workaround.

---

_[View the full topic](https://forums.swift.org/t/ubuntu-25-10-and-libxml2/83239)._
