Search code examples
msys2pacman-package-manager

Installing cminpack package in Msys2


I have Portable Msys2. I mean to install cminpack. As I understand, https://aur.archlinux.org/packages/mingw-w64-cminpack/ means such package is available. I expected then that the package shows up in the list of available packages, but

$ pacman -Ss minpack

gave no results.

Did I infer correctly that the package should show up as available in this list?

I also tried

$ pacman -Qs minpack

which gave no results. (As I understand, any package listed in pacman -Qs should also be listed in pacman -Ss, so it was useless at this point).

Having concluded that a package being listed in this search list possibly does not imply it is available for msys2, I checked

$ pacman -Ss <pkg>

for a few other packages in that list. Some effectively gave no results.

Thus the question

How can I be certain if a package is available for msys2?

(If and when I am sure about that, I guess pacman -S <pkg> would install it).

See also this.


Solution

  • I think you got mixed between msys2 pacman and arch linux pacman. What you have linked is an AUR repository for arch linux, not MSYS2. The utility used pacman is taken over from arch linux, but that is all.

    To search package for a packages within your repositories you really can use pacman -Ss <package_name>. If you can't find your package that means that within the installed repositories there is no such package.

    If you can't find it you can always check the web: search within msys2 packages. If that is not enough you can do that search within all generated package MSYS2 history: packages at msys2 repositories.

    I have check the repositories for your mingw-w64-cminpack package and that is not available for msys2. You would have to cross-compile it yourself.