Is there any package management system for MinGW+MSYS?
Asked Answered
C

3

17

I am trying to compile some open source libraries in MinGW+MSYS. During the configure phase, I kept seeing some 3rd party libraries are missing.

For now, my solution is to download the source of the missing libraries and follow the GNU build process to compile and install them into my MinGW environment.

Is there any package management system for MinGW+MSYS to install packages easily? Just like apt-get.

I tried the mingw-get for the missing package. But it reports the error below.

enter image description here

Chelsiechelsy answered 5/5, 2015 at 7:40 Comment(0)
P
12

mingw-get is the (closest equivalent to apt-get) package manager for MinGW and MSYS. However, it can only manage packages which are actually available for MinGW and/or MSYS, (either because a MinGW developer has built and packaged them, or a member of the MinGW user community has contributed them).

Arbitrarily guessing what packages may be available, and even what their correct package names may be, is unlikely to be productive. Run mingw-get in its GUI mode, (if it's properly installed, just running mingw-get without arguments should start it in this mode), to see a list of packages which are actually available; if you don't see any likely candidates for what you are looking for, then it doesn't (yet) exist. In that case, you will need to either find a non-MinGW alternative build, or build it yourself, from source. (If you choose the latter option, and your build is successful, then you may wish to consider contributing it to MinGW.org).

Polyptych answered 5/5, 2015 at 8:47 Comment(2)
Obviously, the switch to MSYS2 is your choice to make; consequently, I can be of no further assistance to you.Polyptych
ditto on MSYS2... thanks for the info here. This is really only an issue for OS<Win10Auroora
N
4

This works for me as a "package manager".

Nationwide answered 3/1, 2020 at 0:50 Comment(1)
Gives an error 404 - Not found. An Archive version of the site was added to the answer.Urien
U
2

Install MSYS2. It comes with a package manager called pacman.

Uncircumcised answered 24/3, 2020 at 2:32 Comment(3)
When you installed either MSYS2 or MinGW on your Windows™ computer, there should have been a startup icon for the terminal or console application. pacman is a default, integral component of MSYS2 or MinGW and should be runnable from this console window.Uncircumcised
Thanks for your Answer! I did install MinGW on Windows, but Username@PCName MINGW64 ~ $ pacman --version gives me bash: pacman: command not found.Urien
@Cadoiz, see github.com/Alexpux/MSYS2-pacman/issues/50 for binary installation instructions.Uncircumcised

© 2022 - 2024 — McMap. All rights reserved.