如何手动安装旧的 cygwin 软件包?
我正在进行的一个项目需要旧版本的 SLAPD(LDAP 服务器)并且必须在 Windows 上运行,因此我使用 cygwin 包:
我找到了 slapd 版本的二进制包,我在这里需要 2.2.x:
http://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/release/...
如何手动安装在cygwin 中吗? 它似乎不是包管理器文件格式(如 RPM 或 Deb),但有没有一个工具可以为我安装它?
仅供参考,我在公司防火墙后面操作,这阻止我查看 cygwin 主站点(包括文档),所以请不要告诉我 RTFM - 我希望我可以!
谢谢
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:
I've found a binary package of slapd version I need 2.2.x here:
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?
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!
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您需要旧版本,Cygwin 时间机器可能会有所帮助。 要使用它,我必须从命令行调用 setup.exe,为其提供
--no-verify
/-X
选项,但它仍然不允许我降级“cygwin”软件包本身,但至少它(尽管速度很慢)允许我安装我想要作为并行安装进行测试的版本。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 软件包安装程序来安装此软件包,通常如果您选择查看完整信息并滚动到您需要的软件包,您将看到有关版本的一些信息。
现在,如果您单击版本号,您将看到它从存储库中最旧的版本更改为当前版本。 如果您的存储库有您需要的版本,则只需完成向导即可。
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.
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.
某些 cygwin 镜像会保留旧的包文件,例如 http://mirror.isoc.org。 il/pub/cygwin/
您可以使用 Sonatype nexus 镜像现有的 cygwin 存储库,但提供您自己的 setup.ini 。
复制已将存储库内容下载到 c:\progs\nexus\sonatype-work\nexus\storage\mirror.isoc.org.il-pub-cygwin\
将您自己的 setup.ini 和 setup.bz2 放在那里。
使用 --no-verify 启动 setup.exe
粘贴
到镜像选择框中,然后单击“添加”
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 .
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
into the mirror selection box and click "Add"