Update using terminal:
-
Run the command prompt/terminal (
cmd
orsh
). -
Update the package list:
mingw-get update
-
After updating the package list, run:
mingw-get upgrade
When the command finishes running, all of your packages will be upgraded.
Update using the GUI version:
If you aren’t used to the terminal, there is also a GUI version of MinGW called “MinGW Installation Manager”, which is normally located at:
C:\MinGW\libexec\mingw-get\guimain.exe
-
When the GUI is open, tap
Installation -> Update Catalogue
. This will update the package list. -
After that, tap
Installation -> Mark All Upgrades
. This will select all of the packages which can be upgraded. -
Finally, tap
Installation -> Apply Changes
to apply the upgrades.