Skip to content

Latest commit

 

History

History
84 lines (60 loc) · 3.44 KB

WINDOWS.md

File metadata and controls

84 lines (60 loc) · 3.44 KB

Windows Runtime Environments

Cygwin

Homepage:
https://www.cygwin.com/

Package management:
Package management is only possible via the GUI (i.e. the Cygwin setup).
There is no package manager present within the Cygwin environment itself.

Required packages:
bash, gawk, grep, sed, unzip, curl, wget, gzip, bzip2, xz, zip

MSYS2

Homepage:
https://www.msys2.org/

Package management (using pacman):

Function Command
Update package information pacman -Sy
Search packages pacman -Ss <keyword>
Install packages pacman -S <package>
Remove packages pacman -Rs <package>
Upgrade all packages pacman -Syu

Install required packages:
pacman -S --needed bash gawk grep sed unzip curl wget gzip bzip2 xz zip

Git for Windows

Homepage:
https://gitforwindows.org/

Downloads:
https://git-scm.com/download/win

Package management:
Git for Windows does not feature a package management system.
However, all required dependencies are already met out of the box.

Ubuntu for WSL on Windows 10/11

Homepage:
https://ubuntu.com/wsl

Quick setup:
Open PowerShell or Windows Command Prompt and enter this command: wsl --install
Once installation is complete, reboot, then open Start, find Ubuntu and run/open it.

Advanced setup:
Refer to Microsoft Learn articles Install Linux on Windows with WSL and/or Manual installation steps for older versions of WSL for detailed instructions.

Package management (using apt):

Function Command
Update package information sudo apt update
Search packages apt search <keyword>
Install packages sudo apt install <package>
Remove packages sudo apt remove <package>
Upgrade all packages sudo apt upgrade
sudo apt full-upgrade

Package management (using apt-get):

Function Command
Update package information sudo apt-get update
Search packages apt-cache search <keyword>
Install packages sudo apt-get install <package>
Remove packages sudo apt-get remove <package>
Upgrade all packages sudo apt-get upgrade
sudo apt-get dist-upgrade

Install required packages:
sudo apt install bash gawk grep sed unzip curl wget gzip bzip2 xz-utils zip
-or-
sudo apt-get install bash gawk grep sed unzip curl wget gzip bzip2 xz-utils zip

Last updated: 08/25/23