# Issue about installing GMT6.4.0 on Cygwin

**URL:** <https://forum.generic-mapping-tools.org/t/issue-about-installing-gmt6-4-0-on-cygwin/3924>\
**Category:** Q&A\
**Created:** [May 11, 2023, 3:33am UTC](https://forum.generic-mapping-tools.org/t/issue-about-installing-gmt6-4-0-on-cygwin/3924 "2023-05-11T03:33:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![a3357king](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@a3357king](https://forum.generic-mapping-tools.org/u/a3357king)\
**Post date:** [May 11, 2023, 3:33am UTC](https://forum.generic-mapping-tools.org/t/issue-about-installing-gmt6-4-0-on-cygwin/3924/1 "2023-05-11T03:33:29Z")

</div>

I tried to build GMT-6.4.0 on Cygwin several times, but it can’t work. Seems like leak some files in it.

I used to build GMT-4.5.18 on Cygwin and succeeded, but this two versions are so different.

When I Install version 4.5.18, I use the way ~/.configure、make、make install.  
In version 6.4.0 it became cmake, but it doesn’t matter, I still built and installed it successfully, but it can’t work.

 ![build](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/a/a0ca07b1c9d15d6eddd0baa8cc9747ff1e4ea8bf.png)

 ![install](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/7/794bf2ea79a642d2b20c5d06befddc973b732360.png)

I find that, when I install it, the “examples” are good installed, but other commands are missing, like the basic “psxy”.(Pictures below shows the bin folder of 6.4.0 and 4.5.18)

I don’t know, If there is any steps go wrong？

 ![4.5.18](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/9/9f76c201ee507089a383819dad0fb10cc02f306a.png)

 ![6.4.0](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/2/27ed02c0f97f2e8699146cb5b16c3423c6a2a6ef.png)

I’m not a native English speaker, thanks for your patience in read my question.

Any help or hints would be greatly appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![seisman](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/seisman/32/4_2.png) [@seisman](https://forum.generic-mapping-tools.org/u/seisman)\
**Post date:** [May 11, 2023, 5:06am UTC](https://forum.generic-mapping-tools.org/t/issue-about-installing-gmt6-4-0-on-cygwin/3924/2 "2023-05-11T05:06:20Z")

</div>

Everything looks good. In GMT 6, the only executable is “gmt”. If you want to run the old-style “psxy” command, you should use “gmt psxy” (in classic mode) or “gmt plot” (in modern mode) instead.

You may want to read the GMT5 ([https://agupubs.onlinelibrary.wiley.com/doi/abs/10.1002/2013EO450001](https://agupubs.onlinelibrary.wiley.com/doi/abs/10.1002/2013EO450001)) and GMT6 papers ([https://agupubs.onlinelibrary.wiley.com/doi/10.1029/2019GC008515](https://agupubs.onlinelibrary.wiley.com/doi/10.1029/2019GC008515)) to understand the changes.

---

<div class="post-metadata">

**Author:** ![tianyf](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/tianyf/32/3003_2.png) [@tianyf](https://forum.generic-mapping-tools.org/u/tianyf)\
**Post date:** [May 11, 2023, 6:01am UTC](https://forum.generic-mapping-tools.org/t/issue-about-installing-gmt6-4-0-on-cygwin/3924/3 "2023-05-11T06:01:18Z")

</div>

In cmake/ConfigUser.cmake, uncomment the following line  
set (GMT\_INSTALL\_MODULE\_LINKS TRUE)

---

<div class="post-metadata">

**Author:** ![Andreas](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@Andreas](https://forum.generic-mapping-tools.org/u/Andreas)\
**Post date:** [May 11, 2023, 6:51am UTC](https://forum.generic-mapping-tools.org/t/issue-about-installing-gmt6-4-0-on-cygwin/3924/4 "2023-05-11T06:51:00Z")

</div>

It’s a very long time since I used cygwin (c. 10 years). But back then, it was really slow and annoying to use. You could try WSL2. I bet you will get better performance. Assuming you’re using a ‘newer’ versions of Windows.

---

<div class="post-metadata">

**Author:** ![a3357king](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@a3357king](https://forum.generic-mapping-tools.org/u/a3357king)\
**Post date:** [May 11, 2023, 7:26am UTC](https://forum.generic-mapping-tools.org/t/issue-about-installing-gmt6-4-0-on-cygwin/3924/6 "2023-05-11T07:26:19Z")

</div>

thanks for you all’s suggestion. I’ll take it a try.

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [May 11, 2023, 8:19am UTC](https://forum.generic-mapping-tools.org/t/issue-about-installing-gmt6-4-0-on-cygwin/3924/7 "2023-05-11T08:19:32Z")

</div>

Note that GMT6 can run GMT 4 syntax scripts as long as you either build the MODULE\_LINKS or you read the section called “Migrating from an Earlier Version” on the documentation page sidebar.
