0

I'm currently building images from python:3.9-slim-bullseye. I also need the latest version of libleptonica-dev which is only available for bookworm and sid.

Currently, if I run apt-get install -y libleptonica-dev in my Dockerfile, it's installing the 1.79, but I need the 1.82.

Is there a way to install a package from a future debian version even if bullseye-backport doesn't exist ?

RobinFrcd
  • 4,439
  • 4
  • 25
  • 49

1 Answers1

1

IN order to install libleptonica-dev version 1.82 from bookworm in Debian bullseye open the terminal and type:

sudo apt update
wget -c http://ftp.us.debian.org/debian/pool/main/l/leptonlib/libleptonica-dev_1.82.0-3+b2_amd64.deb
sudo apt install ./libleptonica-dev_1.82.0-3+b2_amd64.deb
karel
  • 5,489
  • 46
  • 45
  • 50