<p>I don't know if this is worth the effort, current 1.2.0 version installs just 4 files, which are listed in the <code>make install</code> log files towards the end. It should be fairly straight forward to remove those files by hand.</p>
<pre><code>Install the project...
-- Install configuration: "Debug"
-- Installing: /usr/local/bin/osm2pgsql
-- Installing: /usr/local/share/man/man1/osm2pgsql.1
-- Installing: /usr/local/share/osm2pgsql/default.style
-- Installing: /usr/local/share/osm2pgsql/empty.style
</code></pre>
<p>As a side note, current Debian packages for osm2pgsql seem a bit dated (e.g. <a href="https://packages.debian.org/source/stable/osm2pgsql" rel="nofollow">https://packages.debian.org/source/stable/osm2pgsql</a>).</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/issues/717?email_source=notifications&email_token=AA6353SGD77XTAD6BRMQRZDQUET5JA5CNFSM4DDSAHS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEIJZWY#issuecomment-554736859">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353S3AASG4H6IS5GJIDLQUET5JANCNFSM4DDSAHSQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353RNG4VXG67WCXP5XGTQUET5JA5CNFSM4DDSAHS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEIJZWY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/issues/717?email_source=notifications\u0026email_token=AA6353SGD77XTAD6BRMQRZDQUET5JA5CNFSM4DDSAHS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEIJZWY#issuecomment-554736859",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/717?email_source=notifications\u0026email_token=AA6353SGD77XTAD6BRMQRZDQUET5JA5CNFSM4DDSAHS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEIJZWY#issuecomment-554736859",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>