RPM 包可以安装到 Cygwin 中吗?

RPM 包可以安装到 Cygwin 中吗?

我注意到 Cygwin 1.7 下有一个命令 - rpm -。这是否意味着 RPM 包可以安装到 Cygwin 中?

我尝试安装 ncbi-blast-2.2.26+-3.i686.rpm(参见:ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/) 进入 Cygwin 1.7.13,使用命令“install -i ncbi-blast-2.2.26+-3.i686.rpm”。但是,出现了这个错误信息。

我尝试使用 Cygwin 的 setup.exe 搜索缺失的库。似乎有些库不存在,例如 libc.so.6、libdl.so.2、libm.so.6、libnsl.so.1 和 libz.so.1。我在哪里可以找到这些库?

$ rpm -i ncbi-blast-2.2.26+-3.i686.rpm
    error: Failed dependencies:
    /usr/bin/perl is needed by ncbi-blast-2.2.26+-3
    libbz2.so.1 is needed by ncbi-blast-2.2.26+-3
    libc.so.6 is needed by ncbi-blast-2.2.26+-3
    libc.so.6(GLIBC_2.0) is needed by ncbi-blast-2.2.26+-3
    libc.so.6(GLIBC_2.1) is needed by ncbi-blast-2.2.26+-3
    libc.so.6(GLIBC_2.1.2) is needed by ncbi-blast-2.2.26+-3
    libc.so.6(GLIBC_2.1.3) is needed by ncbi-blast-2.2.26+-3
    libc.so.6(GLIBC_2.2) is needed by ncbi-blast-2.2.26+-3
    libc.so.6(GLIBC_2.3) is needed by ncbi-blast-2.2.26+-3
    libdl.so.2 is needed by ncbi-blast-2.2.26+-3
    libdl.so.2(GLIBC_2.0) is needed by ncbi-blast-2.2.26+-3
    libdl.so.2(GLIBC_2.1) is needed by ncbi-blast-2.2.26+-3
    libgcc_s.so.1 is needed by ncbi-blast-2.2.26+-3
    libgcc_s.so.1(GCC_3.0) is needed by ncbi-blast-2.2.26+-3
    libgcc_s.so.1(GLIBC_2.0) is needed by ncbi-blast-2.2.26+-3
    libm.so.6 is needed by ncbi-blast-2.2.26+-3
    libnsl.so.1 is needed by ncbi-blast-2.2.26+-3
    libpthread.so.0 is needed by ncbi-blast-2.2.26+-3
    libpthread.so.0(GLIBC_2.0) is needed by ncbi-blast-2.2.26+-3
    libpthread.so.0(GLIBC_2.1) is needed by ncbi-blast-2.2.26+-3
    libpthread.so.0(GLIBC_2.2) is needed by ncbi-blast-2.2.26+-3
    libpthread.so.0(GLIBC_2.3.2) is needed by ncbi-blast-2.2.26+-3
    librt.so.1 is needed by ncbi-blast-2.2.26+-3
    libstdc++.so.6 is needed by ncbi-blast-2.2.26+-3
    libstdc++.so.6(CXXABI_1.3) is needed by ncbi-blast-2.2.26+-3
    libstdc++.so.6(GLIBCXX_3.4) is needed by ncbi-blast-2.2.26+-3
    libstdc++.so.6(GLIBCXX_3.4.5) is needed by ncbi-blast-2.2.26+-3
    libz.so.1 is needed by ncbi-blast-2.2.26+-3
    perl(Archive::Tar) is needed by ncbi-blast-2.2.26+-3
    perl(Digest::MD5) is needed by ncbi-blast-2.2.26+-3
    perl(File::Temp) is needed by ncbi-blast-2.2.26+-3
    perl(File::stat) is needed by ncbi-blast-2.2.26+-3
    perl(Getopt::Long) is needed by ncbi-blast-2.2.26+-3
    perl(Net::FTP) is needed by ncbi-blast-2.2.26+-3
    perl(Pod::Usage) is needed by ncbi-blast-2.2.26+-3
    perl(constant) is needed by ncbi-blast-2.2.26+-3
    perl(strict) is needed by ncbi-blast-2.2.26+-3
    perl(warnings) is needed by ncbi-blast-2.2.26+-3

答案1

对于您来说,从丢失的文件可以看出,这个 RPM 是针对 Linux 的,并且不适用于 Windows。

rpmCygwin 中的支持旨在用于构建您自己的 RPM 包。

答案2

是的。但您无法安装随意的RPM 到 Cygwin 中;它们必须专为 Cygwin 的适当架构创建,并且它们也必须具有所有依赖项作为 RPM。

相关内容