<p></p>
<p dir="auto">Hi Nick-Nal,</p>
<p dir="auto">try <code class="notranslate">apt install --no-install-recommends osm2pgsql</code></p>
<p dir="auto">test:</p>
<div class="highlight highlight-source-shell" dir="auto"><pre class="notranslate">$ docker run -it --rm debian:12 bash -c <span class="pl-s"><span class="pl-pds">"</span>apt-get update && apt install --no-install-recommends osm2pgsql<span class="pl-pds">"</span></span>
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8906 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6432 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [63.2 kB]
Fetched 9227 kB <span class="pl-k">in</span> 2s (3900 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
ca-certificates libboost-filesystem1.74.0 libbrotli1 libcurl3-gnutls libdeflate0 libexpat1 libgssapi-krb5-2 libjbig0 libjpeg62-turbo libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
libldap-2.5-0 liblerc4 liblua5.3-0 libncursesw6 libnghttp2-14 libnsl2 libpq5 libproj25 libpsl5 libpython3-stdlib libpython3.11-minimal libpython3.11-stdlib libreadline8 librtmp1
libsasl2-2 libsasl2-modules-db libsqlite3-0 libssh2-1 libssl3 libtiff6 libtirpc-common libtirpc3 libwebp7 media-types openssl proj-data python3 python3-certifi python3-chardet
python3-charset-normalizer python3-idna python3-minimal python3-pkg-resources python3-psycopg2 python3-pyosmium python3-requests python3-six python3-urllib3 python3.11 python3.11-minimal
readline-common
Suggested packages:
krb5-doc krb5-user proj-bin python3-doc python3-tk python3-venv python3-setuptools python-psycopg2-doc python3-shapely pyosmium-doc python3-cryptography python3-openssl python3-socks
python-requests-doc python3-brotli python3.11-venv python3.11-doc binutils binfmt-support readline-doc
Recommended packages:
krb5-locales libldap-common libgpm2 publicsuffix libsasl2-modules postgis
The following NEW packages will be installed:
ca-certificates libboost-filesystem1.74.0 libbrotli1 libcurl3-gnutls libdeflate0 libexpat1 libgssapi-krb5-2 libjbig0 libjpeg62-turbo libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
libldap-2.5-0 liblerc4 liblua5.3-0 libncursesw6 libnghttp2-14 libnsl2 libpq5 libproj25 libpsl5 libpython3-stdlib libpython3.11-minimal libpython3.11-stdlib libreadline8 librtmp1
libsasl2-2 libsasl2-modules-db libsqlite3-0 libssh2-1 libssl3 libtiff6 libtirpc-common libtirpc3 libwebp7 media-types openssl osm2pgsql proj-data python3 python3-certifi python3-chardet
python3-charset-normalizer python3-idna python3-minimal python3-pkg-resources python3-psycopg2 python3-pyosmium python3-requests python3-six python3-urllib3 python3.11 python3.11-minimal
readline-common
0 upgraded, 55 newly installed, 0 to remove and 0 not upgraded.
Need to get 23.5 MB of archives.
After this operation, 82.5 MB of additional disk space will be used.
Do you want to continue<span class="pl-k">?</span> [Y/n]
</pre></div>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/discussions/2082#discussioncomment-7053465">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353X7JAVILLWCIZBK2ZLX3JVY5ANCNFSM6AAAAAA47H3YPA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353WMJL66HZRYY5BHYPLX3JVY5A5CNFSM6AAAAAA47H3YPCWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQANOQJS.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/osm2pgsql/repo-discussions/2082/comments/7053465</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/discussions/2082#discussioncomment-7053465",
"url": "https://github.com/openstreetmap/osm2pgsql/discussions/2082#discussioncomment-7053465",
"name": "View Discussion"
},
"description": "View this Discussion on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>