在本地redhat

时间:2018-04-19 12:51:35

标签: r redhat yum gdal rgdal

我必须在R上安装rgdal个套餐(这是我之前发布的关于rgdal的其他question,这是一个相关的question,它没有&#39}。为redhat工作),所以我必须在安装rgdal之前安装一些依赖项。如果您检查CRAN depo here,您会注意到GDAL和PROJ.4是从源代码构建rgdal所需的包。

知道我在linux Os(Redhat 6)和我的服务器是本地的(没有连接到互联网只有一些不包含所有redhat包的redhat存储库)。我下载了这些软件包,并使用yum install来安装它们:

例如,这是我在安装gdal时所得到的:

Resolving Dependencies
--> Running transaction check
---> Package gdal.x86_64 0:1.8.1-1.el6 will be installed
--> Processing Dependency: libcfitsio.so.0()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libdap.so.11()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libdapclient.so.3()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libdapserver.so.7()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libgeos_c.so.1()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libgeotiff.so.2()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libhdf5.so.6()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libnetcdf.so.6()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libodbc.so.2()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libodbcinst.so.2()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libogdi.so.3()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: librx.so.0()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libspatialite.so.2()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libxerces-c-3.0.so()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Running transaction check
---> Package gdal.x86_64 0:1.8.1-1.el6 will be installed
--> Processing Dependency: libcfitsio.so.0()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libdap.so.11()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libdapclient.so.3()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libdapserver.so.7()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libgeos_c.so.1()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libgeotiff.so.2()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libhdf5.so.6()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libnetcdf.so.6()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libogdi.so.3()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: librx.so.0()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libspatialite.so.2()(64bit) for package: gdal-1.8.1-1.el6.x86_64
---> Package unixODBC.x86_64 0:2.2.14-14.el6 will be installed
--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.2.14-14.el6.x86_64
---> Package xerces-c.x86_64 0:3.0.1-20.el6 will be installed
--> Running transaction check
---> Package gdal.x86_64 0:1.8.1-1.el6 will be installed
--> Processing Dependency: libcfitsio.so.0()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libdap.so.11()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libdapclient.so.3()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libdapserver.so.7()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libgeos_c.so.1()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libgeotiff.so.2()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libhdf5.so.6()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libnetcdf.so.6()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libogdi.so.3()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: librx.so.0()(64bit) for package: gdal-1.8.1-1.el6.x86_64
--> Processing Dependency: libspatialite.so.2()(64bit) for package: gdal-1.8.1-1.el6.x86_64
---> Package libtool-ltdl.x86_64 0:2.2.6-15.5.el6 will be installed
--> Finished Dependency Resolution
Error: Package: gdal-1.8.1-1.el6.x86_64 (/gdal-1.8.1-1.el6.x86_64)
           Requires: libgeotiff.so.2()(64bit)
Error: Package: gdal-1.8.1-1.el6.x86_64 (/gdal-1.8.1-1.el6.x86_64)
           Requires: libnetcdf.so.6()(64bit)
Error: Package: gdal-1.8.1-1.el6.x86_64 (/gdal-1.8.1-1.el6.x86_64)
           Requires: libgeos_c.so.1()(64bit)
Error: Package: gdal-1.8.1-1.el6.x86_64 (/gdal-1.8.1-1.el6.x86_64)
           Requires: librx.so.0()(64bit)
Error: Package: gdal-1.8.1-1.el6.x86_64 (/gdal-1.8.1-1.el6.x86_64)
           Requires: libcfitsio.so.0()(64bit)
Error: Package: gdal-1.8.1-1.el6.x86_64 (/gdal-1.8.1-1.el6.x86_64)
           Requires: libhdf5.so.6()(64bit)
Error: Package: gdal-1.8.1-1.el6.x86_64 (/gdal-1.8.1-1.el6.x86_64)
           Requires: libspatialite.so.2()(64bit)
Error: Package: gdal-1.8.1-1.el6.x86_64 (/gdal-1.8.1-1.el6.x86_64)
           Requires: libdap.so.11()(64bit)
Error: Package: gdal-1.8.1-1.el6.x86_64 (/gdal-1.8.1-1.el6.x86_64)
           Requires: libogdi.so.3()(64bit)
Error: Package: gdal-1.8.1-1.el6.x86_64 (/gdal-1.8.1-1.el6.x86_64)
           Requires: libdapserver.so.7()(64bit)
Error: Package: gdal-1.8.1-1.el6.x86_64 (/gdal-1.8.1-1.el6.x86_64)
           Requires: libdapclient.so.3()(64bit)
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
lgtoclnt-8.2.3.7-1.x86_64 has missing requires of libcap.so.1()(64bit)

以下依赖项的每个包都需要一个类似数量的包。这意味着我需要像100个软件包一样安装。

我一直在解决这个问题,就像3天一样,我不知道如何解决这个问题

0 个答案:

没有答案