简体   繁体   English

在Windows 8.1上安装Cygwin

[英]Installing Cygwin on Windows 8.1

I want to install Cygwin on Windows 8.1 64bit but got no success using any variant. 我想在Windows 8.1 64位上安装Cygwin,但是使用任何变体都没有成功。 I tried: 我试过了:

1) I downloaded fresh setup-x86_x64 from cygwin site and then tried to install from Internet but got empty mirror list. 1)我从cygwin网站下载了最新的setup-x86_x64,然后尝试从Internet安装,但镜像列表为空。

2) The I tried manually add mirror from https://cygwin.com/mirrors.lst (this file accessible from my computer) but got "unable to get setup.ini" error. 2)我尝试从https://cygwin.com/mirrors.lst (可从我的计算机访问此文件)手动添加镜像,但出现“无法获取setup.ini”错误。

3) then I tried to download WHOLE package manually from one of the mirrors (all mirrors normally accessible from my computer via FTP or HTTP) to setup from local package. 3)然后我尝试从其中一个镜像(通常可以通过FTP或HTTP从我的计算机访问的所有镜像)中手动下载WHOLE软件包,以从本地软件包进行设置。 When I downloaded all packages (about 30 Gigs) I ran setup with local package option. 当我下载所有软件包(约30 Gig)时,我使用本地软件包选项运行安装程序。 Package folder was scanned and I got list of categories. 扫描了软件包文件夹,我得到了类别列表。 But there was no package in any category. 但是没有任何类别的软件包。

4) also I tried to run setup on my Windows 7 notebook. 4)我也尝试在Windows 7笔记本电脑上运行安装程序。 It got mirror list normally. 它正常获得了镜像列表。 Also I downloaded packages by setup program using my notebook, then transfered them to my Win 8.1 desktop, but the story was the same: I saw list of categories without packages. 另外,我使用笔记本电脑通过安装程序下载了程序包,然后将其传输到Win 8.1桌面上,但故事是一样的:我看到了没有程序包的类别列表。 But on Win7 notebook I saw packages in categoies when I tried to install from the same directory. 但是在Win7笔记本上,当我尝试从同一目录安装时,我看到了类别中的软件包。

5) Also I tried to turn off or even uninstall my firewall and antivirus software, but all results was the same. 5)我也尝试关闭甚至卸载防火墙和防病毒软件,但是所有结果都是相同的。

6) I tried to run setup with administrator rights, tried to use different folders and HDD paths, tried to use x86 setup instead of x64 setup. 6)我尝试使用管理员权限运行安装程序,尝试使用其他文件夹和HDD路径,尝试使用x86安装程序而不是x64安装程序。

But nothing helped me. 但是没有任何帮助。

Any ideas? 有任何想法吗?

Define "didn't work". 定义“无效”。 Post whatever error message the installer presents to you. 发布安装程序显示给您的任何错误消息。 Every little bit of information helps. 每一点信息都会有所帮助。

A common issue people experience while installing cygwin are outdated mirrors, ie, websites who'd usually mirror the cygwin stack, but failed to keep it updated, which explains your issue regarding a missing/bad setup.ini file. 人们在安装cygwin时遇到的一个常见问题是过时的镜像,即那些通常会镜像cygwin堆栈但未能保持更新的网站,这解释了您关于setup.ini文件丢失/损坏的问题。

In any case, you most definitely would never want to actually download the entire cygwin stack, as it also includes past-, current-, and beta-versions. 无论如何,您绝对绝对不会真正下载整个 cygwin堆栈,因为它还包括过去,当前和beta版本。
As far as I know, "local installation" is a remnant of the days where one could acquire CDs containing the cygwin stack, but feel free to correct me if I'm wrong. 据我所知,“本地安装”是人们可以获取包含cygwin堆栈的CD的日子的残余,但是如果我错了,请随时纠正我。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM