This repository provides an unofficial repackaging of Orfeo Toolbox (OTB) version 9.1.1, extracted from a Docker image, and repackaged into modular .deb packages suitable for Ubuntu 24.04.x LTS.
.
├── dist/
│ └── otb-9.1.1/ ← Full extracted OTB install (from Docker)
├── build-debs.sh ← Build script for modular .deb packages
├── LICENSE ← Apache 2.0 license from OTB
└── README.md
git clone https://github.com/veogeo/OTB-9-ubuntu24.git
cd OTB-9-ubuntu24If not already present, copy your extracted OTB installation into:
dist/otb-9.1.1/The structure should include:
bin/ ← CLI binaries
include/ ← Headers for development
lib/ ← Shared libraries and CMake files
share/ ← Auxiliary files
lib/python*/ ← (optional) Python bindings
chmod +x build-debs.sh
./build-debs.shThis will generate:
otb-bin_9.1.1_amd64.deblibotb-dev_9.1.1_amd64.debpython3-otb_9.1.1_amd64.deb(only if Python bindings exist)otb-examples_9.1.1_all.deb(optional, if examples exist)
sudo dpkg -i *.debThis will install OTB under /opt/otb-9.1.1/ with optional symbolic links under /usr/local/bin for easy CLI access (if configured).
-
If you move the OTB installation directory after package installation, you must reset internal paths:
rm /opt/otb-9.1.1/tools/install_done.txt source /opt/otb-9.1.1/otbenv.profile sh recompile_bindings.sh -
This only needs to be done once after relocation, not on every shell startup.
-
This repository does not modify the original binaries from OTB.
-
To ensure full runtime availability, you may add to your environment:
source /opt/otb-9.1.1/otbenv.profile
| Package | Contents | Depends On |
|---|---|---|
otb-bin |
CLI binaries, shared tools | - |
libotb-dev |
C++ headers, CMake config files | otb-bin |
python3-otb |
Python 3 bindings | otb-bin, python3 |
otb-examples |
Optional scripts and examples | otb-bin |
This repository contains an unofficial repackaging of Orfeo Toolbox (OTB), version 9.1.1, originally licensed under the Apache License 2.0.
© 2006–2025 CNES and contributors to the OTB project
This work is not affiliated with or endorsed by the official OTB project.