Search code examples
linuxshellcygwin

cygwin to compile math library


I try to compile a library with Cygwin, following instructions at http://matrixprogramming.com/2008/03/umfpack.

In section fetching and unpacking, I learn that I should use these Unix commands:

$ wget http://www.cise.ufl.edu/research/sparse/umfpack/UMFPACK-5.2.0.tar.gz

I would like to rapidly try that with cygwin, but it is not working like that (with Cygwin terminal). I get the following error:

-bash: wget: command not found

could somebody tell me how to compile the thing with Cygwin, or how to adapt commands to Cygwin?

Or what other mean to compile this lib?


Solution

  • You don't have wget installed. This is easy to fix:

    • Run the original Cygwin installer (download it again if you need to).
    • Hit "Next >" until you get to the window titled "Select Packages"
    • Type "wget" into the Search box
    • Click the [+] sign next to "Web"
    • Click the "Skip" on the "wget: Utility to retrieve…" line until it gives a version number.
    • Keep hitting "Next >" until you're done.

    You should now have wget installed and should be able to continue with your task.