'bash' with Windows 10 (WSL)
Reminder on how to get bash under a french Windows 10.
Pour les paramètres du développeur,
- confirm Activer le mode développeur ? (click on
Activer ou désactiver des fonctionnalités Windows,
Sous-système Windows pour Linux (bêta),
- search and launch
- follow instructions.
aptitude is installed (it seems no more to be the case with the last version of Windows, so you have to install it with
apt-get), so you can use it as installation tool (launch with
The root installation directory of this (GNU/)Linux is at :
To manage this application, use the
lxrun command (as Administrator). See below for an example.
Under a DOS as Administrator :
lxrun /uninstall /fullto delete the application and the home directory,
lxrun /installto install the application, or click the shortcut to bash if it remains from a previous installation.
It is possible to launch under this bash native Windows commands, and, by default, the default path have some entries which point to Windows system. This can lead to some problem (for example, npm doesn't work properly).
To avoid that the path points to Windows system, set or add following key to the Window registry :
You have to reopen bash console in order for this to work.
Mounting removable drives
Removable drives (or TrueCrypt drives) are not mounted by default.
To mount such a drive:
sudo mount -t drvfs <drive>: <mountpoint>