tar -zxvf proj-4.9.3.tar.gz cd proj-4.9.3 ./configure make make install cd..
proj —help 检验安装
geos
1 2 3 4 5 6 7
tar -zxvf geos-3.6.2.tar.gz cd geos-3.6.2 ./configure make make install ldconfig cd..
jpeg
1 2 3 4 5 6
tar -zxf jpegsrc.v9b.tar.gz cd jpeg-9b/ ./configure--prefix=/opt/jpeg make make install cd..
hdf5
1 2 3 4 5 6 7
tar -zxf hdf5-1.10.1.tar.gz cd hdf5-1.10.1 exportF9X=ifort ./configure --prefix=/opt/hdf5 --with-hdf4=/opt/hdf4 --with-jpeg=/opt/jpeg --enable-java --enable-cxx make make install cd ..
1 2 3 4 5 6
tar -zxf hdf-4.2.13.tar.gz cd hdf-4.2.13 ./configure--prefix=/opt/hdf4--enable-netcdf--enable-jpeg--with-jpeg=/opt/jpeg--enable-hdf5--with-hdf5=/opt/hdf5--enable-shared--disable-fortran--enable-java make make install cd..
netcdf
1 2 3 4 5 6 7 8
tar -zxf netcdf-4.4.1.tar.gz cd netcdf-4.4.1 CPPFLAGS="-l/opt/hdf4/include -l/opt/hdf5/include -l/opt/jpeg/include" LDFLAGS="-l/opt/hdf4/lib -l/opt/hdf5/lib -l/opt/jpeg/lib" ./configure--prefix=/opt/netcdf--enable-hdf5--with-hdf5=/opt/hdf5--enable-hdf4--with-hdf4=/opt/hdf4--enable-jpeg--with-jpeg=/opt/jpeg--disable-netcdf-4 make make install cd..
gdal
1 2 3 4 5 6
unzip gdal233.zip cd gdal-2.2.3 ./configure --prefix=/opt/gdal --enable-netcdf --with-netcdf=/opt/netcdf --enable-hdf5 --with-hdf5=/opt/hdf5 --enable-hdf4 --with-hdf4=/opt/hdf4 make make install cd ..
gdalinfo 验证一下
swig
yum install pcre yum install pcre-devel
1 2 3 4 5
tar -zxf swig-3.0.12.tar.gz cd swig-3.0.12 ./configure make make install