Is there any package management system for MinGW+MSYS?
Solution 1
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).
Solution 2
This works for me as a "package manager".
Solution 3
Install MSYS2. It comes with a package manager called pacman
.
Related videos on Youtube
smwikipedia
"A good question is half the answer." --- Anonymous "All problems in computer science can be solved by another level of indirection, except of course for the problem of too many levels of indirection." --- David Wheeler "If I were given one hour to save the planet, I would spend 59 minutes defining the problem and one minute resolving it." --- Albert Einstein
Updated on September 16, 2022Comments
-
smwikipedia over 1 year
I am trying to compile some open source libraries in
MinGW
+MSYS
. During theconfigure
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 likeapt-get
.I tried the
mingw-get
for the missing package. But it reports the error below. -
Keith Marshall almost 9 yearsObviously, the switch to MSYS2 is your choice to make; consequently, I can be of no further assistance to you.
-
qodeninja over 5 yearsditto on MSYS2... thanks for the info here. This is really only an issue for OS<Win10
-
Cadoiz over 2 yearsGives an error
404 - Not found
. An Archive version of the site was added to the answer. -
ergohack over 2 yearsWhen 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. -
Cadoiz over 2 yearsThanks for your Answer! I did install
MinGW
on Windows, butUsername@PCName MINGW64 ~ $ pacman --version
gives mebash: pacman: command not found
. -
ergohack over 2 years@Cadoiz, see github.com/Alexpux/MSYS2-pacman/issues/50 for binary installation instructions.