Update: I've switched over to WSL since posting this answer. If you're still using Cygwin give it a try. It's not a drop-in replacement but it's nicer in a number of ways.
Personally, I find having to exit Cygwin just to install new packages annoying enough to try to avoid the just-in-time strategy, and fortunately there's a tool to make this much easier: apt-cyg. This way you actually can just-in-time install packages without having to quit Cygwin.
That said, here's a list of common packages you might want to install, whether via the installer or via apt-cyg:
bash-completion
lynx (to install apt-cyg), wget and curl
vim
hg, git, and maybe svn and git-svn
diffutils and patchutils
python and python3
There's tons of Cygwin setup posts out on the internet too, I referenced this one.
First option: don't worry about "bloat" - install everything that comes to mind.
With a permanently-available internet connection, I've also taken a "just in time" approach - the Cygwin installer makes it easy to download and install whatever you need, as and when you discover you need it.
发布评论
评论(3)
更新:自从发布此答案后,我已切换到 WSL。 如果您仍在使用 Cygwin,请尝试一下。 它不是一个简单的替代品,但它在很多方面都更好。
就我个人而言,我发现必须退出 Cygwin 才能安装新软件包,这很烦人,足以尝试避免即时策略,幸运的是,有一个使这变得更容易的工具:
apt-cyg
。 这样您实际上可以即时安装软件包,而无需退出 Cygwin。也就是说,这里是您可能想要安装的常见软件包的列表,无论是通过安装程序还是通过 apt-cyg 来安装:
apt-cyg
),wget
和curl
vim
hg
,< code>git,也许还有svn
和git-svn
diffutils
和patchutils
python
和python3
互联网上也有大量的 Cygwin 设置帖子,我引用了 这个。
Update: I've switched over to WSL since posting this answer. If you're still using Cygwin give it a try. It's not a drop-in replacement but it's nicer in a number of ways.
Personally, I find having to exit Cygwin just to install new packages annoying enough to try to avoid the just-in-time strategy, and fortunately there's a tool to make this much easier:
apt-cyg
. This way you actually can just-in-time install packages without having to quit Cygwin.That said, here's a list of common packages you might want to install, whether via the installer or via
apt-cyg
:bash-completion
lynx
(to installapt-cyg
),wget
andcurl
vim
hg
,git
, and maybesvn
andgit-svn
diffutils
andpatchutils
python
andpython3
There's tons of Cygwin setup posts out on the internet too, I referenced this one.
第一个选择:不要担心“膨胀”——安装想到的所有东西。
借助永久可用的互联网连接,我还采取了“及时”方法 - Cygwin 安装程序可以让您在发现需要时轻松下载和安装所需的任何内容。
First option: don't worry about "bloat" - install everything that comes to mind.
With a permanently-available internet connection, I've also taken a "just in time" approach - the Cygwin installer makes it easy to download and install whatever you need, as and when you discover you need it.
这里唯一的方法是反复试验。 从绝对最小的安装开始,并在您发现需要时添加内容。
The only way here is trial-and-error. Start with an absolute minimal installation and add things as you find that you need them.