오픈소스의 일상

#4. PostGIS 3.1.X 설치 및 확인 본문

오픈소스/네이버클라우드

#4. PostGIS 3.1.X 설치 및 확인

실버카미 2021. 12. 21. 17:37

1. PostGIS 3.1.X 설치 및 확인

- PostGIS는 민감하기에 설치과정을 전부 표기함

[root@flas /]# yum install postgis31_11.x86_64 -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * centos-sclo-rh: mirror.kakao.com
 * epel: mirrors.nipa.cloud
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package postgis31_11.x86_64 0:3.1.4-1.rhel7 will be installed
--> Processing Dependency: proj72 >= 7.2.1 for package: postgis31_11-3.1.4-1.rhel7.x86_64
--> Processing Dependency: geos39 >= 3.9.1 for package: postgis31_11-3.1.4-1.rhel7.x86_64
--> Processing Dependency: gdal33-libs >= 3.3.1 for package: postgis31_11-3.1.4-1.rhel7.x86_64
--> Processing Dependency: xerces-c for package: postgis31_11-3.1.4-1.rhel7.x86_64
--> Processing Dependency: postgresql11-contrib for package: postgis31_11-3.1.4-1.rhel7.x86_64
--> Processing Dependency: libgeotiff16 for package: postgis31_11-3.1.4-1.rhel7.x86_64
--> Processing Dependency: hdf5 for package: postgis31_11-3.1.4-1.rhel7.x86_64
--> Processing Dependency: SFCGAL for package: postgis31_11-3.1.4-1.rhel7.x86_64
--> Processing Dependency: libtiff.so.5()(64bit) for package: postgis31_11-3.1.4-1.rhel7.x86_64
--> Processing Dependency: libproj.so.19()(64bit) for package: postgis31_11-3.1.4-1.rhel7.x86_64
--> Processing Dependency: libgeos_c.so.1()(64bit) for package: postgis31_11-3.1.4-1.rhel7.x86_64
--> Processing Dependency: libgdal.so.29()(64bit) for package: postgis31_11-3.1.4-1.rhel7.x86_64
--> Processing Dependency: libSFCGAL.so.1()(64bit) for package: postgis31_11-3.1.4-1.rhel7.x86_64
--> Running transaction check
---> Package SFCGAL.x86_64 0:1.3.1-2.rhel7 will be installed
--> Processing Dependency: CGAL for package: SFCGAL-1.3.1-2.rhel7.x86_64
---> Package SFCGAL-libs.x86_64 0:1.3.1-2.rhel7 will be installed
--> Processing Dependency: libboost_serialization-mt.so.1.53.0()(64bit) for package: SFCGAL-libs-1.3.1-2.rhel7.x86_64
---> Package gdal33-libs.x86_64 0:3.3.3-1.rhel7 will be installed
--> Processing Dependency: ogdi41 for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: netcdf for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libspatialite43-devel for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libgeotiff16-devel for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: gpsbabel for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libzstd.so.1()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libwebp.so.4()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libspatialite.so.7()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libpoppler.so.46()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libopenjp2.so.7()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libogdi.so.4()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libodbcinst.so.2()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libodbc.so.2()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libnetcdf.so.7()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libjpeg.so.62()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libjasper.so.1()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libgta.so.0()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libgif.so.4()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libfreexl.so.1()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libdapserver.so.7()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libdapclient.so.6()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libdap.so.17()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libcfitsio.so.2()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
--> Processing Dependency: libCharLS.so.1()(64bit) for package: gdal33-libs-3.3.3-1.rhel7.x86_64
---> Package geos39.x86_64 0:3.9.2-1.rhel7 will be installed
---> Package hdf5.x86_64 0:1.8.12-13.el7 will be installed
--> Processing Dependency: libsz.so.2()(64bit) for package: hdf5-1.8.12-13.el7.x86_64
---> Package libgeotiff16.x86_64 0:1.6.0-4.rhel7 will be installed
---> Package libtiff.x86_64 0:4.0.3-35.el7 will be installed
--> Processing Dependency: libjbig.so.2.0()(64bit) for package: libtiff-4.0.3-35.el7.x86_64
---> Package postgresql11-contrib.x86_64 0:11.14-1PGDG.rhel7 will be installed
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.22)(64bit) for package: postgresql11-contrib-11.14-1PGDG.rhel7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.18)(64bit) for package: postgresql11-contrib-11.14-1PGDG.rhel7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) for package: postgresql11-contrib-11.14-1PGDG.rhel7.x86_64
--> Processing Dependency: libxslt.so.1()(64bit) for package: postgresql11-contrib-11.14-1PGDG.rhel7.x86_64
---> Package proj72.x86_64 0:7.2.1-1.rhel7 will be installed
--> Processing Dependency: sqlite33 for package: proj72-7.2.1-1.rhel7.x86_64
---> Package xerces-c.x86_64 0:3.1.1-10.el7_7 will be installed
--> Running transaction check
---> Package CGAL.x86_64 0:4.7-1.rhel7.1 will be installed
--> Processing Dependency: libXext.so.6()(64bit) for package: CGAL-4.7-1.rhel7.1.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: CGAL-4.7-1.rhel7.1.x86_64
--> Processing Dependency: libSM.so.6()(64bit) for package: CGAL-4.7-1.rhel7.1.x86_64
--> Processing Dependency: libICE.so.6()(64bit) for package: CGAL-4.7-1.rhel7.1.x86_64
--> Processing Dependency: libGLU.so.1()(64bit) for package: CGAL-4.7-1.rhel7.1.x86_64
--> Processing Dependency: libGL.so.1()(64bit) for package: CGAL-4.7-1.rhel7.1.x86_64
---> Package CharLS.x86_64 0:1.0-5.el7 will be installed
---> Package boost-serialization.x86_64 0:1.53.0-28.el7 will be installed
---> Package cfitsio.x86_64 0:3.370-10.el7 will be installed
---> Package freexl.x86_64 0:1.0.6-1.el7 will be installed
---> Package giflib.x86_64 0:4.1.6-9.el7 will be installed
---> Package gpsbabel.x86_64 0:1.5.0-2.el7 will be installed
--> Processing Dependency: libQtCore.so.4()(64bit) for package: gpsbabel-1.5.0-2.el7.x86_64
--> Processing Dependency: libshp.so.1()(64bit) for package: gpsbabel-1.5.0-2.el7.x86_64
--> Processing Dependency: libusb-0.1.so.4()(64bit) for package: gpsbabel-1.5.0-2.el7.x86_64
---> Package jasper-libs.x86_64 0:1.900.1-33.el7 will be installed
---> Package jbigkit-libs.x86_64 0:2.0-11.el7 will be installed
---> Package libaec.x86_64 0:1.0.4-1.el7 will be installed
---> Package libdap.x86_64 0:3.13.1-2.el7 will be installed
---> Package libgeotiff16-devel.x86_64 0:1.6.0-4.rhel7 will be installed
--> Processing Dependency: libtiff-devel for package: libgeotiff16-devel-1.6.0-4.rhel7.x86_64
---> Package libgta.x86_64 0:1.0.4-1.el7 will be installed
---> Package libjpeg-turbo.x86_64 0:1.2.90-8.el7 will be installed
---> Package libspatialite43.x86_64 0:4.3.0a-15.rhel7 will be installed
---> Package libspatialite43-devel.x86_64 0:4.3.0a-15.rhel7 will be installed
---> Package libwebp.x86_64 0:0.3.0-10.el7_9 will be installed
---> Package libxslt.x86_64 0:1.1.28-6.el7 will be installed
---> Package libzstd.x86_64 0:1.5.0-1.el7 will be installed
---> Package netcdf.x86_64 0:4.3.3.1-5.el7 will be installed
---> Package ogdi41.x86_64 0:4.1.0-2.rhel7 will be installed
---> Package openjpeg2.x86_64 0:2.3.1-3.el7_7 will be installed
---> Package poppler.x86_64 0:0.26.5-43.el7.1 will be installed
--> Processing Dependency: poppler-data >= 0.4.0 for package: poppler-0.26.5-43.el7.1.x86_64
--> Processing Dependency: libopenjpeg.so.1()(64bit) for package: poppler-0.26.5-43.el7.1.x86_64
--> Processing Dependency: liblcms2.so.2()(64bit) for package: poppler-0.26.5-43.el7.1.x86_64
--> Processing Dependency: libfontconfig.so.1()(64bit) for package: poppler-0.26.5-43.el7.1.x86_64
---> Package sqlite33.x86_64 0:3.30.1-6.rhel7 will be installed
--> Processing Dependency: sqlite33-libs = 3.30.1-6.rhel7 for package: sqlite33-3.30.1-6.rhel7.x86_64
---> Package unixODBC.x86_64 0:2.3.1-14.el7 will be installed
--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.1-14.el7.x86_64
--> Running transaction check
---> Package fontconfig.x86_64 0:2.13.0-4.3.el7 will be installed
--> Processing Dependency: fontpackages-filesystem for package: fontconfig-2.13.0-4.3.el7.x86_64
--> Processing Dependency: dejavu-sans-fonts for package: fontconfig-2.13.0-4.3.el7.x86_64
---> Package lcms2.x86_64 0:2.6-3.el7 will be installed
---> Package libICE.x86_64 0:1.0.9-9.el7 will be installed
---> Package libSM.x86_64 0:1.2.2-2.el7 will be installed
---> Package libX11.x86_64 0:1.6.7-4.el7_9 will be installed
--> Processing Dependency: libX11-common >= 1.6.7-4.el7_9 for package: libX11-1.6.7-4.el7_9.x86_64
--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.7-4.el7_9.x86_64
---> Package libXext.x86_64 0:1.3.3-3.el7 will be installed
---> Package libglvnd-glx.x86_64 1:1.0.1-0.8.git5baa1e5.el7 will be installed
--> Processing Dependency: libglvnd(x86-64) = 1:1.0.1-0.8.git5baa1e5.el7 for package: 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64
--> Processing Dependency: mesa-libGL(x86-64) >= 13.0.4-1 for package: 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64
--> Processing Dependency: libGLdispatch.so.0()(64bit) for package: 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64
---> Package libtiff-devel.x86_64 0:4.0.3-35.el7 will be installed
---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed
---> Package libusb.x86_64 1:0.1.4-3.el7 will be installed
---> Package mesa-libGLU.x86_64 0:9.0.0-4.el7 will be installed
---> Package openjpeg-libs.x86_64 0:1.5.1-18.el7 will be installed
---> Package poppler-data.noarch 0:0.4.6-3.el7 will be installed
---> Package qt.x86_64 1:4.8.7-9.el7_9 will be installed
--> Processing Dependency: qt-settings for package: 1:qt-4.8.7-9.el7_9.x86_64
---> Package shapelib.x86_64 0:1.3.0-2.el7 will be installed
---> Package sqlite33-libs.x86_64 0:3.30.1-6.rhel7 will be installed
--> Running transaction check
---> Package dejavu-sans-fonts.noarch 0:2.33-6.el7 will be installed
--> Processing Dependency: dejavu-fonts-common = 2.33-6.el7 for package: dejavu-sans-fonts-2.33-6.el7.noarch
---> Package fontpackages-filesystem.noarch 0:1.44-8.el7 will be installed
---> Package libX11-common.noarch 0:1.6.7-4.el7_9 will be installed
---> Package libglvnd.x86_64 1:1.0.1-0.8.git5baa1e5.el7 will be installed
---> Package libxcb.x86_64 0:1.13-1.el7 will be installed
--> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.13-1.el7.x86_64
---> Package mesa-libGL.x86_64 0:18.3.4-12.el7_9 will be installed
--> Processing Dependency: mesa-libglapi = 18.3.4-12.el7_9 for package: mesa-libGL-18.3.4-12.el7_9.x86_64
--> Processing Dependency: libxshmfence.so.1()(64bit) for package: mesa-libGL-18.3.4-12.el7_9.x86_64
--> Processing Dependency: libglapi.so.0()(64bit) for package: mesa-libGL-18.3.4-12.el7_9.x86_64
--> Processing Dependency: libXxf86vm.so.1()(64bit) for package: mesa-libGL-18.3.4-12.el7_9.x86_64
--> Processing Dependency: libXfixes.so.3()(64bit) for package: mesa-libGL-18.3.4-12.el7_9.x86_64
--> Processing Dependency: libXdamage.so.1()(64bit) for package: mesa-libGL-18.3.4-12.el7_9.x86_64
---> Package qt-settings.noarch 0:19-23.12.el7.centos will be installed
--> Running transaction check
---> Package dejavu-fonts-common.noarch 0:2.33-6.el7 will be installed
---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed
---> Package libXdamage.x86_64 0:1.1.4-4.1.el7 will be installed
---> Package libXfixes.x86_64 0:5.0.3-1.el7 will be installed
---> Package libXxf86vm.x86_64 0:1.1.4-1.el7 will be installed
---> Package libxshmfence.x86_64 0:1.2-1.el7 will be installed
---> Package mesa-libglapi.x86_64 0:18.3.4-12.el7_9 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================
 Package                 Arch   Version                     Repository   Size
==============================================================================
Installing:
 postgis31_11            x86_64 3.1.4-1.rhel7               pgdg11      4.7 M
Installing for dependencies:
 CGAL                    x86_64 4.7-1.rhel7.1               pgdg-common 254 k
 CharLS                  x86_64 1.0-5.el7                   epel         63 k
 SFCGAL                  x86_64 1.3.1-2.rhel7               pgdg-common  14 k
 SFCGAL-libs             x86_64 1.3.1-2.rhel7               pgdg-common 1.7 M
 boost-serialization     x86_64 1.53.0-28.el7               base        169 k
 cfitsio                 x86_64 3.370-10.el7                epel        528 k
 dejavu-fonts-common     noarch 2.33-6.el7                  base         64 k
 dejavu-sans-fonts       noarch 2.33-6.el7                  base        1.4 M
 fontconfig              x86_64 2.13.0-4.3.el7              base        254 k
 fontpackages-filesystem noarch 1.44-8.el7                  base        9.9 k
 freexl                  x86_64 1.0.6-1.el7                 epel         32 k
 gdal33-libs             x86_64 3.3.3-1.rhel7               pgdg-common 7.9 M
 geos39                  x86_64 3.9.2-1.rhel7               pgdg-common 646 k
 giflib                  x86_64 4.1.6-9.el7                 base         40 k
 gpsbabel                x86_64 1.5.0-2.el7                 epel        794 k
 hdf5                    x86_64 1.8.12-13.el7               epel        1.6 M
 jasper-libs             x86_64 1.900.1-33.el7              base        150 k
 jbigkit-libs            x86_64 2.0-11.el7                  base         46 k
 lcms2                   x86_64 2.6-3.el7                   base        150 k
 libICE                  x86_64 1.0.9-9.el7                 base         66 k
 libSM                   x86_64 1.2.2-2.el7                 base         39 k
 libX11                  x86_64 1.6.7-4.el7_9               updates     607 k
 libX11-common           noarch 1.6.7-4.el7_9               updates     164 k
 libXau                  x86_64 1.0.8-2.1.el7               base         29 k
 libXdamage              x86_64 1.1.4-4.1.el7               base         20 k
 libXext                 x86_64 1.3.3-3.el7                 base         39 k
 libXfixes               x86_64 5.0.3-1.el7                 base         18 k
 libXxf86vm              x86_64 1.1.4-1.el7                 base         18 k
 libaec                  x86_64 1.0.4-1.el7                 epel         34 k
 libdap                  x86_64 3.13.1-2.el7                epel        423 k
 libgeotiff16            x86_64 1.6.0-4.rhel7               pgdg-common  94 k
 libgeotiff16-devel      x86_64 1.6.0-4.rhel7               pgdg-common  29 k
 libglvnd                x86_64 1:1.0.1-0.8.git5baa1e5.el7  base         89 k
 libglvnd-glx            x86_64 1:1.0.1-0.8.git5baa1e5.el7  base        125 k
 libgta                  x86_64 1.0.4-1.el7                 epel         32 k
 libjpeg-turbo           x86_64 1.2.90-8.el7                base        135 k
 libspatialite43         x86_64 4.3.0a-15.rhel7             pgdg-common 2.4 M
 libspatialite43-devel   x86_64 4.3.0a-15.rhel7             pgdg-common  73 k
 libtiff                 x86_64 4.0.3-35.el7                base        172 k
 libtiff-devel           x86_64 4.0.3-35.el7                base        474 k
 libtool-ltdl            x86_64 2.4.2-22.el7_3              base         49 k
 libusb                  x86_64 1:0.1.4-3.el7               base         19 k
 libwebp                 x86_64 0.3.0-10.el7_9              updates     170 k
 libxcb                  x86_64 1.13-1.el7                  base        214 k
 libxshmfence            x86_64 1.2-1.el7                   base        7.2 k
 libxslt                 x86_64 1.1.28-6.el7                base        242 k
 libzstd                 x86_64 1.5.0-1.el7                 epel        370 k
 mesa-libGL              x86_64 18.3.4-12.el7_9             updates     166 k
 mesa-libGLU             x86_64 9.0.0-4.el7                 base        196 k
 mesa-libglapi           x86_64 18.3.4-12.el7_9             updates      46 k
 netcdf                  x86_64 4.3.3.1-5.el7               epel        693 k
 ogdi41                  x86_64 4.1.0-2.rhel7               pgdg-common 218 k
 openjpeg-libs           x86_64 1.5.1-18.el7                base         86 k
 openjpeg2               x86_64 2.3.1-3.el7_7               base        153 k
 poppler                 x86_64 0.26.5-43.el7.1             updates     787 k
 poppler-data            noarch 0.4.6-3.el7                 base        2.2 M
 postgresql11-contrib    x86_64 11.14-1PGDG.rhel7           pgdg11      611 k
 proj72                  x86_64 7.2.1-1.rhel7               pgdg-common 2.5 M
 qt                      x86_64 1:4.8.7-9.el7_9             updates     4.6 M
 qt-settings             noarch 19-23.12.el7.centos         base         18 k
 shapelib                x86_64 1.3.0-2.el7                 epel         63 k
 sqlite33                x86_64 3.30.1-6.rhel7              pgdg-common 624 k
 sqlite33-libs           x86_64 3.30.1-6.rhel7              pgdg-common 550 k
 unixODBC                x86_64 2.3.1-14.el7                base        413 k
 xerces-c                x86_64 3.1.1-10.el7_7              base        879 k

Transaction Summary
==============================================================================
Install  1 Package (+65 Dependent packages)

Total download size: 41 M
Installed size: 174 M
Downloading packages:
(1/66): CharLS-1.0-5.el7.x86_64.rpm                      |  63 kB   00:00
(2/66): SFCGAL-1.3.1-2.rhel7.x86_64.rpm                  |  14 kB   00:01
(3/66): dejavu-fonts-common-2.33-6.el7.noarch.rpm        |  64 kB   00:00
(4/66): dejavu-sans-fonts-2.33-6.el7.noarch.rpm          | 1.4 MB   00:00
(5/66): fontconfig-2.13.0-4.3.el7.x86_64.rpm             | 254 kB   00:00
(6/66): fontpackages-filesystem-1.44-8.el7.noarch.rpm    | 9.9 kB   00:00
(7/66): cfitsio-3.370-10.el7.x86_64.rpm                  | 528 kB   00:00
(8/66): freexl-1.0.6-1.el7.x86_64.rpm                    |  32 kB   00:00
(9/66): boost-serialization-1.53.0-28.el7.x86_64.rpm     | 169 kB   00:00
(10/66): CGAL-4.7-1.rhel7.1.x86_64.rpm                   | 254 kB   00:02
(11/66): SFCGAL-libs-1.3.1-2.rhel7.x86_64.rpm            | 1.7 MB   00:01
(12/66): giflib-4.1.6-9.el7.x86_64.rpm                   |  40 kB   00:00
(13/66): gpsbabel-1.5.0-2.el7.x86_64.rpm                 | 794 kB   00:00
(14/66): jbigkit-libs-2.0-11.el7.x86_64.rpm              |  46 kB   00:00
(15/66): lcms2-2.6-3.el7.x86_64.rpm                      | 150 kB   00:00
(16/66): libICE-1.0.9-9.el7.x86_64.rpm                   |  66 kB   00:00
(17/66): hdf5-1.8.12-13.el7.x86_64.rpm                   | 1.6 MB   00:00
(18/66): libSM-1.2.2-2.el7.x86_64.rpm                    |  39 kB   00:00
(19/66): jasper-libs-1.900.1-33.el7.x86_64.rpm           | 150 kB   00:00
(20/66): libX11-common-1.6.7-4.el7_9.noarch.rpm          | 164 kB   00:00
(21/66): libXau-1.0.8-2.1.el7.x86_64.rpm                 |  29 kB   00:00
(22/66): libX11-1.6.7-4.el7_9.x86_64.rpm                 | 607 kB   00:00
(23/66): geos39-3.9.2-1.rhel7.x86_64.rpm                 | 646 kB   00:00
(24/66): libXext-1.3.3-3.el7.x86_64.rpm                  |  39 kB   00:00
(25/66): gdal33-libs-3.3.3-1.rhel7.x86_64.rpm            | 7.9 MB   00:01
(26/66): libXdamage-1.1.4-4.1.el7.x86_64.rpm             |  20 kB   00:00
(27/66): libXfixes-5.0.3-1.el7.x86_64.rpm                |  18 kB   00:00
(28/66): libXxf86vm-1.1.4-1.el7.x86_64.rpm               |  18 kB   00:00
(29/66): libaec-1.0.4-1.el7.x86_64.rpm                   |  34 kB   00:00
(30/66): libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64.rpm    |  89 kB   00:00
(31/66): libdap-3.13.1-2.el7.x86_64.rpm                  | 423 kB   00:00
(32/66): libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64.rp | 125 kB   00:00
(33/66): libgta-1.0.4-1.el7.x86_64.rpm                   |  32 kB   00:00
(34/66): libjpeg-turbo-1.2.90-8.el7.x86_64.rpm           | 135 kB   00:00
(35/66): libgeotiff16-1.6.0-4.rhel7.x86_64.rpm           |  94 kB   00:00
(36/66): libspatialite43-4.3.0a-15.rhel7.x86_64.rpm      | 2.4 MB   00:00
(37/66): libtiff-4.0.3-35.el7.x86_64.rpm                 | 172 kB   00:00
(38/66): libtool-ltdl-2.4.2-22.el7_3.x86_64.rpm          |  49 kB   00:00
(39/66): libusb-0.1.4-3.el7.x86_64.rpm                   |  19 kB   00:00
(40/66): libwebp-0.3.0-10.el7_9.x86_64.rpm               | 170 kB   00:00
(41/66): libtiff-devel-4.0.3-35.el7.x86_64.rpm           | 474 kB   00:00
(42/66): libxcb-1.13-1.el7.x86_64.rpm                    | 214 kB   00:00
(43/66): libzstd-1.5.0-1.el7.x86_64.rpm                  | 370 kB   00:00
(44/66): libspatialite43-devel-4.3.0a-15.rhel7.x86_64.rp |  73 kB   00:00
(45/66): mesa-libGL-18.3.4-12.el7_9.x86_64.rpm           | 166 kB   00:00
(46/66): libxslt-1.1.28-6.el7.x86_64.rpm                 | 242 kB   00:00
(47/66): libxshmfence-1.2-1.el7.x86_64.rpm               | 7.2 kB   00:00
(48/66): netcdf-4.3.3.1-5.el7.x86_64.rpm                 | 693 kB   00:00
(49/66): openjpeg-libs-1.5.1-18.el7.x86_64.rpm           |  86 kB   00:00
(50/66): mesa-libGLU-9.0.0-4.el7.x86_64.rpm              | 196 kB   00:00
(51/66): ogdi41-4.1.0-2.rhel7.x86_64.rpm                 | 218 kB   00:00
(52/66): poppler-0.26.5-43.el7.1.x86_64.rpm              | 787 kB   00:00
(53/66): openjpeg2-2.3.1-3.el7_7.x86_64.rpm              | 153 kB   00:00
(54/66): libgeotiff16-devel-1.6.0-4.rhel7.x86_64.rpm     |  29 kB   00:01
(55/66): postgis31_11-3.1.4-1.rhel7.x86_64.rpm           | 4.7 MB   00:00
(56/66): qt-4.8.7-9.el7_9.x86_64.rpm                     | 4.6 MB   00:00
(57/66): qt-settings-19-23.12.el7.centos.noarch.rpm      |  18 kB   00:00
(58/66): shapelib-1.3.0-2.el7.x86_64.rpm                 |  63 kB   00:00
(59/66): mesa-libglapi-18.3.4-12.el7_9.x86_64.rpm        |  46 kB   00:01
(60/66): sqlite33-3.30.1-6.rhel7.x86_64.rpm              | 624 kB   00:00
(61/66): sqlite33-libs-3.30.1-6.rhel7.x86_64.rpm         | 550 kB   00:00
(62/66): unixODBC-2.3.1-14.el7.x86_64.rpm                | 413 kB   00:00
(63/66): poppler-data-0.4.6-3.el7.noarch.rpm             | 2.2 MB   00:01
(64/66): xerces-c-3.1.1-10.el7_7.x86_64.rpm              | 879 kB   00:00
(65/66): proj72-7.2.1-1.rhel7.x86_64.rpm                 | 2.5 MB   00:01
(66/66): postgresql11-contrib-11.14-1PGDG.rhel7.x86_64.r | 611 kB   00:02
------------------------------------------------------------------------------
Total                                            5.3 MB/s |  41 MB  00:07
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libjpeg-turbo-1.2.90-8.el7.x86_64                         1/66
  Installing : sqlite33-libs-3.30.1-6.rhel7.x86_64                       2/66
  Installing : geos39-3.9.2-1.rhel7.x86_64                               3/66
  Installing : libICE-1.0.9-9.el7.x86_64                                 4/66
  Installing : libSM-1.2.2-2.el7.x86_64                                  5/66
  Installing : xerces-c-3.1.1-10.el7_7.x86_64                            6/66
  Installing : fontpackages-filesystem-1.44-8.el7.noarch                 7/66
  Installing : freexl-1.0.6-1.el7.x86_64                                 8/66
  Installing : dejavu-fonts-common-2.33-6.el7.noarch                     9/66
  Installing : dejavu-sans-fonts-2.33-6.el7.noarch                      10/66
  Installing : fontconfig-2.13.0-4.3.el7.x86_64                         11/66
  Installing : sqlite33-3.30.1-6.rhel7.x86_64                           12/66
  Installing : jasper-libs-1.900.1-33.el7.x86_64                        13/66
  Installing : 1:libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64               14/66
  Installing : qt-settings-19-23.12.el7.centos.noarch                   15/66
  Installing : 1:qt-4.8.7-9.el7_9.x86_64                                16/66
  Installing : libX11-common-1.6.7-4.el7_9.noarch                       17/66
  Installing : libdap-3.13.1-2.el7.x86_64                               18/66
  Installing : libxslt-1.1.28-6.el7.x86_64                              19/66
  Installing : postgresql11-contrib-11.14-1PGDG.rhel7.x86_64            20/66
  Installing : poppler-data-0.4.6-3.el7.noarch                          21/66
  Installing : libxshmfence-1.2-1.el7.x86_64                            22/66
  Installing : lcms2-2.6-3.el7.x86_64                                   23/66
  Installing : mesa-libglapi-18.3.4-12.el7_9.x86_64                     24/66
  Installing : cfitsio-3.370-10.el7.x86_64                              25/66
  Installing : libzstd-1.5.0-1.el7.x86_64                               26/66
  Installing : openjpeg2-2.3.1-3.el7_7.x86_64                           27/66
  Installing : CharLS-1.0-5.el7.x86_64                                  28/66
  Installing : ogdi41-4.1.0-2.rhel7.x86_64                              29/66
  Installing : openjpeg-libs-1.5.1-18.el7.x86_64                        30/66
  Installing : boost-serialization-1.53.0-28.el7.x86_64                 31/66
  Installing : shapelib-1.3.0-2.el7.x86_64                              32/66
  Installing : libXau-1.0.8-2.1.el7.x86_64                              33/66
  Installing : libxcb-1.13-1.el7.x86_64                                 34/66
  Installing : libX11-1.6.7-4.el7_9.x86_64                              35/66
  Installing : libXext-1.3.3-3.el7.x86_64                               36/66
  Installing : libXfixes-5.0.3-1.el7.x86_64                             37/66
  Installing : libXdamage-1.1.4-4.1.el7.x86_64                          38/66
  Installing : libXxf86vm-1.1.4-1.el7.x86_64                            39/66
  Installing : 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64           40/66
  Installing : mesa-libGL-18.3.4-12.el7_9.x86_64                        41/66
  Installing : mesa-libGLU-9.0.0-4.el7.x86_64                           42/66
  Installing : CGAL-4.7-1.rhel7.1.x86_64                                43/66
  Installing : SFCGAL-libs-1.3.1-2.rhel7.x86_64                         44/66
  Installing : SFCGAL-1.3.1-2.rhel7.x86_64                              45/66
  Installing : giflib-4.1.6-9.el7.x86_64                                46/66
  Installing : libaec-1.0.4-1.el7.x86_64                                47/66
  Installing : hdf5-1.8.12-13.el7.x86_64                                48/66
  Installing : netcdf-4.3.3.1-5.el7.x86_64                              49/66
  Installing : jbigkit-libs-2.0-11.el7.x86_64                           50/66
  Installing : libtiff-4.0.3-35.el7.x86_64                              51/66
  Installing : proj72-7.2.1-1.rhel7.x86_64                              52/66
  Installing : libgeotiff16-1.6.0-4.rhel7.x86_64                        53/66
  Installing : libspatialite43-4.3.0a-15.rhel7.x86_64                   54/66
  Installing : libspatialite43-devel-4.3.0a-15.rhel7.x86_64             55/66
  Installing : poppler-0.26.5-43.el7.1.x86_64                           56/66
  Installing : libtiff-devel-4.0.3-35.el7.x86_64                        57/66
  Installing : libgeotiff16-devel-1.6.0-4.rhel7.x86_64                  58/66
  Installing : 1:libusb-0.1.4-3.el7.x86_64                              59/66
  Installing : gpsbabel-1.5.0-2.el7.x86_64                              60/66
  Installing : libwebp-0.3.0-10.el7_9.x86_64                            61/66
  Installing : libgta-1.0.4-1.el7.x86_64                                62/66
  Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64                       63/66
  Installing : unixODBC-2.3.1-14.el7.x86_64                             64/66
  Installing : gdal33-libs-3.3.3-1.rhel7.x86_64                         65/66
  Installing : postgis31_11-3.1.4-1.rhel7.x86_64                        66/66
  Verifying  : postgis31_11-3.1.4-1.rhel7.x86_64                         1/66
  Verifying  : libXext-1.3.3-3.el7.x86_64                                2/66
  Verifying  : libtool-ltdl-2.4.2-22.el7_3.x86_64                        3/66
  Verifying  : libICE-1.0.9-9.el7.x86_64                                 4/66
  Verifying  : giflib-4.1.6-9.el7.x86_64                                 5/66
  Verifying  : libX11-1.6.7-4.el7_9.x86_64                               6/66
  Verifying  : SFCGAL-libs-1.3.1-2.rhel7.x86_64                          7/66
  Verifying  : 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64            8/66
  Verifying  : libXxf86vm-1.1.4-1.el7.x86_64                             9/66
  Verifying  : freexl-1.0.6-1.el7.x86_64                                10/66
  Verifying  : libgta-1.0.4-1.el7.x86_64                                11/66
  Verifying  : unixODBC-2.3.1-14.el7.x86_64                             12/66
  Verifying  : libgeotiff16-1.6.0-4.rhel7.x86_64                        13/66
  Verifying  : mesa-libGLU-9.0.0-4.el7.x86_64                           14/66
  Verifying  : libwebp-0.3.0-10.el7_9.x86_64                            15/66
  Verifying  : fontconfig-2.13.0-4.3.el7.x86_64                         16/66
  Verifying  : fontpackages-filesystem-1.44-8.el7.noarch                17/66
  Verifying  : 1:libusb-0.1.4-3.el7.x86_64                              18/66
  Verifying  : jbigkit-libs-2.0-11.el7.x86_64                           19/66
  Verifying  : libaec-1.0.4-1.el7.x86_64                                20/66
  Verifying  : libXau-1.0.8-2.1.el7.x86_64                              21/66
  Verifying  : shapelib-1.3.0-2.el7.x86_64                              22/66
  Verifying  : xerces-c-3.1.1-10.el7_7.x86_64                           23/66
  Verifying  : boost-serialization-1.53.0-28.el7.x86_64                 24/66
  Verifying  : dejavu-fonts-common-2.33-6.el7.noarch                    25/66
  Verifying  : proj72-7.2.1-1.rhel7.x86_64                              26/66
  Verifying  : openjpeg-libs-1.5.1-18.el7.x86_64                        27/66
  Verifying  : 1:qt-4.8.7-9.el7_9.x86_64                                28/66
  Verifying  : libxcb-1.13-1.el7.x86_64                                 29/66
  Verifying  : libgeotiff16-devel-1.6.0-4.rhel7.x86_64                  30/66
  Verifying  : mesa-libGL-18.3.4-12.el7_9.x86_64                        31/66
  Verifying  : ogdi41-4.1.0-2.rhel7.x86_64                              32/66
  Verifying  : hdf5-1.8.12-13.el7.x86_64                                33/66
  Verifying  : CGAL-4.7-1.rhel7.1.x86_64                                34/66
  Verifying  : CharLS-1.0-5.el7.x86_64                                  35/66
  Verifying  : libjpeg-turbo-1.2.90-8.el7.x86_64                        36/66
  Verifying  : libspatialite43-4.3.0a-15.rhel7.x86_64                   37/66
  Verifying  : openjpeg2-2.3.1-3.el7_7.x86_64                           38/66
  Verifying  : SFCGAL-1.3.1-2.rhel7.x86_64                              39/66
  Verifying  : gdal33-libs-3.3.3-1.rhel7.x86_64                         40/66
  Verifying  : libzstd-1.5.0-1.el7.x86_64                               41/66
  Verifying  : libspatialite43-devel-4.3.0a-15.rhel7.x86_64             42/66
  Verifying  : cfitsio-3.370-10.el7.x86_64                              43/66
  Verifying  : postgresql11-contrib-11.14-1PGDG.rhel7.x86_64            44/66
  Verifying  : dejavu-sans-fonts-2.33-6.el7.noarch                      45/66
  Verifying  : geos39-3.9.2-1.rhel7.x86_64                              46/66
  Verifying  : netcdf-4.3.3.1-5.el7.x86_64                              47/66
  Verifying  : gpsbabel-1.5.0-2.el7.x86_64                              48/66
  Verifying  : mesa-libglapi-18.3.4-12.el7_9.x86_64                     49/66
  Verifying  : libXfixes-5.0.3-1.el7.x86_64                             50/66
  Verifying  : poppler-0.26.5-43.el7.1.x86_64                           51/66
  Verifying  : lcms2-2.6-3.el7.x86_64                                   52/66
  Verifying  : libxshmfence-1.2-1.el7.x86_64                            53/66
  Verifying  : poppler-data-0.4.6-3.el7.noarch                          54/66
  Verifying  : libtiff-devel-4.0.3-35.el7.x86_64                        55/66
  Verifying  : libSM-1.2.2-2.el7.x86_64                                 56/66
  Verifying  : libxslt-1.1.28-6.el7.x86_64                              57/66
  Verifying  : jasper-libs-1.900.1-33.el7.x86_64                        58/66
  Verifying  : libdap-3.13.1-2.el7.x86_64                               59/66
  Verifying  : libX11-common-1.6.7-4.el7_9.noarch                       60/66
  Verifying  : qt-settings-19-23.12.el7.centos.noarch                   61/66
  Verifying  : libXdamage-1.1.4-4.1.el7.x86_64                          62/66
  Verifying  : sqlite33-3.30.1-6.rhel7.x86_64                           63/66
  Verifying  : 1:libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64               64/66
  Verifying  : sqlite33-libs-3.30.1-6.rhel7.x86_64                      65/66
  Verifying  : libtiff-4.0.3-35.el7.x86_64                              66/66

Installed:
  postgis31_11.x86_64 0:3.1.4-1.rhel7

Dependency Installed:
  CGAL.x86_64 0:4.7-1.rhel7.1
  CharLS.x86_64 0:1.0-5.el7
  SFCGAL.x86_64 0:1.3.1-2.rhel7
  SFCGAL-libs.x86_64 0:1.3.1-2.rhel7
  boost-serialization.x86_64 0:1.53.0-28.el7
  cfitsio.x86_64 0:3.370-10.el7
  dejavu-fonts-common.noarch 0:2.33-6.el7
  dejavu-sans-fonts.noarch 0:2.33-6.el7
  fontconfig.x86_64 0:2.13.0-4.3.el7
  fontpackages-filesystem.noarch 0:1.44-8.el7
  freexl.x86_64 0:1.0.6-1.el7
  gdal33-libs.x86_64 0:3.3.3-1.rhel7
  geos39.x86_64 0:3.9.2-1.rhel7
  giflib.x86_64 0:4.1.6-9.el7
  gpsbabel.x86_64 0:1.5.0-2.el7
  hdf5.x86_64 0:1.8.12-13.el7
  jasper-libs.x86_64 0:1.900.1-33.el7
  jbigkit-libs.x86_64 0:2.0-11.el7
  lcms2.x86_64 0:2.6-3.el7
  libICE.x86_64 0:1.0.9-9.el7
  libSM.x86_64 0:1.2.2-2.el7
  libX11.x86_64 0:1.6.7-4.el7_9
  libX11-common.noarch 0:1.6.7-4.el7_9
  libXau.x86_64 0:1.0.8-2.1.el7
  libXdamage.x86_64 0:1.1.4-4.1.el7
  libXext.x86_64 0:1.3.3-3.el7
  libXfixes.x86_64 0:5.0.3-1.el7
  libXxf86vm.x86_64 0:1.1.4-1.el7
  libaec.x86_64 0:1.0.4-1.el7
  libdap.x86_64 0:3.13.1-2.el7
  libgeotiff16.x86_64 0:1.6.0-4.rhel7
  libgeotiff16-devel.x86_64 0:1.6.0-4.rhel7
  libglvnd.x86_64 1:1.0.1-0.8.git5baa1e5.el7
  libglvnd-glx.x86_64 1:1.0.1-0.8.git5baa1e5.el7
  libgta.x86_64 0:1.0.4-1.el7
  libjpeg-turbo.x86_64 0:1.2.90-8.el7
  libspatialite43.x86_64 0:4.3.0a-15.rhel7
  libspatialite43-devel.x86_64 0:4.3.0a-15.rhel7
  libtiff.x86_64 0:4.0.3-35.el7
  libtiff-devel.x86_64 0:4.0.3-35.el7
  libtool-ltdl.x86_64 0:2.4.2-22.el7_3
  libusb.x86_64 1:0.1.4-3.el7
  libwebp.x86_64 0:0.3.0-10.el7_9
  libxcb.x86_64 0:1.13-1.el7
  libxshmfence.x86_64 0:1.2-1.el7
  libxslt.x86_64 0:1.1.28-6.el7
  libzstd.x86_64 0:1.5.0-1.el7
  mesa-libGL.x86_64 0:18.3.4-12.el7_9
  mesa-libGLU.x86_64 0:9.0.0-4.el7
  mesa-libglapi.x86_64 0:18.3.4-12.el7_9
  netcdf.x86_64 0:4.3.3.1-5.el7
  ogdi41.x86_64 0:4.1.0-2.rhel7
  openjpeg-libs.x86_64 0:1.5.1-18.el7
  openjpeg2.x86_64 0:2.3.1-3.el7_7
  poppler.x86_64 0:0.26.5-43.el7.1
  poppler-data.noarch 0:0.4.6-3.el7
  postgresql11-contrib.x86_64 0:11.14-1PGDG.rhel7
  proj72.x86_64 0:7.2.1-1.rhel7
  qt.x86_64 1:4.8.7-9.el7_9
  qt-settings.noarch 0:19-23.12.el7.centos
  shapelib.x86_64 0:1.3.0-2.el7
  sqlite33.x86_64 0:3.30.1-6.rhel7
  sqlite33-libs.x86_64 0:3.30.1-6.rhel7
  unixODBC.x86_64 0:2.3.1-14.el7
  xerces-c.x86_64 0:3.1.1-10.el7_7

Complete!

[root@flas /]# rpm -qa | grep postg
postgresql11-11.14-1PGDG.rhel7.x86_64
postgresql11-contrib-11.14-1PGDG.rhel7.x86_64
postgresql11-libs-11.14-1PGDG.rhel7.x86_64
postgresql11-server-11.14-1PGDG.rhel7.x86_64
postgis31_11-3.1.4-1.rhel7.x86_64

2. gdal 관련 라이브러리 

[root@flas /]# yum install libgdal*
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * centos-sclo-rh: mirror.kakao.com
 * epel: mirrors.nipa.cloud
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Package gdal33-libs-3.3.3-1.rhel7.x86_64 already installed and latest version
Package ogdi41-4.1.0-2.rhel7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package gdal-java.x86_64 0:1.11.4-3.el7 will be installed
--> Processing Dependency: jpackage-utils for package: gdal-java-1.11.4-3.el7.x86_64
--> Processing Dependency: libarmadillo.so.8()(64bit) for package: gdal-java-1.11.4-3.el7.x86_64
--> Processing Dependency: libgeotiff.so.1.2()(64bit) for package: gdal-java-1.11.4-3.el7.x86_64
---> Package gdal-libs.x86_64 0:1.11.4-3.el7 will be installed
---> Package gdal30-libs.x86_64 0:3.0.4-4.rhel7 will be installed
---> Package gdal31-libs.x86_64 0:3.1.3-2.rhel7 will be installed
---> Package gdal32-libs.x86_64 0:3.2.3-4.rhel7 will be installed
---> Package gdal34-libs.x86_64 0:3.4.0-1.rhel7 will be installed
---> Package ogdi.x86_64 0:3.2.0-0.19.beta2.el7 will be installed
--> Processing Dependency: libproj.so.0()(64bit) for package: ogdi-3.2.0-0.19.beta2.el7.x86_64
--> Running transaction check
---> Package armadillo.x86_64 0:8.600.1-2.el7 will be installed
--> Processing Dependency: libarpack.so.2()(64bit) for package: armadillo-8.600.1-2.el7.x86_64
--> Processing Dependency: liblapack.so.3()(64bit) for package: armadillo-8.600.1-2.el7.x86_64
--> Processing Dependency: libopenblaso.so.0()(64bit) for package: armadillo-8.600.1-2.el7.x86_64
--> Processing Dependency: libsuperlu.so.5.1()(64bit) for package: armadillo-8.600.1-2.el7.x86_64
---> Package javapackages-tools.noarch 0:3.4.1-11.el7 will be installed
--> Processing Dependency: python-javapackages = 3.4.1-11.el7 for package: javapackages-tools-3.4.1-11.el7.noarch
---> Package libgeotiff.x86_64 0:1.2.5-14.el7 will be installed
---> Package proj.x86_64 0:4.8.0-4.el7 will be installed
--> Running transaction check
---> Package SuperLU.x86_64 0:5.2.0-5.el7 will be installed
--> Processing Dependency: libsatlas.so.3()(64bit) for package: SuperLU-5.2.0-5.el7.x86_64
---> Package arpack.x86_64 0:3.1.3-2.el7 will be installed
---> Package lapack.x86_64 0:3.4.2-8.el7 will be installed
--> Processing Dependency: libblas.so.3()(64bit) for package: lapack-3.4.2-8.el7.x86_64
---> Package openblas-openmp.x86_64 0:0.3.3-2.el7 will be installed
---> Package python-javapackages.noarch 0:3.4.1-11.el7 will be installed
--> Processing Dependency: python-lxml for package: python-javapackages-3.4.1-11.el7.noarch
--> Running transaction check
---> Package atlas.x86_64 0:3.10.1-12.el7 will be installed
---> Package blas.x86_64 0:3.4.2-8.el7 will be installed
---> Package python-lxml.x86_64 0:3.2.1-4.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================
 Package               Arch     Version                   Repository     Size
==============================================================================
Installing:
 gdal-java             x86_64   1.11.4-3.el7              epel          249 k
 gdal-libs             x86_64   1.11.4-3.el7              epel          4.4 M
 gdal30-libs           x86_64   3.0.4-4.rhel7             pgdg-common   7.1 M
 gdal31-libs           x86_64   3.1.3-2.rhel7             pgdg-common   7.7 M
 gdal32-libs           x86_64   3.2.3-4.rhel7             pgdg-common   7.8 M
 gdal34-libs           x86_64   3.4.0-1.rhel7             pgdg-common   8.2 M
 ogdi                  x86_64   3.2.0-0.19.beta2.el7      epel          248 k
Installing for dependencies:
 SuperLU               x86_64   5.2.0-5.el7               epel          180 k
 armadillo             x86_64   8.600.1-2.el7             epel           29 k
 arpack                x86_64   3.1.3-2.el7               epel          101 k
 atlas                 x86_64   3.10.1-12.el7             base          4.5 M
 blas                  x86_64   3.4.2-8.el7               base          399 k
 javapackages-tools    noarch   3.4.1-11.el7              base           73 k
 lapack                x86_64   3.4.2-8.el7               base          5.4 M
 libgeotiff            x86_64   1.2.5-14.el7              epel          545 k
 openblas-openmp       x86_64   0.3.3-2.el7               epel          4.4 M
 proj                  x86_64   4.8.0-4.el7               epel          181 k
 python-javapackages   noarch   3.4.1-11.el7              base           31 k
 python-lxml           x86_64   3.2.1-4.el7               base          758 k

Transaction Summary
==============================================================================
Install  7 Packages (+12 Dependent packages)
-- 이하 생략

[root@flas /]# yum install gdal-devel
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * centos-sclo-rh: mirror.kakao.com
 * epel: mirrors.nipa.cloud
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package gdal-devel.x86_64 0:1.11.4-3.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================
 Package            Arch           Version                 Repository    Size
==============================================================================
Installing:
 gdal-devel         x86_64         1.11.4-3.el7            epel         130 k

Transaction Summary
==============================================================================
Install  1 Package
-- 이하 생략

3. PostGIS 생성 및 확인

[root@flas ~]# su - postgres

Last login: Wed Dec 22 08:54:30 KST 2021 on pts/0

-- 사용자 생성
-bash-4.2$ createuser flas_gis

-- 디비 생성 및 사용자 할당
-bash-4.2$ createdb flas_db -O flas_gis

-- 디비접속
-bash-4.2$ psql -d flas_db
psql (11.14)
Type "help" for help.

-- 디비 최종확인
flas_db=# select version();
                                                 version
---------------------------------------------------------------------------------------
 PostgreSQL 11.14 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat
4.8.5-44), 64-bit
(1 row)

--PostGIS 설치
flas_db=# CREATE EXTENSION postgis;
CREATE EXTENSION

-- Topology 설치
flas_db=# CREATE EXTENSION postgis_topology;
CREATE EXTENSION

-- Raster 설치
flas_db=# CREATE EXTENSION postgis_raster;
CREATE EXTENSION

-- sfcgal 설치
flas_db=# CREATE EXTENSION postgis_sfcgal;
CREATE EXTENSION

flas_db=# CREATE EXTENSION fuzzystrmatch;
CREATE EXTENSION

flas_db=# SELECT PostGIS_full_version();
                      postgis_full_version
----------------------------------------------------------------------------------------
 POSTGIS="3.1.4 ded6c34" [EXTENSION] PGSQL="110" GEOS="3.9.2-CAPI-1.14.3" SFCGAL="1.3.1"
 PROJ="7.2.1" GDAL="GDAL 3.3.3, released 2021/10/25" LIBXML="2.9.1" LIBJSON="0.11" TOPOL
OGY RASTER
(1 row)

 

728x90