I have installed Cygwin Terminal in OS Windows. But I need to install also python and make in cygwin.All of these programs are needed to run petsc library. Does Someone know how to install these components in cygwin?
When you get to the screen that lets you select packages to install, find make and select it (it's probably under "Development" or something similar). Then you'll be able to run make from the Cygwin bash command line. It is in the package make: The GNU version of the 'make' utility .
cyg-apt: downloading: http://cygwin.mirrors.pair.com/setup-2.bz2 cyg-apt: downloading: http://cygwin.mirrors.pair.com/setup-2.ini cyg-apt: bad URL http://cygwin.mirrors.pair.com/setup-2.ini, exiting. The file is available in the source repository.
There is no package management in Cygwin outside of the setup program. The setup only applies updates to your current installation, it does not overwrite packages than what you already have. So if you want new packages just rerun the setup program to install packages. Save this answer.
To install Python 2: run https://cygwin.com/setup-x86.exe or https://cygwin.com/setup-x86_64.exe and select:
Look into cygwin native package manager, devel
category. You should find make
and python
there.
After running into this problem myself, I was overlooking all of the relevant answers saying to check the setup.exe
again. This was the solution to me, there are a few specific things to check.
setup.exe
. Don't be afraid, as new package installs append to your installation and do not over writesetup.exe
, make sure you run the install from the Internet and NOT your local folder. This was where I was running into problems. Search "make" and make sure you select to Install it, do not leave this as "Default".If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With