Package Naming
Overview
The following table lists the packages according to their environment, see'Environments' for general information on these.When installing packages, see'Package Management', you'll commonly use the full name including the package prefix as outlined below.
| Name [^1] | Package prefix [^2] | |
|---|---|---|
![]() | MSYS | None |
![]() | MINGW64 | mingw-w64-x86_64 |
![]() | UCRT64 | mingw-w64-ucrt-x86_64 |
![]() | CLANG64 | mingw-w64-clang-x86_64 |
![]() | MINGW32 | mingw-w64-i686 |
![]() | CLANG32 | mingw-w64-clang-i686 |
![]() | CLANGARM64 | mingw-w64-clang-aarch64 |
[^1]: environment variableMSYSTEM [^2]: environment variableMINGW_PACKAGE_PREFIX
Avoiding writing long package names
Usepacboy to installmingw packages without having to type the long package names (installpacboy first usingpacman -S pactoys if necessary). Examples:
pacboy installs the listed packages for one or more environments. Theselection of environments for each package is controlled by appendingsuffixes on the package name.
In particular, adding the:p suffix installs the package for the currentenvironment only.
If no suffix is given, the selection of environments depends on whatenvironment you're currently in - e.g. in amingw64 environment, itcurrently defaults to installing the package for bothmingw32 andmingw64.
See the output ofpacboy help for the list of suffixes:
$ pacboy help Pacboy 2016.6.24 Copyright (C) 2015, 2016 Renato Silva Licensed under BSD This is a pacman wrapper for MSYS2 which handles the package prefixes automatically, and provides human-friendly commands for common tasks. Usage: pacboy [command] [arguments] Arguments will be passed to pacman after translation: For 64-bit MSYS2 shell: name:i means i686-only name:x means x86_64-only name:z means clang-i686-only name:c means clang-x86_64-only name:u means ucrt-x86_64-only name:a means clang-aarch64-only name:p means MINGW_PACKAGE_PREFIX-only For MSYS shell: name:m means mingw-w64 name:l means mingw-w64-clang For all shells: name: disables any translation for name repository::name means repository/nameHere are examples of using the:x,:i and:m suffixes for installingpackages for themingw64,mingw32 and both environments:
$ pacboy -S x265:xresolving dependencies...looking for conflicting packages...Packages (1) mingw-w64-x86_64-x265-2.3-1Total Download Size: 0.97 MiBTotal Installed Size: 20.72 MiB:: Proceed with installation? [Y/n]$ pacboy -S x265:iresolving dependencies...looking for conflicting packages...Packages (1) mingw-w64-i686-x265-2.3-1Total Download Size: 0.97 MiBTotal Installed Size: 11.37 MiB:: Proceed with installation? [Y/n]$ pacboy -S x265:mresolving dependencies...looking for conflicting packages...Packages (2) mingw-w64-i686-x265-2.3-1 mingw-w64-x86_64-x265-2.3-1Total Download Size: 0.97 MiBTotal Installed Size: 32.09 MiB:: Proceed with installation? [Y/n]





