Difference between revisions of "OS-Windows-POSIX-MSYS2"

From KRayWiki
Jump to navigation Jump to search
(WIP save of a page for MSYS2.)
 
(Add more installation steps.)
Line 58: Line 58:
 
#:: <kbd>C:\msys64</kbd>
 
#:: <kbd>C:\msys64</kbd>
 
#:: <code>[ Next ]</code>
 
#:: <code>[ Next ]</code>
 +
#:; Start Menu shortcuts :
 +
#:: <kbd>MSYS2 64bit</kbd>
 +
#:: <code>[ Next ]</code>
 +
#:; Installing MSYS2 64bit :
 +
#:: ''...''
 +
#:; Completing the MSYS2 64bit Wizard. :
 +
#:: <code>[&#10003;]</code> Run MSYS2 64bit now.
 +
#:: <code>[ Finish ]</code>
 +
# Complete installation in an MSYS2 shell:
 +
#; M ~ :
 +
#:; ''user''@''hostname'' MSYS ~ :
 +
#:: <kbd>pacman -Syu</kbd>
 +
#::: '' Update the package database and core system packages.''
 +
#:: <kbd>pacman -Syu</kbd>
 +
#::: '' Update the package database and core system packages.''
 +
#:: '''Proceed with installation? [Y/n]'''
 +
#::: <kbd>Y</kbd>
 +
#:: '''warning: terminate MSYS2 without returning to shell and check for updates again'''
 +
#:: '''warning: for example close your terminal window instead of calling exit'''
 +
#; M ~ :
 +
#: <code>[X]</code>
 +
#:; mintty :
 +
#:: <code>/!\</code> Processes are running in session:
 +
#::: &nbsp;&nbsp;&nbsp;&nbsp;Close anyway?
 +
#:: <code>[ OK ]</code>
  
 
== Base Update ==
 
== Base Update ==

Revision as of 20:36, 31 January 2018

See Also 
OS-Windows-POSIX
OS-Windows

From the MSYS2 Home Page:

MSYS2 is a software distro and building platform for Windows

At its core is an independent rewrite of MSYS, based on modern Cygwin (POSIX compatibility layer) and MinGW-w64 with the aim of better interoperability with native Windows software. It provides a bash shell, Autotools, revision control systems and the like for building native Windows applications using MinGW-w64 toolchains.

It features a package management system to provide easy installation of packages, Pacman. It brings many powerful features such as dependency resolution and simple complete system upgrades, as well as straight-forward package building.


Features

  • Supports 32-bit and 64-bit Windows environments.
  • Numerous shell-based environments/tools like:
    • BASH
    • Perl
    • Python
  • Has Windows-native version control tools like:
    • Bazaar
    • CVS
    • Git
  • Contains package management tools:
    • pacman

Packages

Packages of local interest:

  • cvs

Installation

Base Install

Installation restrictions:

  • MSYS2 no longer supports Windows XP.
  • MSYS2 does not install on FAT* partitions.

To perform a base installation:

  1. Download the "x86_64" installer for 64-bit Windows systems.
    The "i686" installer is optimal only for 32-bit Windows systems.
  2. Run the selected downloaded msys2-x86_64-CCYYMMDD.exe installer (i.e. msys2-x86_64-20161025.exe)
  3. Interact with the installer:
  4. MSYS2 64bit Setup 
    Welcome to the MSYS2 64bit Setup Wizard 
    [ Next ]
    Installation Folder 
    C:\msys64
    [ Next ]
    Start Menu shortcuts 
    MSYS2 64bit
    [ Next ]
    Installing MSYS2 64bit 
    ...
    Completing the MSYS2 64bit Wizard. 
    [✓] Run MSYS2 64bit now.
    [ Finish ]
  5. Complete installation in an MSYS2 shell:
    M ~ 
    user@hostname MSYS ~ 
    pacman -Syu
    Update the package database and core system packages.
    pacman -Syu
    Update the package database and core system packages.
    Proceed with installation? [Y/n]
    Y
    warning: terminate MSYS2 without returning to shell and check for updates again
    warning: for example close your terminal window instead of calling exit
    M ~ 
    [X]
    mintty 
    /!\ Processes are running in session:
        Close anyway?
    [ OK ]

Base Update