Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What packages should I install with Cygwin to make it not bloated but also have everything I would need as a developer? [closed]

Tags:

cygwin

Normally, I run Linux in a VM, however, most of my VMs are on an external HDD and I might or might not have one with me. I figure Cygwin would be a good alternative for lightweight functionality when I need something Linux like and don't have a VM on my laptop. But I'm having trouble getting the configuration right - I want the bare minimum for development + X11. Has anyone used Cygwin in this manner? If so, what suggestions do you have?

like image 280
Thomas Owens Avatar asked Dec 25 '08 13:12

Thomas Owens


People also ask

Is Cygwin heavy?

Every source I found online says a full installation of Cygwin takes over 1 GB, but mine is only 100 MB. I was pretty sure I downloaded everything from the mirror servers, but the install took less than 5 minutes to complete instead of hours, as I'd expect if it were installing gigabytes of software.

What is the best download site for Cygwin?

Choose a download site. "http://mirrors.kernel.org" is a good choice. "http://cygwin.mirrors.hoobly.com" is another good one, in Pennsyvania.

How much disk space does Cygwin use?

If you have a 32-bit machine, please download and run setup-x86.exe instead.) Cygwin will need at least 2GB of disk space to download and an additional 4GB of disk space to install.


2 Answers

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.

like image 170
dimo414 Avatar answered Sep 28 '22 06:09

dimo414


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.

like image 36
Brent.Longborough Avatar answered Sep 28 '22 07:09

Brent.Longborough