A project I am working on requires an old version of SLAPD (the LDAP server) and must run on Windows, hence I am using cygwin packages:
我正在处理的项目需要旧版本的SLAPD(LDAP服务器),并且必须在Windows上运行,因此我使用的是cygwin软件包:
I've found a binary package of slapd version I need 2.2.x here:
我发现了一个slapd版本的二进制包我需要2.2.x:
http://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/release/...
How do I manually install it in cygwin? It does not seem to be a package-manager file format (like an RPM or a Deb), but is there a tool to install it for me?
如何在cygwin中手动安装它?它似乎不是一个包管理器文件格式(如RPM或Deb),但有没有一个工具可以为我安装它?
FYI, I'm operating behind a corporate firewall that prevents me from viewing the main cygwin site (including the documentation), so please nobody tell me to RTFM - I wish I could!
仅供参考,我在企业防火墙后面操作,阻止我查看主要的cygwin站点(包括文档),所以请没有人告诉我RTFM - 我希望我能!
Thanks
3 个解决方案
#1
If you are using the cygwin package installer to install this package, usually if you select to view the full info and scroll to the package you need you will see some info about the version.
如果您使用cygwin软件包安装程序来安装此软件包,通常如果您选择查看完整信息并滚动到所需的软件包,您将看到有关该版本的一些信息。
Now if you click on the version number you will see that it changes from the oldest in the repository to the current. If your repository has the version you need then just finish the wizard.
现在,如果单击版本号,您将看到它从存储库中最旧的更改为当前版本号。如果您的存储库具有您需要的版本,那么只需完成向导即可。
#2
If you need an older version, the Cygwin time machine might help. To use it, I had to invoke setup.exe from the command line, giving it the --no-verify
/-X
option and it still wouldn't let me downgrade the "cygwin" package itself but at least it is, albeit very slowly, allowing me to install the version I wanted to test as a parallel installation.
如果您需要旧版本,Cygwin时间机器可能会有所帮助。要使用它,我不得不从命令行调用setup.exe,给它--no-verify / -X选项,它仍然不会让我降级“cygwin”包本身,但至少它是,虽然它是,虽然非常慢,允许我安装我想测试的版本作为并行安装。
#3
Some cygwin mirrors keep old package files, for example, http://mirror.isoc.org.il/pub/cygwin/ You can use Sonatype nexus to mirror an existing cygwin repository, but provide your own setup.ini .
一些cygwin镜像保留旧的包文件,例如,http://mirror.isoc.org.il/pub/cygwin/您可以使用Sonatype nexus镜像现有的cygwin存储库,但提供您自己的setup.ini。
Copy the already downloaded repo content to c:\progs\nexus\sonatype-work\nexus\storage\mirror.isoc.org.il-pub-cygwin\
Put your own setup.ini and setup.bz2 there.
Start setup.exe with --no-verify
Paste
将已下载的repo内容复制到c:\ progs \ nexus \ sonatype-work \ nexus \ storage \ mirror.isoc.org.il-pub-cygwin \将自己的setup.ini和setup.bz2放在那里。使用--no-verify粘贴启动setup.exe
http://localhost:8081/nexus/content/repositories/mirror.isoc.org.il-pub-cygwin/
into the mirror selection box and click "Add"
进入镜像选择框并单击“添加”
#1
If you are using the cygwin package installer to install this package, usually if you select to view the full info and scroll to the package you need you will see some info about the version.
如果您使用cygwin软件包安装程序来安装此软件包,通常如果您选择查看完整信息并滚动到所需的软件包,您将看到有关该版本的一些信息。
Now if you click on the version number you will see that it changes from the oldest in the repository to the current. If your repository has the version you need then just finish the wizard.
现在,如果单击版本号,您将看到它从存储库中最旧的更改为当前版本号。如果您的存储库具有您需要的版本,那么只需完成向导即可。
#2
If you need an older version, the Cygwin time machine might help. To use it, I had to invoke setup.exe from the command line, giving it the --no-verify
/-X
option and it still wouldn't let me downgrade the "cygwin" package itself but at least it is, albeit very slowly, allowing me to install the version I wanted to test as a parallel installation.
如果您需要旧版本,Cygwin时间机器可能会有所帮助。要使用它,我不得不从命令行调用setup.exe,给它--no-verify / -X选项,它仍然不会让我降级“cygwin”包本身,但至少它是,虽然它是,虽然非常慢,允许我安装我想测试的版本作为并行安装。
#3
Some cygwin mirrors keep old package files, for example, http://mirror.isoc.org.il/pub/cygwin/ You can use Sonatype nexus to mirror an existing cygwin repository, but provide your own setup.ini .
一些cygwin镜像保留旧的包文件,例如,http://mirror.isoc.org.il/pub/cygwin/您可以使用Sonatype nexus镜像现有的cygwin存储库,但提供您自己的setup.ini。
Copy the already downloaded repo content to c:\progs\nexus\sonatype-work\nexus\storage\mirror.isoc.org.il-pub-cygwin\
Put your own setup.ini and setup.bz2 there.
Start setup.exe with --no-verify
Paste
将已下载的repo内容复制到c:\ progs \ nexus \ sonatype-work \ nexus \ storage \ mirror.isoc.org.il-pub-cygwin \将自己的setup.ini和setup.bz2放在那里。使用--no-verify粘贴启动setup.exe
http://localhost:8081/nexus/content/repositories/mirror.isoc.org.il-pub-cygwin/
into the mirror selection box and click "Add"
进入镜像选择框并单击“添加”