MSYS2: Difference between revisions
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Msys2 is a collection of linux utilities which have been compiled for Windows.<br> | |||
It is a fork of Cygwin. | |||
==Getting Started== | ==Getting Started== | ||
| Line 20: | Line 21: | ||
==Changing Home Dir== | ==Changing Home Dir== | ||
Set the following: | Set the following: | ||
* <code>db_home<code> in <code>/etc/nsswitch.conf</code> | * <code>db_home</code> in <code>/etc/nsswitch.conf</code> | ||
: | *:<pre>db_home: /c/Users/david</pre> | ||
<pre> | * <code>HOME</code> environment variable to <code>%USERPROFILE%</code> | ||
db_home: /c/Users/david | |||
</pre> | ==Running Windows Programs== | ||
* <code>HOME</code> environment variable | * Go to <code>/c/msys64/msys2_shell.cmd</code> | ||
* Uncomment <code>set MSYS2_PATH_TYPE=inherit</code> | |||