Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [msys]

Set of GNU utilities packaged for Windows. Questions about msysgit should use [msysgit] instead.

1
vote
1answer
12 views

Poor SCP performance under windows

I'm seeing some performance issues with SCP under windows, in short, I'm maxing out at 61 MB/sec on a 1Gbps Ethernet connection. Now, Windows itself have detected the connection as 1Gbps, and I've ...
0
votes
0answers
17 views

Install GMP library on Windows with MSYS2

I'm on Windows and I have MSYS2 installed. I also need the GMP library. I searched and found the gmp-6.1.2 folder within msys64/. The folder contains only 4 files - desc, files, install, mtree. So ...
0
votes
0answers
128 views

Msys2 create symbolic link with no admin privileges

I mean to create symbolic links in Msys2 (currently using the version from PortableApps). I only get files copied, no symlinks. What I tried: Uncommenting line MSYS=winsymlinks:nativestrict in all ...
0
votes
0answers
57 views

ConEmu: How to call msys2 Portable as tab?

I mean to have several tabbed Msys2 terminals, all portable. Is there a shell that has tabs that you can use with mingw? suggests console2, but I could not find a portable version (if there is a ...
0
votes
0answers
85 views

Avoid adding unnecessay Windows %PATH% to Git Bash

Unlike Windows & Git Bash: Bash PATH to read Windows %PATH% system variable, I am trying to avoid Git Bash from adding many entries from windows %PATH%. The reason is my Windows %PATH% has many ...
0
votes
1answer
93 views

How to make MSYS2 pacman believe I installed a package?

I am using MinGW-w64 and MSYS2 on Windows 10. Suppose that there are two libraries A and B. B depends on A, but it also depends on a lot of other things. The official version of library A has a few ...
2
votes
3answers
847 views

How to make MSYS (MSYS2) portable

On Windows, I have a C:\msys32 folder (containing what I believe to be a MSYS2 install) created for/by an ESP32 development environment (located in ~/esp). The MSYS home folder includes my Windows ...
1
vote
0answers
153 views

How to Build gtk3 [static] using msys2?

I am trying to build gtk+-3.22.30, because i cant find it [static link library] anywhere. i downloaded msys2 32bit, install mingw32 (gcc 7.3.0) added it to environment variables in windows. pkg-config ...
1
vote
1answer
55 views

Is there any implementation of xdg-utils on MSYS2 or Cygwin?

Recently I have a project which need to to use tools in xdg-utils. However in order to make it compatible with windows, is there any implementation of this project on Windows? If there is not, is ...
0
votes
0answers
16 views

MSYS: syncing local time with NTP

I have a Win10/MSYS2 installation on a VM. The VM is mostly "suspended" (paused via the hypervisor). So when the VM is unpaused it has the wrong time (from before the pause). The idea is to run a ...
0
votes
0answers
312 views

How get pdfgrep on Windows?

I need to be able to invoke pdfgrep from the Unix shell msys2 (x86_64), but it doesn't seem to be available: $ pacman -Ss grep | tail -n 4 | head -2 pacman -Ss grep | tail -n 4 | head -2 msys/grep 2....
0
votes
0answers
137 views

Conemu Msys2-64 task doesn't have the right PATH

On ConEmu 161206 [64] {Stable} there is a task called {Bash:Msys2-64} whose content is: set CHERE_INVOKING=1 & C:\msys64\usr\bin\bash.exe --login -i -new_console:C:"C:\msys64\msys2.ico" If I ...
0
votes
1answer
288 views

msys2 `which` is very slow on windows 10

The which command was never particularly fast, but since I switched to Windows 10, it is extremely slow. I have a generic .zshrc that I carry around, so it tests to see if some programs are available ...
1
vote
3answers
3k views

Install GCC in Git for Windows bash environment

I have Git for Windows installed on a Windows 7 machine (no, sadly I can't switch to W10 on this particular machine). This comes with a bash environment that uses MinGW-64 but only includes some ...
2
votes
0answers
301 views

ConEmu + msys2 zsh

On ConEmu page concerning the cygwin/msys terminal connector there are examples related to conemu-cyg-64.exe. I readapted them to conemu-msys2-64 in ConEmu 171109 as follows (line breaks are for ...
0
votes
1answer
82 views

How do I use `ts` (timestamp) command in msys2/mingw

I have some problem with zsh, I need ts to log the execution time . zsh -xv 2>&1 | ts -i "%.s" > zsh_startup.log But zsh: command not found: ts pacman -Ss ts got a lot of unrelevernt ...
0
votes
0answers
66 views

MSYS2 can't find targeted directories

I am building FFMPEG on windows. I installed MSYS2 and all the rest of the tools and libs I need for that task. As long as I don't need to configure external libraries,like h264, all is good. But in ...
1
vote
2answers
332 views

Install haskell in existing msys2

Is there any simple way to install haskell / cabal / stack in an existing msys2 installation? I can't find one. Note: Apparently it is possible to install both at the same time using MinGHC, see here....
1
vote
1answer
207 views

Device names in MSYS2 dd

Which is the equivalent of: dd if=/dev/sda ... dd if=/dev/sda1 ... for dd.exe in MSYS2 in coreutils Does Chrysocome syntax apply?
3
votes
0answers
232 views

Why does enabling Hyper-V accelerate MSYS2's process launching?

When I run this loop in MSYS2's Bash shell function test() { bcdedit | grep hypervisorlaunchtype printf "Press ENTER to begin..." 1>&2 read # warm-up for ((i=0; i<"$1"; ...
2
votes
0answers
215 views

Can't get msys2 to open windows home directory on startup

See this Github issue. Basically, I am trying to launch the msys2 shell and have the startup folder (and $HOME) refer to my Windows user home directory. Things I've tried: I tried changing the /etc/...
0
votes
1answer
431 views

How to use msys2 git and ssh executables for Pycharm git integration

I am using Pycharm 2017.1 for Python development on my Windows 7 computer. Naturally, I use the git integration plugin for maintaining a git repo of my project. I am having issues using the git ...
0
votes
1answer
484 views

How to remove pip from python in msys2 enviroment?

I installed pip on msys2 (portabledevops) with python get-pip.py but I get this error $ pip search youtube_dl Traceback (most recent call last): File "/usr/bin/pip", line 7, in <module> ...
1
vote
1answer
323 views

msys path error due to space in the directory name

I launched the msys console and checked the path environment variable. I got the following: $ $PATH sh: /c/Users/wud/AppData/Local/Continuum/Miniconda3/Library/mingw-w64/bin/:.:/us r/local/bin:/mingw/...
3
votes
1answer
2k views

How can I change my MinGW/MSYS + mintty home directory?

I use mintty as my console emulator for MinGW/MSYS. Recently (I'm not certain exactly when), the home directory used by this combination changed from my Windows user folder (/c/Users/<me>/) to /...
1
vote
1answer
381 views

Reading environment variable in command alias causes evaluating it?

I have simple alias for writing to log files (this is what I have in my .profile file): logtee() { ${TEST_LOG_FOLDER:?"empty_log_folder"} tee -a $TEST_LOG_FOLDER/$1 } I'm reading the folder ...
1
vote
0answers
525 views

how to install sudo on msys shell

I work with msys shell on windows 8.1 but when I use "sudo" I get this error bash: sudo: command not found and my $PATH is : /usr/local/bin:/usr/bin:/bin:/opt/bin:/c/ProgramData/Oracle/Java/...
0
votes
1answer
377 views

msys2 create a sym link into windows folder location

I have just started to use msys2. I wanted to make a sym link to a folder on my d:. I can access it like this: cd /d/mytestfolder/ I tried: When I do ln -s /d/mytestfolder/ testfolder - this seems ...
1
vote
1answer
1k views

MSYS2 permissions

In Windows 10, with MSYS2 I set my fstab to: none / cygdrive binary,posix=0,acl,user 0 0 I am unable to set execute permissions with chmod, despite having acl set in the fstab: # echo > foo # ...
2
votes
1answer
532 views

pandoc - markdown to man page tables not formatted (on msys2)

I am trying to use pandoc (if someone has a better conversion program I am all ears, please not ruby-dependent) to convert markdown files into manpages. It works fine until I go to do a doc with a ...
1
vote
0answers
463 views

Source windows environment variables in MSYS

I have a setenv.cmd script which contains paths for the windows cmd prompt: set CURRENT_SCRIPT_DIR=%~dp0 set PATH=%PATH%;%CURRENT_SCRIPT_DIR%\bin But I'm using bash (via msys in the git for windows ...
6
votes
1answer
3k views

“git mv *” returns “bad source” in Powershell

When inside a git repository in Powershell or CMD, issuing git mv * whatever will return fatal: bad source, source=*, destination=whatever This works fine when using MSYS (Git Bash).
0
votes
0answers
411 views

How can I set up a linux-like ssh server on Windows 7?

I have tried two things so far: (1) I installed openssh directly following the steps in this guide https://winscp.net/eng/docs/guide_windows_openssh_server. While this was easy, and worked in the ...
5
votes
1answer
3k views

How do I open the current directory in mingw's msys in file explorer?

Assume I'm in: $ pwd /home/foo Now I want to open up this /home/foo in Windows 10's file explorer. How do I do this?
0
votes
0answers
190 views

How to correctly pin MSYS to task bar in Windows 8?

I use MSYS/MinGW a lot on Windows 8.1 and wanted to create a shortcut on the taskbar at the bottom. What I did is to lauch MSYS, and once it appears on the task bar, choose "pin this program to task ...
2
votes
0answers
241 views

Windows gVim, shell starts in HOME instead of working directory

I've recently have gotten sick of constantly switching between Windows and Linux and installed gVim and MSYS2 on Windows 7. After a couple hours of searching I have a .vimrc that makes !command, make, ...
9
votes
2answers
9k views

Is the option “Use Git and optional Unix tools from the Windows Command Prompt” dangerous?

When installing Git, it offers the option to add all of its msys *nix tools into your PATH, however it warns: Warning: This will override Windows tools like "find" and "sort". Only use this option ...
10
votes
6answers
10k views

Change default shell on MSYS2

I want to change MSYS2's default shell from bash to zsh. I've tried chsh - not available in MSYS2. Editing /etc/passwd does nothing. It seems to be ignored. I took a look at the batch scripts in ...
0
votes
0answers
615 views

Install msys2 so c:/ is /

I'm trying to switch from cygwin to msys2. I use cygwin extensively for the Unix tools, not so much for building software but just as my command-line environment to make Windows more Linux-like - I ...
7
votes
1answer
4k views

How can I use mintty as the terminal emulator for MinGW/MSYS?

The default "terminal emulator" in Windows leaves a lot to be desired. I see mintty recommended as a lightweight alternative with specific support for MinGW/MSYS, but not much information on how to ...
1
vote
1answer
539 views

Escaping asterisk * in Bash on Windows

The following command works in GNU Bash on FreeBSD but not in Git Bash on Windows: curl -X PUT https://example.com/_config/cors/origins -d '"*"' The intended result is to send a PUT request to https:...
0
votes
1answer
58 views

installing swig i had to untar something using msys, but it doesn't work

i installed MinGW and MSYS required to install swig. using msys terminal it asked me to download pcre-8.36.tar.bz2 form pcre site, and asked me to: "Build PCRE as a static library using the Tools/pcre-...
2
votes
1answer
1k views

tmux on Windows (msys2) and non-admin fails

Whe trying to run tmux as a non-admin I'm greeted with failed to connect to server: Permission denied It works fine when running msys-bash-mintty as administrator though. Where should I start ...
5
votes
3answers
7k views

MSYS2 home folder: show ~

I've just installed MSYS2, and to have it use my Windows user folder as $HOME, I put this in /etc/bash.bashrc: HOME=$USERPROFILE And that works fine when I just run cd, except the prompt doesn't ...
4
votes
2answers
3k views

Add “Open MSYS terminal here” in the Windows right click context menu?

In Windows file explorer,if I hold shift + right-click on a folder (in a folder too) I can choose to Open command window here. I'd really like to add an Open MSYS terminal window here to the popup ...
1
vote
0answers
215 views

Why do MinGW and MSYS have separate versions of gcc?

This is my understanding of the relationship between MinGW and MSYS. When installing MinGW and its gcc toolchain, installing MSYS is optional. With MSYS installed, you get bash and a few other tools ...
0
votes
1answer
528 views

Print Windows mapping of root path in MSYS Bash

In MSYS Bash I get: $ cd ~ $ pwd /c/Users/antonio but: $ cd / $ pwd / Can I get the full Windows absolute path from Bash?
0
votes
1answer
211 views

Running hstart from MSYS

I'm trying to automate some things on my computer. And here's what I ran into. I'm running this command from MSYS prompt: hstart /elevate "cmd /k netstat -anb" First a message box with title "Failed ...
1
vote
1answer
497 views

Modifying msys privileges on windows 7

How do I run a cmd.exe command in msys as a superuser? I am the only user on my laptop and have full administrative privileges once I login. I assumed I did when I fired up an msys shell, but running:...
2
votes
4answers
5k views

MinGW MSYS ssh error: Could not create directory '/home/<username>/.ssh'

I have just installed a fresh MinGW installation on Windows 7 64bit using the Graphical User Interface Installer (the recommended approach) following the instructions given here and keeping the ...