[OSGeoLive] #2288: libgdal-java needs to be added to the nightly osgeo repo
OSGeoLive
trac_osgeolive at osgeo.org
Mon Jun 20 03:52:23 PDT 2022
#2288: libgdal-java needs to be added to the nightly osgeo repo
-----------------------+----------------------------
Reporter: misev | Owner: osgeolive@…
Type: task | Status: assigned
Priority: major | Milestone: OSGeoLive15.0
Component: OSGeoLive | Resolution:
Keywords: |
-----------------------+----------------------------
Comment (by Bas Couwenberg):
Not building libgdal-java from the gdal source package will make it go out
of sync quickly.
If you don't want to hassle to maintain the gdal packaging changes for
OSGeoLive, you could download the JAR from Maven Central in
`install_rasdaman.sh`:
https://search.maven.org/artifact/org.gdal/gdal
For example:
{{{
cd /usr/share/java
GDAL_VERSION=$(apt-cache show libgdal-dev | grep Version | awk -F': '
'{print $2}' | sort | tail -1 | awk -F'.' '{print $1"."$2".0"}')
wget
https://search.maven.org/remotecontent?filepath=org/gdal/gdal/${GDAL_VERSION}/gdal-${GDAL_VERSION}.jar
-O gdal-${GDAL_VERSION}.jar
ln -s gdal-${GDAL_VERSION}.jar gdal.jar
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2288#comment:11>
OSGeoLive <https://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.
More information about the osgeolive
mailing list