Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Manual Cygwin Installation without using Setup.exe

I am having issues with finding all of the necessary files to actually install Cygwin correctly when not using the premade setup utility. The reason behind this is the fact that my company computer blocks the usage of the .exe, and won't give me clearance to install it, (they say it isn't needed for the job) but expects me to perform certain tasks that Cygwin would make much simpler.

So my question is thus; is there somewhere/someone that would have a list of packages that I would need to manually install from one of the mirrors to make Cygwin run correctly?

like image 797
Jeff Langemeier Avatar asked Jun 30 '11 17:06

Jeff Langemeier


People also ask

Where is setup exe for Cygwin?

Once you have an existing Cygwin installation, the setup.exe chooser is also used to manage your Cygwin installation. Information on installed packages is kept in the /etc/setup/ directory of your Cygwin installation; if setup.exe cannot find this directory it will act as if you have no Cygwin installation.

Can you install Cygwin without admin rights?

Install Cygwin (without admin rights) Download setup-x86_64.exe. Open command line window (WIN+R and type cmd ). During installation select the wget package. After installation open a Cygwin Terminal via Windows desktop shortcut.

What download site should I use for Cygwin?

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


2 Answers

Well,

This is a new answer to an old question, but it might be helpful for someone...

Just run the installer with -B switch, for example:

setup-x86_64.exe -B

You should install it then on a path where you have rights.

like image 51
Martin Avatar answered Oct 07 '22 16:10

Martin


If you don't need the full POSIX compatibility (which I'm guessing you don't, if the Unix subsystem isn't required for your job), I'd generally suggest you go with Mingw rather than Cygwin.

Sadly, Mingw also has an installer these days. It probably also requires admin (try it and see). However, you can download the individual components you need if you want to do it that way. That shouldn't require admin, so it would probably get you exactly what you want.

Mingw is also more corporate-friendly from a licensing standpoint, as its compiler doesn't render code built with it GPL like Cygwin's does.

Generally the rule is:

  • If you want to use Unixy tools to help with your native Windows development, you want Mingw.
  • If want to port a full (POSIX) Unix program to windows, you want Cygwin (and perhaps a support deal with Red Hat to get around the licensing problem).
like image 32
T.E.D. Avatar answered Oct 07 '22 15:10

T.E.D.